By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

find related articles.. how to ?

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.