Changeset 26 in bookmarks


Ignore:
Timestamp:
05/23/13 00:40:06 (11 years ago)
Author:
peter
Message:

renamed Bookmarks::get_resources() to Bookmarks::get_bookmarks()

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BookmarkApp.pm

    r25 r26  
    7676    my $limit = $q->param('limit'); 
    7777    my $offset = $q->param('offset'); 
    78     my @resources = $bookmarks->get_resources({ 
     78    my @resources = $bookmarks->get_bookmarks({ 
    7979        tag    => \@tags, 
    8080        limit  => $limit, 
     
    208208 
    209209    # 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 })) { 
    211211        my $entry = XML::Atom::Entry->new; 
    212212        $entry->id($bookmark->{bookmark_uri}); 
  • trunk/Bookmarks.pm

    r25 r26  
    5858} 
    5959 
    60 sub get_resources { 
     60sub get_bookmarks { 
    6161    my $self = shift; 
    6262    my $params = shift; 
  • trunk/bkmk

    r20 r26  
    3333    }, 
    3434    list => sub { 
    35         my @resources = $bookmarks->get_resources({ 
     35        my @resources = $bookmarks->get_bookmarks({ 
    3636            tag => \@TAGS 
    3737        }); 
Note: See TracChangeset for help on using the changeset viewer.