What tried and true algorithms for suggesting related articles are out there?

前端 未结 5 2118
遇见更好的自我
遇见更好的自我 2020-12-07 10:28

Pretty common situation, I\'d wager. You have a blog or news site and you have plenty of articles or blags or whatever you call them, and you want to, at the bottom of each,

5条回答
  •  执念已碎
    2020-12-07 11:13

    Some time ago I implemented something similiar. Maybe this idea is now outdated, but I hope it can help.

    I ran a ASP 3.0 website for programming common tasks and started from this principle: user have a doubt and will stay on website as long he/she can find interesting content on that subject.

    When an user arrived, I started an ASP 3.0 Session object and recorded all user navigation, just like a linked list. At Session.OnEnd event, I take first link, look for next link and incremented a counter column like:

    So, to check related articles I just had to list top n NextPage entities, ordered by counter column descending.

提交回复
热议问题