|
|
| XP is just a number | |
| 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?? |
|
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:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||