Changeset 2023

Show
Ignore:
Timestamp:
02/27/08 12:49:38
Author:
otsune
Message:

Filter::DeliciousFeedTags? and test: support feeds.delicious.com ( via http://yaa.no-ip.org/~yaa/diary/20080227.html#p04 )

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Filter/DeliciousFeedTags.pm

    r1734 r2023  
    1616    my($self, $context, $args) = @_; 
    1717 
    18     return unless $args->{feed}->url =~ m!^http://del\.icio\.us/rss/!; 
     18    return unless $args->{feed}->url =~ 
     19        m!^http://(?:del\.icio\.us|feeds\.delicious\.com)/rss/!; 
    1920 
    2021    $context->log(debug => "Fixing del.icio.us tags " . $args->{entry}->tags->[0]); 
  • trunk/plagger/t/plugins/Filter-DeliciousFeedTags/base.t

    r1389 r2023  
    2222    config: 
    2323      feed: 
    24         - http://del.icio.us/rss/nagayama 
     24        - http://feeds.delicious.com/rss/nagayama 
    2525  - module: Filter::DeliciousFeedTags 
    2626--- expected