Subject: | spurious 'item' field (full of newlines only) after parsefile |
All the 'item' attributes contain a bunch of newlines,
that i'm pretty sure shouldn't be showing up.
Example
use XML::RSS;
use Data::Dumper;
my $rss = XML::RSS->new;
use LWP::Simple 'getstore';
mirror('http://slashdot.org/slashdot.rss','slashdot.rss');
$rss->parsefile('slashdot.rss');
die Dumper($rss->{items});
__END__
$VAR1 = [
{
'http://purl.org/dc/elements/1.1/' => {
'creator' => 'jamie',
'date' => '2003-11-21T13:33:00+00:00',
'subject' => 'debian'
},
'dc' => {
'creator' => 'jamie',
'date' => '2003-11-21T13:33:00+00:00',
'subject' => 'debian'
},
'description' => 'Sean was one of many to pass along the bad news from the debian-announce mailing list: "Some Debian Project machines have been compromised. This is a very ...',
'http://purl.org/rss/1.0/modules/slash/' => {
'section' => 'articles',
'department' => 'batten-down-hatches',
'comments' => '147',
'hitparade' => '147,136,105,58,15,7,5'
},
'title' => 'Debian Project Servers Compromised',
'item' => '
',...