Changeset 15

Show
Ignore:
Timestamp:
02/05/06 09:40:42
Author:
miyagawa
Message:

prefer libxml based RSS parser; fixed empty Date bug

Files:

Legend:

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

    r12 r15  
    55use URI; 
    66use XML::Feed; 
     7use XML::Feed::RSS; 
     8 
     9$XML::Feed::RSS::PREFERRED_PARSER = 'XML::RSS::LibXML'; 
    710 
    811sub register { 
     
    4144            $entry->author($e->author); 
    4245            $entry->tags([ $e->category ]) if $e->category; 
    43             $entry->date( Plagger::Date->rebless($e->issued) )
     46            $entry->date( Plagger::Date->rebless($e->issued) ) if $e->issued
    4447            $entry->link($e->link); 
    4548            $entry->id($e->id);