Livedoor Clip のバグ確認
何も確認しないまま、勝手に Livedoor Clip のバグと決め付けるのもどうかと思ったので*1、今日一日確認スクリプトを走らせて見た。
あらかじめ
wget -O orig 'http://clip.livedoor.com/rss/clips/odz'
として正しい RSS を取得しておいて cron で下記の shell script を走らせる。
#!/bin/bash cd $(dirname $0) diff -u orig <(wget -O - --quiet 'http://clip.livedoor.com/rss/clips/odz')
差分ができるとメールが届くという仕掛け。
毎分実行して、半日たったけどいまのところ異常なし。あんまりやりすぎるのもどうかと思うので、10分に1回にしてしばらく放置しておくことにする。
追記
まだ、他人のクリップを取得してしまう現象は発生してないが、とりあえず変な結果が返ってきた。
こんな diff
--- orig 2006-11-14 14:50:52.000000000 -0500 +++ /dev/fd/63 2006-11-15 00:10:01.897412063 -0500 @@ -2,12 +2,12 @@ <rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xml:lang="ja"> <channel> <language>ja</language> - <title>odzのクリップ - livedoor クリップ</title> - <link>http://clip.livedoor.com/clips/odz</link> + <title> - livedoor クリップ</title> + <link>http://clip.livedoor.com/clips/</link> <generator>http://clip.livedoor.com/</generator> <description></description> - <opensearch:totalResults>979</opensearch:totalResults> + <opensearch:totalResults></opensearch:totalResults> <opensearch:startIndex>1</opensearch:startIndex> <opensearch:itemsPerPage>20</opensearch:itemsPerPage> <item> @@ -15,7 +15,7 @@ <link>http://www.asahi.com/special/061027/OSK200611130054.html</link> <description>体育館で一斉補修。すげえ</description> <pubDate>Tue, 14 Nov 2006 22:40:31 +0900</pubDate> - <author>odz</author> + <author></author> <dc:subject>education</dc:subject> </item> <item> (snip)
クリップの内容自体は問題ないが、opensearch:totalResults と title, link, author といったユーザ固有の情報が吹っ飛んでいる。不思議。
*1:とはいえ、とりあえず現象を確認している人はいるようだが