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):
- Simple RSS with Perl,
brian d foy,
Covers: RSS Syntax, RSS generation, RSS parsing, RSS to HTML
RSS and You,
January 25, 2000,
Covers: RSS intro, RSS to HTML
So, really, what's new?
Randal L. Schwartz,
Covers: RSS parsing, RSS aggregation, RSS to email
Making Headlines with RSS,
Covers: RSS intro, RSS syntax, RSS generation, RSS to HTML
An introduction to RSS news feeds
Covers: RSS syntax, RSS parsing
Create RSS channels from HTML news sites,
November 15, 2001
Covers: Brief RSS intro, RSS generation, screen scraping and XML::RSS
Parsing RSS Files with XML::RSS,
Covers: RSS syntax, RSS parsing, RSS to HTML
In reply to Re: Using RSS
in thread Using RSS
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||