Changeset 639

Show
Ignore:
Timestamp:
04/21/06 14:40:57
Author:
miyagawa
Message:

use Plagger::Util to strip HTML

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Subscription/LivedoorReader.pm

    r631 r639  
    33use base qw( Plagger::Plugin ); 
    44 
    5 use HTML::Entities; 
    65use JSON::Syck; 
    76use URI; 
    87use URI::QueryParam; 
    98use WWW::Mechanize; 
     9use Plagger::Util; 
    1010 
    1111sub plugin_id { 
     
    7979        my $feed = Plagger::Feed->new; 
    8080        $feed->type('livedoorReader'); 
    81         $feed->title( HTML::Entities::decode($data->{channel}->{title}) ); 
     81        $feed->title( Plagger::Util::strip_html($data->{channel}->{title}) ); 
    8282        $feed->link($data->{channel}->{link}); 
    8383        $feed->url($data->{channel}->{feedlink});