just have a general requirement. Each page has meta data fields - a title and description. Would like to have a short list of 3 links that are generated based on the metadata content comparison of other pages.
Basically, pages that seem to be related based on their metadata field content, which is manually inputted by the way,
I would do create a custom content search with Examine and pass in the title and description as the search parameter . Alternatively you could traverse if your looking for exact match (never trust content editors if they are required to do the work for this) however the issue there is if your only taking the first 3 they might not be the 3 best pages you want to relate.
The good thing about examine search is they don't have to be an exact match and it will find you best match depending on the tolerance you set.
Is there a way to build related links?
Hi,
in Umbraco there is a related links data type but this just looks like a manually created way to add links.
How can a list of related links be automatically built based on say certain field on a page?
Thanks!
Hi Damon,
Could you explain a bit more about what you are trying to achieve?
Relations might be worth considering depending on what you are trying to achieve it might need to be added to examine. https://our.umbraco.org/documentation/Reference/Querying/uQuery/Relations
Hi John,
just have a general requirement. Each page has meta data fields - a title and description. Would like to have a short list of 3 links that are generated based on the metadata content comparison of other pages.
Basically, pages that seem to be related based on their metadata field content, which is manually inputted by the way,
Thanks,
I would do create a custom content search with Examine and pass in the title and description as the search parameter . Alternatively you could traverse if your looking for exact match (never trust content editors if they are required to do the work for this) however the issue there is if your only taking the first 3 they might not be the 3 best pages you want to relate.
The good thing about examine search is they don't have to be an exact match and it will find you best match depending on the tolerance you set.
More info here https://our.umbraco.org/documentation/reference/Searching/Examine/
Hi John,
that sounds like a really good idea. I will look into this and implement it,
Thanks!
Hi Damon,
You could also look into this project which seems to do what you're wanting: https://our.umbraco.org/projects/backoffice-extensions/similarity
-Amir
is working on a reply...