Changeset 2050
- Timestamp:
- 11/15/08 04:52:07
- Files:
-
- trunk/plagger/lib/Plagger/FeedParser.pm (modified) (1 diff)
- trunk/plagger/lib/Plagger/Plugin/Publish/Feed.pm (modified) (3 diffs)
- trunk/plagger/t/plugins/Publish-Feed/rss2-content.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/FeedParser.pm
r1741 r2050 6 6 use XML::Feed; 7 7 use XML::Feed::RSS; 8 $XML::Feed:: RSS::PREFERRED_PARSER = "XML::RSS::LibXML";8 $XML::Feed::Format::RSS::PREFERRED_PARSER = $XML::Feed::RSS::PREFERRED_PARSER = "XML::RSS::LibXML"; 9 9 $XML::Atom::ForceUnicode = 1; 10 10 trunk/plagger/lib/Plagger/Plugin/Publish/Feed.pm
r1959 r2050 10 10 use File::Spec; 11 11 12 $XML::Feed:: RSS::PREFERRED_PARSER = "XML::RSS::LibXML";12 $XML::Feed::Format::RSS::PREFERRED_PARSER = $XML::Feed::RSS::PREFERRED_PARSER = "XML::RSS::LibXML"; 13 13 14 14 sub register { … … 138 138 139 139 # XXX okay, this is a hack until XML::Feed is updated 140 *XML::Feed::Entry::Format::Atom::add_enclosure = 140 141 *XML::Feed::Entry::Atom::add_enclosure = sub { 141 142 my($entry, $enclosure) = @_; … … 148 149 }; 149 150 151 *XML::Feed::Entry::Format::RSS::add_enclosure = 150 152 *XML::Feed::Entry::RSS::add_enclosure = sub { 151 153 my($entry, $enclosure) = @_; trunk/plagger/t/plugins/Publish-Feed/rss2-content.t
r2049 r2050 29 29 filename: rss.xml 30 30 --- expected chomp regexp 31 <content:encoded>\s*& #x3C;div31 <content:encoded>\s*<div
