Changeset 637

Show
Ignore:
Timestamp:
04/21/06 02:02:29
Author:
miyagawa
Message:

more generous handling of RSS 1.0 detection

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Aggregator/Simple.pm

    r636 r637  
    5050sub looks_like_feed { 
    5151    my($self, $content_ref) = @_; 
    52     $$content_ref =~ m!<rss version="|<rdf:RDF xmlns="http://purl\.org/rss|<feed xmlns="!
     52    $$content_ref =~ m!<rss version="|<rdf:RDF.+?xmlns="http://purl\.org/rss|<feed xmlns="!s
    5353} 
    5454