Jan 29, 2007
livedoor Readerの未読件数を淡々と記録するよ on lingr
作った。
サンプル
http://www.lingr.com/room/saisoku
#!/usr/bin/perl
use strict;
use warnings;
use LWP::Simple;
use WebService::Lingr;
my $room_id = 'saisoku';
my $livedoor_id = 'YOUR_LIVEDOOR_ID';
my $lingr = WebService::Lingr->new(api_key => "YOUR_API_KEY");
my $res = $lingr->call('room.enter', { id => $room_id, nickname => "$livedoor_idの未読件数" });
my $ticket = $res->{ticket};
$lingr->call('room.say', { message => sprintf("%s件", get_ldr_unread($livedoor_id)) , ticket => $ticket });
$lingr->call('session.destroy', {});
sub get_ldr_unread{
my $livedoor_id = shift;
my $url = "http://rpc.reader.livedoor.com/notify?user=".$livedoor_id;
my $content = get($url);
my ($count) = $content =~ /\|(\d+)\|\|/;
return $count;
}
サンプル
http://www.lingr.com/room/saisoku
WriteBacks
Contact Email Of ma.la?
Posted by Jonathan Goode at 2007/01/30 (Tue) 22:38:46
Hello, my name is Jonathan and I am trying to get hold of the person who created the Pure JavaScript QRcode generator as I wish to know how to use the script. I am a fourth Student at Aberdeen Univeristy studying Computing Science and hope to use this script for part of my project. Thank-you.
Posted by Jonathan Goode at 2007/01/30 (Tue) 22:40:36
To Jonathan
I sent you mail.
To defend your address from SPAM, your mail address was erased from the comment.
thank you.
If Japanese is not included, the comment is refused.
ご不便かけましたすいません。
Posted by mala at 2007/02/01 (Thu) 00:01:05
お待たせしました、ガツンとLingrの新リリースです
例によってご報告が遅くて申し訳ありません。 とうとう待望のLingr API(リ...
Posted by 江島健太郎 / Kenn's Clairvoyance at 2007/02/01 (Thu) 13:55:35
http://la.ma.la/blog/diary_200701292113.trackback
writeback message: Ready to post a comment.

