View Full Version : is there a script to create this?


jlknauff
11-29-2004, 07:05 AM
Is there a script that will pull some of the most recent threads from a forum and create links to them (like on the seo guy index page) or does that have to be manually done?

seobook
11-30-2004, 03:51 PM
there are RSS feeds you can put on your site. you just have to put the latest feeds through an RSS processor
http://p3k.org/rss/?setup=true

PuReWebDev
11-30-2004, 08:47 PM
[QUOTE=jlknauff]Is there a script that will pull some of the most recent threads from a forum and create links to them (like on the seo guy index page) or does that have to be manually done?[/QUOTE]


Check out PHP-Nuke, they have a script that does exactly what you are saying. If you download the lastest version, the file you want will be in the blocks folder named forum.php or something to that effect. Although you don't run a nuke site, I'm sure that code will be 90% of the work.


--PuRe

Atomical
12-01-2004, 11:04 AM
I've always had success with freshmeat.net and I know they have RSS/RDF processors on the site. But you can basically do it yourself if you learn REGEXPS.

Put this in cron tab:

rm -rf rdf.xml; wget -q http://www.website.com/rdf.xml;

Grabbing it on the fly is a bad idea.