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:
- Converting RSS file to HTML
- XML::RSS
- Using RSS
- How do I clean RSS feeds to make them usable?
- Parsing badly formed RSS or XML
- Parsing XML At All Costs
In Section
Seekers of Perl Wisdom