Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Static RSS for new/cool/ratings

Quote Reply
Static RSS for new/cool/ratings
Hi,

For anyone who's interested, I just wrote this little script that will build .rss files for you. You may want to change the file extensions to .xml, but thats just a case of doing a search and replace of rss for xml :))

1) Edit build_rss.cgi, to replace /path/to/admin (2 occassions) to your path to the admin folder
2) Upload build_rss.cgi and CHMOD to 755 (where ever you want to upload, although the ideal place is in the admin folder)
3) Upload the .html files attached in into your templates folder (if using the luna template set for example, upload to /admin/template/luna)
4) Run the script, to test it works ok.
5) Setup a cronjob. You can set it to run whenever you want, although the ideal one would be daily - something like this should work:

Code:
0 0 * * * perl /full/path/to/build_rss.cgi

Hopefully this is of some use to someone =)

BTW: I've left the .html templates attached, so GT can look into why they won't open Unsure

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Nov 29, 2007, 1:52 AM
Subject Author Views Date
Thread Static RSS for new/cool/ratings Andy 9831 Nov 27, 2007, 4:13 AM
Thread Re: [Andy] Static RSS for new/cool/ratings
Dorette 9589 Nov 28, 2007, 3:53 PM
Thread Re: [Dorette] Static RSS for new/cool/ratings
socrates 9567 Nov 28, 2007, 9:44 PM
Post Re: [socrates] Static RSS for new/cool/ratings
Andy 9533 Nov 29, 2007, 1:50 AM
Thread Re: [Dorette] Static RSS for new/cool/ratings
Andy 9561 Nov 29, 2007, 2:29 AM
Post Re: [Andy] Static RSS for new/cool/ratings
Andy 9512 Dec 2, 2007, 10:24 PM
Thread Re: [Andy] Static RSS for new/cool/ratings
Andy 9564 Dec 5, 2007, 2:21 AM
Thread Re: [Andy] Static RSS for new/cool/ratings
Matthias70 9429 May 8, 2008, 2:00 PM
Thread Re: [Matthias70] Static RSS for new/cool/ratings
Andy 9421 May 8, 2008, 2:02 PM
Thread Re: [Andy] Static RSS for new/cool/ratings
Matthias70 9441 May 8, 2008, 2:44 PM
Thread Re: [Matthias70] Static RSS for new/cool/ratings
Andy 9397 May 8, 2008, 11:35 PM
Thread Re: [Andy] Static RSS for new/cool/ratings
Matthias70 9402 May 9, 2008, 5:31 AM
Post Re: [Matthias70] Static RSS for new/cool/ratings
Alba 9366 May 9, 2008, 9:40 AM