Show
Ignore:
Timestamp:
10/19/07 19:17:13 (14 months ago)
Author:
mattn
Message:

lang/perl/plagger/lib/Plagger/Plugin/Publish/GooBookmark.pm: fixed: workarround for tags.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/plagger/lib/Plagger/Plugin/Publish/GooBookmark.pm

    r553 r554  
    3333 
    3434    my @tags = @{$args->{entry}->tags}; 
     35    foreach my $tag (@tags) { $tag =~ s/,/_/g; } # FIXME: goo bookmark don't allow ',' for tags. 
    3536    my $tag_string = @tags ? join(',', @tags) : ''; 
    3637 
     
    5455                    keywordlist => encode('utf-8', $tag_string), 
    5556                    comment     => $summary, 
    56                     publicno    => 0, 
     57                    publicno    => ($self->conf->{default_publicno} || 0), 
    5758                    point       => ($self->conf->{default_rate} || 1), 
    5859                }, 
     
    105106      interval: 2 
    106107      post_body: 1 
    107           default_rate: 1 
     108      default_rate: 1 
     109      default_publicno: 0 
    108110 
    109111=head1 DESCRIPTION 
     
    112114L<http://bookmark.goo.ne.jp/>. It supports automatic tagging as well. It 
    113115might be handy for synchronizing delicious feeds into goo bookmark. 
     116 
     117=head1 CONFIG 
     118 
     119=over 4 
     120 
     121=item username, password 
     122 
     123username and password for Goo Bookmark. Required. 
     124 
     125=item default_rate 
     126 
     127Optional. default rate value is 1. 
     128 
     129=item default_publicno 
     130 
     131Optional. default publish operation value is 0 as publish. 
     132 
     133=item interval 
     134 
     135Optional. 
     136 
     137=item timeout 
     138 
     139Optional. 
     140 
     141=back 
    114142 
    115143=head1 AUTHOR