Changeset 16 in bookmarks for trunk/BookmarkApp.pm


Ignore:
Timestamp:
03/08/13 12:57:18 (12 years ago)
Author:
peter
Message:
  • added a link to the feed by tag if a ?tag is specified
  • if a ?tag is specified, the feed title is now "Bookmarks tagged as $tag"
  • removed the unworking "New Bookmark" link from the list
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BookmarkApp.pm

    r15 r16  
    122122 
    123123    my $feed = XML::Atom::Feed->new; 
    124     $feed->title('Bookmarks'); 
     124    $feed->title('Bookmarks' . ($tag ? " tagged as $tag" : '')); 
    125125    $feed->id($base_uri . 'feed'); 
    126126 
Note: See TracChangeset for help on using the changeset viewer.