Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: XML::Atom feed parsing problem

by LTjake (Prior)
on Mar 20, 2007 at 23:38 UTC ( [id://605767]=note: print w/replies, xml ) Need Help??


in reply to XML::Atom feed parsing problem

I added use LWP::Debug qw(+) to the code to see the network traffic in which i found:

LWP::UserAgent::send_request: GET http://terrorism-news.blogspot.com/ ... LWP::UserAgent::send_request: GET http://terrorism-news.blogspot.com/f +eeds/posts/default

So it appears to be getting the feed. I also did a dump of $entries[ 0 ] which gave me:

$VAR1 = bless( { 'ns' => 'http://www.w3.org/2005/Atom', 'elem' => bless( do{\(my $o = 140714248)}, 'XML::LibX +ML::Element' ), 'version' => '0.3' }, 'XML::Atom::Entry' );

So....works for me! Sorry.

--
"Go up to the next female stranger you see and tell her that her "body is a wonderland."
My hypothesis is that she’ll be too busy laughing at you to even bother slapping you.
" (src)

Replies are listed 'Best First'.
Re^2: XML::Atom feed parsing problem
by cormanaz (Deacon) on Mar 24, 2007 at 00:47 UTC
    Hmm...strange. Stranger still, I switched to XML::FeedPP and that works fine. So the practical problem is solved, but I can't explain the original problem!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-23 07:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found