You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
覚え書き。 INSTALL.txtにならってgemインストール。MySQLを使うのでsqliteは外してる。 % sudo gem install rails --version 2.0.2 -y % sudo gem install rfeedfinder % sudo gem install feed-normalizer % sudo gem install opml % sudo gem install mongrel % sudo gem install mysqlFreeImageインストール。とついでに入って無かったのでp5-DateTime-Format-MySQLも。 # portinstall graphic/freeimage # portinstall devel/p5-DateTime-Format-MySQLfreeimage-3.9.3が入った。で入れたはいい
CustomFeedのperldocを全部訳してみた。多分参考にはなるはず。 authorに付記されていたメールアドレスを削除した以外はそのまま。 そして、CustomFeed全部なので長い。<追記> こちらにwikiをたててみました。 http://mywiki.jp/hazymoon/plagger%83h%83L%83%85%83%81%83%93%83g%98a%96%F3/ CustomFeed::2chSearch 名前 Plagger::Plugin::CustomFeed::2chSearch − Custom feed for 2ch Search with Moritapo モリタポを使った2ch検索のためのCustom feed。 概要 global: user_agent: cookies: /path/to/cookies.txt plugins: − modul
イベントハンドラ 2種類 customfeed.handle subscription.load config.yamlのmodule: Subscription::Configのfeed urlを使う場合はcustomfeed.handleを使いましょう。 プラグインコード上でいえば、「$args->{feed}->url」を参照するなら customfeed.handle、不要ならば subscription.load となります。 ※オレオレプラグインならばとりあえずsubscription.loadで作ればいいんじゃないかな イベントハンドラ内で feed 生成 「Plagger::Feed->new」で feed をつくり、イベントハンドラの最初の引数へ追加する。 とうぜん、feed 内の各 entry も生成する。(Plagger::Entry->new) entryの作り方
これを携帯に送るところまでやるかな・・・ といいつつほっぽっていた。 普通のplagger+gmailは、HTMLメールでフィードが送信されます。それを携帯に送ったってそりゃみえないので、gmail_notify.ttを携帯用に書き換えて対応。 /path/to/plagger/assets/mobile/gmail_notify.tt [% USE util = Plagger.Util -%] [% FOREACH entry = feed.entries -%] [% entry.title %] [% IF entry.body -%] [% entry.body %] [% ELSE %]nobody [% END %] [% UNLESS loop.last %]-------[% END %] [%- END %]とかやっといて、 - module: Publish::Gma
PlaggerのDebianパッケージ ※ 2009/4/20 追記 http://debian.hansode.org/ のサイトが無くなってしまったようです。残念。 — PlaggerのDebianパッケージを作ってくれている方がいますのでこれまで利用させてもらってましたが、Debian 4.0r1にしたら libencode-perl がうんぬんと怒られてしまい、インストールできなくなってしましました。 そこでGoogle検索してみると equivs でダミーパッケージを作って対応すると良いらしいので試してみたところ、見事に成功しました。。 ってことで、手順をメモメモ。 libplagger-perl: 依存: libencode-perl (>= 2.1) しかし、インストールすることができません 依存: libwebservice-bloglines-perl (>= 0.11)
Plaggerをいじってみて、とても便利でなにより楽しくてしょうがない。まだ「それPla」ってほどなんでもできるわけじゃないけど、RSSを配信してないサイトから欲しい情報を取り出すことはできるようになった。意外と初心者向けの手引き的なものが見つからなかったので、初心者向けにメモしておきます。まだ簡単なことしかわからないし、間違ったことも書いてあるかも知れないのでいろいろ試してみながら確認してください。 まずはFilter::EntryFullText(みんなEFTって呼んでるみたい)について。 企業ニュースサイト(新聞社とか)のトップページにあるような自分のサイト内へのリンクのあるHTMLをフィードと変換するときに使うFilter。下のはYOMIURI ONLINEの科学のトップページから科学ニュースを取り出すためのyaml( Wikipedia)。 author: Toshi custo
■ [Plagger]Plagger をインストールしてみた。 今さらながら、Plagger をインストールしてみた。 最初は Debian sarge のマシンに CPAN からインストールしようとしたが、 あれがインストールできないこれがインストールできないと2時間経っても インストール完了が見えてこなかったので、 あきらめて sid 環境に apt でインストールしたら5分で完了した。 変な気を起こさずに最初からこうしておけばよかった。 170個近い依存パッケージがずらっと出てくるのは壮観。 参考: Debian に Plagger をインストール 実は、インストールした後も YAML のインデントを間違えて10分くらい悩んでしまった。 sarge にも入れた sid 環境は apt で楽々入ったものの、 結局がんばって sarge 環境にも入れた。 何となくグローバル環境を汚したく
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
いまPla*1 その3です。 その1では「Filter::EntryFullText」について、その2では「CustomFeed::Config」について扱ってきました。今回はCustomFeed::Configで抽出したいサイトが複雑な場合にどうやって対応するかということに焦点を当てていきます。 その2ではサンプルとしてまなめはうすさんからニュースのタイトル、コメント、リンクを抽出するyamlファイルを作成しましたが、紹介したファイルでは日付が変わる部分での取得がうまくいかない、またニュースしか取得できないため雑記を読むことができないという欠点がありました。1つめに関しては正規表現を工夫すればなんとでもなりますが、2つめに関してはニュース部と日記部分でパターンそのものが違うので取得することが難しそうです。特に2つめの問題を解消する方法に関して取り扱います。 その2で作ったCustomFe
Plagger::Plugin::Publish::Gmail [error] Error while sending emails: Undefined subroutine &MIME::Lite::extract_addrs called at C:/Perl/site/lib/Plagger/Plugin/Publish/Gmail.pm line 217. 上記エラーを力わざで解決. どうせアドレスなんて固定だから,Gmail.pmを直接書き換えればいいかと. コードは以下. 修正したところは,extract_addrsを含む行をコメントアウトし,直接変数あるいは配列に代入.ろくにCCもないからそこも全部カット. で動いた. # hack MIME::Lite to support TLS Authentication *MIME::Lite::send_by_smtp_tls
m コマンドでモジュールの情報を調べます。 $ cpan ... snip ... cpan[1]> m DBIx::DBSchema Module id = DBIx::DBSchema DESCRIPTION Database-independent schema objects CPAN_USERID IVAN (Ivan Kohler <ivan-pause@420.am>) CPAN_VERSION 0.33 CPAN_FILE I/IV/IVAN/DBIx-DBSchema-0.33.tar.gz UPLOAD_DATE 2007-06-29 DSLIP_STATUS bmpOp (beta,mailing-list,perl,object-oriented,Standard-Perl) INST_FILE (not installed) 現在のメンテナの PAUSE ID が
ここではWebminをSSLで使用する場合の手順を説明しています。SSLを使用するには管理画面でSSLが利用可能になっている必要があります。 ■Net_SSLeayのインストール webminでSSLを利用するために、Net_SSLeayのインストールをします。Net_SSLeayはCGIからのSSLの利用を可能にする物です。 [admin admin]$ wget http://search.cpan.org/CPAN/authors/id/S/SA/SAMPO/Net_SSLeay.pm-1.25.tar.gz [admin admin]$ tar xzf Net_SSLeay.pm-1.25.tar.gz [admin admin]$ cd Net_SSLeay.pm-1.25 [admin Net_SSLeay.pm-1.25]$ perl Makefile.PL [root Ne
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く