Changeset 26 in bookmarks
- Timestamp:
- 05/23/13 00:40:06 (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BookmarkApp.pm
r25 r26 76 76 my $limit = $q->param('limit'); 77 77 my $offset = $q->param('offset'); 78 my @resources = $bookmarks->get_ resources({78 my @resources = $bookmarks->get_bookmarks({ 79 79 tag => \@tags, 80 80 limit => $limit, … … 208 208 209 209 # construct a feed from the most recent 12 bookmarks 210 for my $bookmark ($bookmarks->get_ resources({ tag => $tag, limit => 12 })) {210 for my $bookmark ($bookmarks->get_bookmarks({ tag => $tag, limit => 12 })) { 211 211 my $entry = XML::Atom::Entry->new; 212 212 $entry->id($bookmark->{bookmark_uri}); -
trunk/Bookmarks.pm
r25 r26 58 58 } 59 59 60 sub get_ resources {60 sub get_bookmarks { 61 61 my $self = shift; 62 62 my $params = shift; -
trunk/bkmk
r20 r26 33 33 }, 34 34 list => sub { 35 my @resources = $bookmarks->get_ resources({35 my @resources = $bookmarks->get_bookmarks({ 36 36 tag => \@TAGS 37 37 });
Note: See TracChangeset
for help on using the changeset viewer.