Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: XML::Atom feed parsing problem

by LTjake (Prior)
on Mar 20, 2007 at 23:38 UTC ( #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)


Comment on Re: XML::Atom feed parsing problem
Select or Download Code
Re^2: XML::Atom feed parsing problem
by cormanaz (Chaplain) 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
Node Status?
node history
Node Type: note [id://605767]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2015-07-04 08:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls