Related Articles

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Related Articles

Post by John Cartwright »

Has anyone had any experience on creating a "related to" feature on their site?

I'm wanting to create a feature when viewing any article, the script will find the "most similar" articles out there. It doesn't generally have to be very smart.. but not dumb.

I hadn't a clue where to start. I would also like to add the fact that I don't have categories or anything like that, and the articles arn't going to be more than a page.. so speed shouldn't be an issue.

Thanks
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Each article had a keywords list when I pulled the article, I'd do a quick search against the keywords that article had, sorted by relevance (hit rating) and chopped it at 3 or something..
Post Reply