Changeset 940
- Timestamp:
- 06/09/06 16:11:35
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/lib/Plagger/Plugin/Filter/EntryFullText.pm
r923 r940 122 122 $args->{entry}->permalink($base); 123 123 } 124 } 125 126 # use Last-Modified to populate entry date, even if handler doesn't find one 127 if ($res->last_modified && !$args->{entry}->date) { 128 $args->{entry}->date( Plagger::Date->from_epoch($res->last_modified) ); 124 129 } 125 130 … … 139 144 $args->{entry}->icon({ url => $data->{icon} }) if $data->{icon}; 140 145 141 # extract date using found one , falls back to Last-Modified146 # extract date using found one 142 147 if ($data->{date}) { 143 148 $args->{entry}->date($data->{date}); 144 } elsif ($res->last_modified) {145 $args->{entry}->date( Plagger::Date->from_epoch($res->last_modified) );146 149 } 147 150
