Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post: Related posts are kinda weird with two tags #416

Open
wei2912 opened this issue Nov 23, 2024 · 1 comment
Open

Post: Related posts are kinda weird with two tags #416

wei2912 opened this issue Nov 23, 2024 · 1 comment

Comments

@wei2912
Copy link
Member

wei2912 commented Nov 23, 2024

See https://beta.advisory.sg/2024/02/13/insights-on-foodpanda/ which has tags "Food Services" and #insights, and related posts:

image

By the related posts code (as explained in https://forum.ghost.org/t/show-related-posts-from-all-associated-tags/14005), the related posts should be the top three best matches based on highest number of matched tags (supposedly). Idk how this works, cos it doesn't show the only other article in "Food Services":

image

...but https://beta.advisory.sg/2021/02/22/insights-on-food-security/ which has the same tags (+ "Food Manufacturing" as primary) shows it as intended:

image

A few better solutions are listed in https://www.spectralwebservices.com/blog/a-better-related-block/. The JS solution should be suitable for our usecases, since related posts isn't crucial for non-JS users (e.g. parsers).

Copy link

linear bot commented Nov 23, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant