Changeset 18038
- Timestamp:
- 08/22/08 16:25:49 (5 years ago)
- Files:
-
- 1 modified
-
lang/perl/misc/WassrPod/wassrpod.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/misc/WassrPod/wassrpod.pl
r17954 r18038 30 30 my $timeline_map = {}; 31 31 sub timeline_map { $timeline_map }; 32 33 32 my $timeline_queue = []; 34 33 sub timeline_queue { $timeline_queue }; 34 my $channels = {}; 35 sub channels { $channels }; 35 36 36 37 sub run { … … 52 53 my($self, $req) = @_; 53 54 54 if ($req->path eq ' http://twitter.com/statuses/friends_timeline.xml') {55 if ($req->path eq '/http://twitter.com/statuses/friends_timeline.xml') { 55 56 HTTP::Engine::Response->new( 56 57 content_type => 'application/xml', 57 58 body => $self->friends_timeline($req), 58 59 ); 59 } elsif ($req->path eq ' http://twitter.com/statuses/update.xml') {60 } elsif ($req->path eq '/http://twitter.com/statuses/update.xml') { 60 61 HTTP::Engine::Response->new( 61 62 content_type => 'application/xml', 62 63 body => $self->update($req), 63 64 ); 64 } elsif ($req->path =~ '^ http://wassr.jp/.*$') {65 } elsif ($req->path =~ '^/http://wassr.jp/.*$') { 65 66 my $ua = ua($req, 'wassr.jp'); 66 67 my $res = $ua->get($req->path);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)