Subject: | Problem parsing certain Blogspot feeds |
It appears that this module has trouble parsing RSS feeds for Blogspot
blogs that have enabled "short" feeds.
For example-
my $feed =
XML::Feed->parse(URI->new('http://brunnock.blogspot.com/feeds/posts/default?alt=rss'))
or die XML::Feed->errstr;
for my $entry ($feed->entries) {
print 'The title works- ', $entry->title, "\n\n";
print "The body doesn't...\n", $entry->content->body, "\n\n";
print "Nor the summary...\n", $entry->summary->body, "\n\n";
}
The code above will work with short or full atom feeds and with full RSS
feeds.