Changeset 1070

Show
Ignore:
Timestamp:
07/11/06 00:33:05
Author:
miyagawa
Message:

Widget::Delicious: now you don't need username set in config. Just link to /post

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/examples/bloglines2gmail.yaml

    r1053 r1070  
    2222  # Add "Add to del.icio.us" Widget in the Email body 
    2323  - module: Widget::Delicious 
    24     config: 
    25       username: miyagawa 
    2624 
    2725  # Add "Manage Bloglines Subscription of this feed" Widget 
  • trunk/plagger/examples/livedoorreader2gmail.yaml

    r1053 r1070  
    2020  # Add "Add to del.icio.us" Widget 
    2121  - module: Widget::Delicious 
    22     config: 
    23       username: miyagawa 
    2422 
    2523  # Send HTML emails to Gmail account using external SMTP 
  • trunk/plagger/lib/Plagger/Plugin/Widget/Delicious.pm

    r1040 r1070  
    2222sub html { 
    2323    my($self, $entry) = @_; 
    24     my $uri = URI->new('http://del.icio.us/' . $self->conf->{username}); 
     24    my $uri = URI->new('http://del.icio.us/post'); 
     25 
    2526    my %query; 
    2627    $query{url}   = $entry->permalink; 
     
    4546=head1 SYNOPSIS 
    4647 
    47    module: Widget::Delicious 
    48    config: 
    49      username: miyagawa 
     48  - module: Widget::Delicious 
    5049 
    5150=head1 DESCRIPTION 
     
    5756 
    5857=over 4 
    59  
    60 =item username 
    61  
    62 Your del.icio.us username. Required. 
    6358 
    6459=item tags