ボケて用のconfig.yamlです。


  • フィード無いのでscraperでとってきてます。多分寿命は短いと思う。

  • scraperのネストの扱いが分からなくてハマった。

  • フィードの配信が待ち望まれるところ。

  • フィールド追加するより、titleなどの既存のフィールドに入れちまった方が良いのかしら?



name: BoketeAS
id: boketeas
key: BoketeAS
author_link: http://blog.aklaswad.com/
author_name: aklaswad
description: Adds profile service and activity stream for Bokete.jp
version: 0.1
profile_services:
bokete:
name: Bokete
url: http://bokete.jp/user/%s
icon: images/bokete.png
action_streams:
bokete:
bokes:
name: Bokes
description: stream you boked
fields:
- boke
html_form: '[_1] boked <a href="[_2]">[_3]</a>'
html_params:
- url
- boke
url: 'http://bokete.jp/user/{{ident}}'
identifier: boke
scraper:
foreach: div.odai530
get:
boke:
- 'h3'
- TEXT
url:
- '//p[2]/a[position()=last()]'
- @href


とっくにフィード吐くようになってるみたいですね。。。そのうち。。。