Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Using RSS

by ajt (Prior)
on Feb 17, 2003 at 21:22 UTC ( #236120=note: print w/replies, xml ) Need Help??


in reply to Using RSS

tmitch,

To get files off a remote server, you will need to use one of a selection of fine tools. If you want to pulls the files off periodically, then you can use a scheduler such as cron or at, and a standalone executable such as wGet. If you want to get the files and work on them at the same time, then Perl has some excellent tools for this: LWP::UserAgent; LWP::Simple and HTTP::GHTTP.

Once you have your XML file, you'll want to do something with it. Perl has some excellent tools for this too, including the just updated XML::RSS and my very own XML::RSS::Tools. Either way there are some nice examples and useful links in the documentation of both modules, and there is also useful stuff on XML.com

As it happens I know that the perl-rss crew are planning to update the documents of XML::RSS with some nice links to example articles soon, so you won't have to dig around too much on your own.

Here is a sneak preview (kellan's suggested list):

Good luck!


--
ajt

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://236120]
help
Chatterbox?
[Corion]: Hurr - use lib glob '/opt/perl/foo*'; - I'm not really sure if that is sane ;-D

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2017-01-19 15:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.