It looks like your start and end handlers don't do anything. Maybe you should remove them.
Also, for parsing RSS, you might like to look at XML::RSS.
--
< http://dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club." -- Chip Salzenberg
| [reply] |
I also have to fetch BBC RSS at work. Just to note that you can't automatically throw their RSS at an XML parser. For some reason (laziness?) they don't always encode their content correctly. So you can often get titles with plain ampersands in (etc).
Easy to regex out first but. . . .
| [reply] |
If something claims to be XML but isn't for some reason, then you should pass those problems back to the people creating the XML.
I'm pretty sure that the BBC would be very interested in hearing of any problems with their RSS feeds.
--
< http://dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club." -- Chip Salzenberg
| [reply] |