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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|
|