Changeset 2047
- Timestamp:
- 11/08/08 23:25:04
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm
r1857 r2047 193 193 return unless $content->body; 194 194 195 if (ref($e) eq 'XML::Feed::Entry::Atom') {195 if (ref($e) =~ /Atom/) { 196 196 # in Atom, be a little strict with TextConstruct 197 197 # TODO: this actually doesn't work since XML::Feed and XML::Atom does the right … … 202 202 return Plagger::Text->new(type => 'html', data => $content->body); 203 203 } 204 } elsif (ref($e) eq 'XML::Feed::Entry::RSS') {204 } elsif (ref($e) =~ /RSS/) { 205 205 # in RSS there's no explicit way to declare the type. Just guess it 206 206 return Plagger::Text->new_from_text($content->body);
