はてラボで、はてなミュージックなんてな素敵サービスがリリースされ、音楽好きとしてはこれ以上ない楽しみなわけで、さっそく遊んでいます。しかし、いまんとこはてなミュージックの曲情報更新クライアントは Windows + iTunes にしか対応していないわけで、 はやくMacではてなミュージックしたいです。 なんてな記述も見受けられます。まぁ、ちょっと追加のコードを書きさえすれば、まさに「それPla」な話。そこで、はてなミュージックの更新クライアントの挙動を調べて、まずは WebService::Hatelabo::Music というモジュールを作り、それを Plagger から使うために Plagger::Plugin::Publish::HatelaboMusic というプラグインを作りました。 WebService::Hatelabo::Music Plagger::Plugin::Pu
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
rssgen.pl→PlaggerではCustomFeed::Config スポンサードリンク Tweet TypePad が生成した別ドメインにある 47 個の RSS を http で取得し、カテゴリ別に分離するっていうことをやるために、head で Last-Modified 確認して毎回取ってこないような fetch ルーチンと、取ってきた RSS を統合、カテゴリ別の RSS を生成するルーチンをがりがり書いたけれども少なくとも fetch ルーチンはちゃんとキャッシュを実装している Plagger で用が足りそうです。使わないけれども。 ~~~ 僕の RSS 生成は、rssgen.pl [hail2u.net] ていう有名な Perl スクリプトから始まり、途中で得たいろんな仕組みをくっつけてそれっぽい RSS を生成していたわけですけれども、Plagger で、これと同じこと
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
Software Error:Process Error Template Toolkit error: undef error - Undefined subroutine &URI::Escape::escape_char called at /usr/lib/perl5/site_perl/5.8.5/URI/_query.pm line 16. at /usr/lib/perl5/site_perl/5.8.5/Spoon/Base.pm line 110 Spoon::Base::__ANON__('Undefined subroutine &URI::Escape::escape_char called at /usr...') called at /usr/lib/perl5/site_perl/5.8.5/URI/_query.pm line 16 URI::_query:
http://subtech.g.hatena.ne.jp/otsune/20061022/HatenaGraphの指摘がもっともだと思ったので。あと、WebService::Hatena::Graphのバージョンが上がってインターフェースが変更になったのでその対応も。 まずは本文から正規表現でデータを抜き出す部分をFilterプラグインにして分離。とりあえずこんな感じにしてみた。ネーミングセンス0なのは生まれつきなのでツッコミに期待。 package Plagger::Plugin::Filter::ScrapeMetaData; use strict; use base qw( Plagger::Plugin ); sub register { my($self, $context) = @_; $context->register_hook( $self, 'update.entry
OpenOffice.org Writerに出力するPlugin。 つくりかけ。 package Plagger::Plugin::Publish::OOoWriter; use strict; use base qw(Plagger::Plugin); our $Version = '0.01'; use OpenOffice::OODoc; ooLocalEncoding('UTF-8'); sub register { my ($self, $context, $args) = @_; $context->register_hook( $self, 'publish.feed' => \&feed, ); } sub feed { my ($self, $context, $args) = @_; my $body = $self->templatize('oo.tt', { fee
Plaggerのプラグインである、Subscription::BrowserHistoryを作成した。これを使うと、ブラウザの履歴をPlaggerで読み込めるようになる。いまはMozilla系のブラウザにしか対応していないけど、サブクラスかけば良いようになってるので、IEやSafari向けもすぐかけるかも。 実はこれは、すでにid:sfujiwaraさんが酒日記 はてな支店 - Morkの文字コードおよび、酒日記 はてな支店 - CustomFeed::Mork頓挫で触れられていて、Plaggerのチケットの#377 (Subscription::BrowserHistory)にもなっていたネタ。参考にさせていただきました。 で、このSubscription::BrowserHistoryを使うとなにができるかというと。たとえば以下のようなYAMLが書ける。 plugins: - modu
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く