Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: BBC News Reader

by davorg (Chancellor)
on Mar 23, 2006 at 13:55 UTC ( [id://538745]=note: print w/replies, xml ) Need Help??


in reply to BBC News Reader

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

Replies are listed 'Best First'.
Re^2: BBC News Reader
by simon.proctor (Vicar) on Mar 26, 2006 at 16:36 UTC
    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. . . .

      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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2024-04-23 14:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found