Changeset 1040

Show
Ignore:
Timestamp:
07/02/06 03:21:18
Author:
miyagawa
Message:

Widget::Delicious: update posting URI to that of v4

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/Plugin/Widget/Delicious.pm

    r785 r1040  
    2424    my $uri = URI->new('http://del.icio.us/' . $self->conf->{username}); 
    2525    my %query; 
    26     $query{url}         = $entry->permalink; 
    27     $query{description} = encode('utf-8', $entry->title); 
    28     $query{tags}        = $self->conf->{tags} if $self->conf->{tags}; 
    29     $query{jump}        = 'doclose' if $self->conf->{one_click_post}; 
     26    $query{url}   = $entry->permalink; 
     27    $query{title} = encode('utf-8', $entry->title); 
     28    $query{tags}  = $self->conf->{tags} if $self->conf->{tags}; 
     29    $query{jump}  = 'doclose' if $self->conf->{one_click_post}; 
    3030 
    31     $uri->query_form(%query); 
     31    $uri->query_form(%query, v => 4); 
    3232 
    3333    my $url = HTML::Entities::encode($uri->as_string);