Download Perl ScriptsRSS News Fetch - $0 Version 40430-0950
Add to Cart
demo/see it work
RSS News Feed by CrookedBush.com Inc.
(c) 2004 Jason Silver
Thanks for Registering!
Report any bugs to email@example.com.
Grab an RSS feed from a remote site, store a cached version on
your server, then display it in readable HTML format for your
1. Setting some options at the beginning of the script files (*.pl)
2. Using FTP to upload all the files
3. Setting permissions on the files
4. Setting up the .shtml file
4. Testing the script
1. Using a text editor like textpad, or notepad, open the .pl script
Change the path to perl so that it's configured for your server.
Make changes to the variables at the top as well:
The URL to the RSS file:
$rssFile = 'http://crookedbush.com/cgi-bin/weblog.pl/scripts/index.rss';
Link back to the HTML version of the feed on the original site:
$blog_html_link = 'http://www.crookedbush.com/cgi-bin/weblog.pl/scripts/';
Name of the cache file created and stored on your server:
$rss_cache_file = 'rss_cache_crookedbush.txt';
How often to update new rss cache file:
$cache_refresh = 1;
2. Use an FTP program like WS_FTP or CuteFTP (just some examples I'm aware of) and
upload the files to your server.
3. Set permissions (CHMOD) on the *.pl file so it's executable. (755).
The owner should be able read, write, and execute.
The group should be able to read, and execute.
Also, other should be able to read, and execute.
4. Insert the following into a text file and rename it to test.shtml:
5. Place the above HTML clip in any spot that you want the RSS feed.
Be sure the page has a Server Side Include extension (.shtml), or
that you have enabled SSI on all html pages. You may need your site
administrator to enable this feature.
That's it! You're set! Let me know if you have problems.