X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FXML%2FFeed%2FFormat%2FRSS.pm;fp=lib%2FXML%2FFeed%2FRSS.pm;h=3d43c3320d9d884086224f7ae814b46edca38299;hb=729cd7a8bb980ab79ddc3a8a9d94fb2bd7a5f28b;hp=933b0b6fff1af292b8c689ed054abaa4da298cb9;hpb=8c30ad3d71619bc69bf47f1b229bdbf865da74f8;p=catagits%2FXML-Feed.git diff --git a/lib/XML/Feed/RSS.pm b/lib/XML/Feed/Format/RSS.pm similarity index 98% rename from lib/XML/Feed/RSS.pm rename to lib/XML/Feed/Format/RSS.pm index 933b0b6..3d43c33 100644 --- a/lib/XML/Feed/RSS.pm +++ b/lib/XML/Feed/Format/RSS.pm @@ -1,6 +1,6 @@ # $Id: RSS.pm 1934 2006-04-22 05:13:55Z btrott $ -package XML::Feed::RSS; +package XML::Feed::Format::RSS; use strict; use base qw( XML::Feed ); @@ -133,7 +133,7 @@ sub entries { my $rss = $_[0]->{rss}; my @entries; for my $item (@{ $rss->{items} }) { - push @entries, XML::Feed::Entry::RSS->wrap($item); + push @entries, XML::Feed::Entry::Format::RSS->wrap($item); } @entries; } @@ -147,7 +147,7 @@ sub add_entry { sub as_xml { $_[0]->{rss}->as_string } -package XML::Feed::Entry::RSS; +package XML::Feed::Entry::Format::RSS; use strict; use XML::Feed::Content;