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


Click here to return to the 'Customizing MOTD' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Customizing MOTD
Authored by: jeepboy on Apr 30, '02 09:31:51AM

Hey! I have been playing with MOTD for a while because I would like to find a way for it to pull headlines from a news site and incorporate them into the MOTD. Thing is, I am new to Unix, and I'm not sure how to write a script that would go out to, perhaps CNN, and grab the top headline and paste it into the MOTD.

Any thoughts?

Jeepboy



[ Reply to This | # ]
Customizing MOTD
Authored by: yosithezet on Apr 30, '02 08:49:06PM

Use PERL's LWP module to create a web agent to grab the info you want, likely some kind of RSS site like MacReporter uses and then toss that in the motd file. Set it up with a cron to keep updating.



[ Reply to This | # ]