Changeset 241

Show
Ignore:
Timestamp:
03/02/06 17:48:06
Author:
miyagawa
Message:

Doc fix. Add nagayama to AUTHORS

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/AUTHORS

    r228 r241  
    1010Fumiaki Yoshimatsu 
    1111Masafumi Otsune 
     12Takeshi Nagayama 
  • trunk/plagger/lib/Plagger/Plugin/Notify/Campfire.pm

    r240 r241  
    1  
    21package Plagger::Plugin::Notify::Campfire; 
    32 
     
    6968    # still login 
    7069    return 1 if ( $self->{mecha}->content =~ /chat-wrapper/); 
    71      
     70 
    7271    if ( $self->{guest_url} ) { 
    7372        $self->{mecha} 
     
    8988        $self->{room_url} = $self->{guest_url}; 
    9089        my ( $room_no, ) = $self->{mecha}->content =~ /participant_list-(\d+)/; 
    91         $self->{room_url} =~ s/\/\w+$/\/room\/$room_no/
     90        $self->{room_url} =~ s!/\w+$!/room/$room_no!
    9291    } 
    9392 
     
    107106__END__ 
    108107 
    109 - module: Notify::Campfire 
    110 config: 
    111   guest_url: http://exmaple.campfirenow.com/room/xxxxx 
    112   nickname: nickname 
    113   speak_interval: 3 
     108=head1 NAME 
    114109 
    115 OR 
     110Plagger::Plugin::Notify::Campfire - Notification bot for Campfire 
    116111 
    117 - module: Notify::Campfire 
    118 config: 
    119   room_url: http://exmaple.campfirenow.com/xxxxxx 
    120   email: example@example.com 
    121   password: xxxxxx 
    122   speak_interval: 2 
     112=head1 SYNOPSIS 
    123113 
     114To use bot as a guest (recommended), 
     115 
     116  - module: Notify::Campfire 
     117    config: 
     118      guest_url: http://exmaple.campfirenow.com/room/NNNN 
     119      nickname: nickname 
     120      speak_interval: 3 
     121 
     122Or, to use bot using existent login credentials, 
     123 
     124  - module: Notify::Campfire 
     125    config: 
     126      room_url: http://exmaple.campfirenow.com/NNNN 
     127      email: example@example.com 
     128      password: xxxxxx 
     129      speak_interval: 2 
     130 
     131=head1 DESCRIPTION 
     132 
     133This plugin notifies feed updates to 37 Signals' Campfire 
     134L<http://www.campfirenow.com/> chat room. 
     135 
     136=head1 AUTHOR 
     137 
     138Takeshi Nagayama 
     139 
     140=head1 SEE ALSO 
     141 
     142L<Plagger>, L<http://www.campfirenow.com/>, L<WWW::Mechanize> 
     143 
     144=cut