- Timestamp:
- 05/24/13 01:26:04 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BookmarkApp.pm
r32 r33 210 210 my $title = 'Bookmarks' . (@tags ? " tagged as " . join(' & ', @tags) : ''); 211 211 212 require XML::Atom; 213 $XML::Atom::DefaultVersion = "1.0"; 214 212 215 require XML::Atom::Feed; 213 216 require XML::Atom::Entry; … … 244 247 $entry->add_link($link); 245 248 $entry->summary('Tags: ' . join(', ', @{ $bookmark->tags })); 249 my $mdatetime = time2isoz $bookmark->mtime; 250 # make the timestamp W3C-correct 251 $mdatetime =~ s/ /T/; 252 $entry->updated($mdatetime); 246 253 $feed->add_entry($entry); 247 254 }
Note: See TracChangeset
for help on using the changeset viewer.