Changeset 930

Show
Ignore:
Timestamp:
06/08/06 19:35:25
Author:
miyagawa
Message:

support more sixapart-std template. via http://d.hatena.ne.jp/sfujiwara/20060608/1149759131

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/assets/plugins/Filter-EntryFullText/sixapart.pl

    r539 r930  
    11sub handle { 
    22    my($self, $args) = @_; 
    3     $args->{content} =~ m!<meta name="generator" content="(?:http://www\.typepad\.com/|Movable Type.*?)" />!; 
     3    return 1 if $args->{content} =~ m!<html[^>]+id="sixapart-standard"!; 
     4    return 1 if $args->{content} =~ m!<meta name="generator" content="(?:http://www\.typepad\.com/|Movable Type.*?)" />!; 
     5    return; 
    46} 
    57