Changeset 1863

Show
Ignore:
Timestamp:
11/26/06 17:24:31
Author:
miyagawa
Message:

Publish::Feed bugs:

  • Fixed a bug where empty <category /> element is created when there's no tags.
  • Fixed a bug where author 'nobody' is added if the feed has author but entry doesn't.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Publish/Feed.pm

    r1809 r1863  
    7272        } 
    7373 
    74         $entry->category(join(' ', @{$e->tags}))
     74        $entry->category(join(' ', @{$e->tags})) if @{$e->tags}
    7575        $entry->issued($e->date)   if $e->date; 
    7676        $entry->modified($e->date) if $e->date; 
    7777 
    78         $entry->author( $self->make_author($e->author, $feed_format) ); 
    7978        if ($feed_format eq 'RSS') { 
    8079            my $author = 'nobody@example.com';