Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damon 217 posts 288 karma points
    Aug 04, 2015 @ 10:26
    Damon
    0

    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!

  • John Churchley 272 posts 1258 karma points c-trib
    Aug 04, 2015 @ 10:30
    John Churchley
    0

    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

  • Damon 217 posts 288 karma points
    Aug 04, 2015 @ 10:34
    Damon
    0

    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,

  • John Churchley 272 posts 1258 karma points c-trib
    Aug 04, 2015 @ 10:41
    John Churchley
    1

    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/

  • Damon 217 posts 288 karma points
    Aug 04, 2015 @ 10:46
    Damon
    0

    Hi John,

    that sounds like a really good idea. I will look into this and implement it,

    Thanks!

  • Amir Khan 1282 posts 2739 karma points
    Aug 04, 2015 @ 10:52
    Amir Khan
    1

    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

Please Sign in or register to post replies

Write your reply to:

Draft