Trac用FeedUpgrader
勢いに乗ってもうひとつ。Tracのチェンジセット用EntryFullTextです。
今後はEntryFullText用パターンファイルをFeedUpgraderと呼んでみます*1。
以下をassets/plugins/filter-entryfulltext/trac_chengeset.yamlへ保存してください。
1 # upgrader trac changeset feed
2 author: Nobuhito Sato
3 handle: http://.*/trac/changeset/
4 extract: ((?:<dl id="overview">).*?</dl>)
5 extract_capture: body
これで更新ログメッセージだけでなく、
- Timestamp:
- Author:
- Message:
- Files:
を取得できます。
と思ったら、bloglines経由ではalready contains body. Skippedとなり、取得できないみたいです。Subscription::Configに指定したtracのfeedでは書き替えるみたいなのに…。
*1:miyagawaさんがこう呼んでるそう