470,870 Members | 1,396 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 developers. It's quick & easy.

find related articles.. how to ?

hello all,

I was wondering how some sites organise articles so that they can show a
list of "related articles".
How is it determined which are the related ones.

Is there any free script that includes such a feature?
thanks!
Steven De Groote

--
Webmaster of:
http://www.f1technical.net/
http://formule1.go2.be/
Jul 16 '05 #1
1 1871
Tomba wrote:
I was wondering how some sites organise articles so that they can show a
list of "related articles".
How is it determined which are the related ones.


One way (and there is no *one* way) is to assign a "section number" or
"category" to each article in a database. So you could have a table
with the folowing columns:

id
article_title
article_text
author
category
article_date

Then for any given article, take the last 3 (or whatever number you
wish) articles from within the same category and post links to them
underneath as "related articles".

P.S. By sticking the author column in there as a seperate field, you
could also have an "Also by [Author Name]..." list.

--
Sugapablo - ru***********@stargate.net
http://www.sugapablo.com | ICQ: 902845

Jul 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Tomba | last post: by
8 posts views Thread by Chul Min Kim | last post: by
2 posts views Thread by Danial Juka | last post: by
9 posts views Thread by Tony Girgenti | last post: by
2 posts views Thread by krishnakant Mane | last post: by
43 posts views Thread by Frodo Baggins | last post: by
2 posts views Thread by nospam | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.