RSS

asahicom2pod

RSS

http://matatabi.homeip.net/app/asahicom2pod_0.2 http://matatabi.homeip.net/blog/setomits/162 同じような時にほとんど同じものを書いているなんて、びっくりしましたよ... 参考にさせていただきます。

myrsses2html.py

RSS

http://matatabi.homeip.net/blog/setomits/169 ふーん。Python的には、こういう風に書くのがいいのか。作ったのをちっと改良しなきゃな。

feedparser のエラーはどうやってトラップしたらいいのだろう...

RSS

関数がなにもないかなりヘタレなpythonコードを書いてしまいました。なんてこったい... 電車通勤の人には、けっこう便利そうな感じのものになりました。車だと関係ないな。 ところで、rssの配布サイトが落ちてたりした場合、feedparserはどうやってそれを知…

rssparser.py Ultra-liberal RSS parser

RSS

http://diveintomark.org/archives/2002/08/13/ultraliberal_rss_parser これは、2.0が使えない。

Rss aggregator with twisted

RSS

http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/277099 twisted と feedparser を使ったアグリゲータ。

SpycyRoll

RSS

http://spycyroll.sourceforge.net/ これもアグリゲータ。これはよさそうかも。

Python RSS Code

RSS

http://www.python.org/moin/RssLibraries feedparser を使ったサンプルがある。

rawdog

RSS

http://offog.org/code/rawdog.html feedparser を使って書かれたアグリゲータ。これも RSS2 も対応とあるなぁ...

PyRSS2Gen ってのも

RSS

http://www.dalkescientific.com/Python/PyRSS2Gen.html こっちも作る方ですね。でも、なんかベタにほとんどの情報を入れているような...

pyrss2 ってのがあったのだけど

RSS

http://pyblosxom.sourceforge.net/blog/registry/syndication/pyrss2plugin pyblosxomの送り出し側のpluginでした。

feedparser を開いてみたりする

RSS

どのみちpythonは書けないのだけどね。 コメントがコードのかなりの部分を占めるほど親切な中身になっている。末尾にはchangelogまで付いている。 mxTidy: http://www.egenix.com/files/python/mxTidy.html を使った HTML 書き出し処理もサポートしている。…

まぬけのスペルミス

RSS

>>> d してみたら、含まれていたので、無視しているわけではないらしい。 単なるスペルミスでした... orz. >>> e.enclosures [{'url': u'http://iplusone.org/audiocast/tokyo_calling_011.mp3', 'length': u'12456166', 'type': u'audio/mpeg'}] でも、e.en…

RSS2.0 のは取れるか?

RSS

>>> d = feedparser.parse("http://tokyocalling.org/index.xml") >>> d.encoding 'iso-8859-1' >>> d.feed.link u'http://tokyocalling.org/' >>> e = d.entries[0] >>> e.title u'Rewrite the History Book??' >>> e = d.entries[1] >>> e.title u'Tokyo C…

podcasting サイトの RSS をパースしてみる

RSS

ぐぐって、手近に出てきたサイトをチェック。 >>> d = feedparser.parse("http://radio.preston-net.com/rss.xml") >>> d.encoding 'shift_jis' >>> d.feed.title u'Going My Way RADIO' >>> e = d.entries[0] >>> e.title u'Going My Way RADIO 2005-02-14'…

If-Modified-Since

RSS

このへんは、feedpaser がよしなにやってくれるのかな... そんなウマイ話はないだろうな。 どっかに履歴データを保持しなくちゃダメだよな。

description

RSS

できれば500バイト以内で、しかもオプションなのか。ニュースの内容まで出してくれているところはないだろうなぁ... http://www.kanzaki.com/docs/sw/rss.html 新聞屋さんはダメみたいだけど、オンラインニュース系はdescriptionまで入っているところがある…

feedparser を入れてみる

RSS

ちょっと必要そうだったので、RSS データ取得のテスト。 # wget http://jaist.dl.sourceforge.net/sourceforge/feedparser/feedparser-3.3.zip # unzip feedparser-3.3.zip # cd feedparser # python setup.py install まぁ、入れるのは簡単だよな。でも、de…