http://www.perlmonks.org?node_id=539296


in reply to Re: BBC News Reader
in thread BBC News Reader

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. . . .

Replies are listed 'Best First'.
Re^3: BBC News Reader
by davorg (Chancellor) on Mar 27, 2006 at 08:21 UTC

    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