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):
- Simple RSS with Perl,
brian d foy,
Nov, 2002,
Covers: RSS Syntax, RSS generation, RSS parsing, RSS to HTML
-
RSS and You,
Chris Nandor,
January 25, 2000,
Covers: RSS intro, RSS to HTML
-
So, really, what's new?
Randal L. Schwartz,
Jan, 2000,
Covers: RSS parsing, RSS aggregation, RSS to email
-
Making Headlines with RSS,
Jonathan Eisenzopf,
February, 2000,
Covers: RSS intro, RSS syntax, RSS generation, RSS to HTML
-
An introduction to RSS news feeds
James Lewin,
November, 2000,
Covers: RSS syntax, RSS parsing
-
Create RSS channels from HTML news sites,
Chris Ball.
November 15, 2001
Covers: Brief RSS intro, RSS generation, screen scraping and XML::RSS
-
Parsing RSS Files with XML::RSS,
Derek Vadala,
August, 2002,
Covers: RSS syntax, RSS parsing, RSS to HTML
Good luck!
--
ajt
In reply to Re: Using RSS
by ajt
in thread Using RSS
by tmitch
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:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, 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, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.