cormanaz has asked for the wisdom of the Perl Monks concerning the following question:
I get the following objectuse strict; use XML::Atom::Feed; my $url = 'http://terrorism-news.blogspot.com'; my $feed = XML::Atom::Feed->new(URI->new($url)) or die XML::Atom::Feed->errstr; my @entries = $feed->entries;
and @entries is null. Same result with I parse the actual feed address with XML::Feed. This is confusing because it seems to be detecting the correct NS and version, etc., but then not actually parsing the page. As far as I can tell from the docs this is how it's done. What's the problem?$feed = { elem => 'XML::Atom::Feed', ns => 'XML::XPath::Node::Element', version => 0.3 }
TIA....Stevve
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML::Atom feed parsing problem
by LTjake (Prior) on Mar 20, 2007 at 23:38 UTC | |
by cormanaz (Deacon) on Mar 24, 2007 at 00:47 UTC |