Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A slashdot headline grabbing script' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A slashdot headline grabbing script
Authored by: ktohg on Apr 30, '03 02:08:17PM

A few notes. If you name the script without the .sh and place it in your path (/usr/bin /usr/local/bin) you do not need the alias

Also it is a good thing to mention that you should only curl slashdot.xml spraringly Especially if you plan on this being a fortune type MOTD. Since this is just a simple script you run when you feel like it really doesn't matter much. But if you are going to use it in an automated fasion it would be worth caching the xml file and only update it about once evey half hour.

more info on Slash Dot's XML policy.



[ Reply to This | # ]