Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Writing a simple RSS feed 'grabber' with XML::Parser.

by ajt (Prior)
on Oct 20, 2004 at 11:02 UTC ( #400816=note: print w/ replies, xml ) Need Help??


in reply to Writing a simple RSS feed 'grabber' with XML::Parser.

I wouldn't start any project with XML::Parser, it's a bit antique, and XML::LibXML is more feature rich and much faster parser to start any project with.

Parsing RSS is a real pain, as it's often not well formed, so anything using a proper XML parser will die. XML::RSS and XML::RSS::Tools get round this by having a pre-filter in them that cleans up well know bad code, before attempting to pass the file onto the XML parser.

The XML::RSS::Tools module (which I wrote) uses XML::RSS for parsing RSS, one of several HTTP clients for getting RSS feeds, and the XML::LibXSLT module for converting the feed into something else.

Some useful nodes:


--
ajt


Comment on Re: Writing a simple RSS feed 'grabber' with XML::Parser.
Re^2: Writing a simple RSS feed 'grabber' with XML::Parser.
by Anonymous Monk on Apr 14, 2007 at 23:22 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://400816]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2014-09-01 22:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (17 votes), past polls