November Happy Hour will be moved to Thursday December 5th.

Suggest related blogs for a CMS site

Vote:
 

Hi,

I am creating a CMS blogs website, I want to suggest links of 3 related blogs within the actual blog.

Exampe: When the user clicks on Blog B1, the blog page opens up with it's content and below the blog there are suggestions of 3 links of other related blogs for the user. It is very similar to products suggestions in Commerce. But this being a pure CMS site, I am not able to know where to start. Any idea or add ons I could use?

#189768
Mar 23, 2018 18:40
Vote:
 

That's exactly what the new Advance (Episerver product) will do. Not sure if they have documentation on it yet though. 

#189772
Mar 23, 2018 19:54
Vote:
 

If you dont have Advance yet, you may have to take the manual approach. You can use categories and ask content editors to tag all blogs and then use the API to surface similar blogs ordered by date. The other option is to add a IList<ContentReference> property to each blog and ask content authors to manually assign some related blogs for each blog. 

#189777
Mar 23, 2018 20:39
Vote:
 

@Aniket, thanks again for reaching out. I am acutally tagging the blogs already, by default I am filtering the articles based on the category and then ordering them by date. Was looking for any other way to approach the suggestions piece as getting the latest would be redundant in my case.

#189778
Mar 23, 2018 20:47
Vote:
 

The other option you can try is More/Like search functionality. You can pass it the blog content to retrieve similar blogs. Something like this:

var firstBlogPost = //Some indexed blog post about guitars
var secondBlogPost = //Another blog post about guitars

searchResult = client.Search<BlogPost>()
    .MoreLike(firstBlogPost.Content)
    .Filter(x => !x.Id.Match(firstBlogPost.Id))
    .GetResult();

More information here:

https://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-Find/11/DotNET-Client-API/Searching/More-LikeRelated/

#189779
Mar 23, 2018 20:58
Vote:
 

Thanks Aniket, this approach should be good for me.

#189780
Mar 23, 2018 21:08
Vote:
 

If you have Find then MoreLike is a great option yes. Using categories is also a great option for the simple cases.

For the future the Advance functionality that is based on machine learning will be really cool way to pick related content that matches the current user.

#189802
Mar 24, 2018 14:48
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.