Jintrick.netagenda2004年02月アーカイブ → 2004年02月03日

Universal Feed Parserの紹介

RSS 0.9x, RSS 1.0, RSS 2.0, Atom feedsを扱えるらしい。

If XML parsing fails due to well-formedness errors in the feed, it will set the bozo bit in the result, and store the first XML parsing error in bozo_exception. Then it will automatically fall back to the 2.x-style parser based on regular expressions.

ここだけ何とかして自分のに組み込んでみたいな。Pilgrim氏の「経験」によると、妥当性検証器に引っかかるのは大抵「well-formedな糞」か、さもなくばちょっとしたミスが無ければ通った筈の非well-formedな文書なのだそうな。


webmaster@jintrick.net
公開: 2004年02月03日
カテゴリ: 他のXML周り