« EmoticonButton 4 CustomEditorButton2。 | Home | ギターのコード譜を生成するプラグイン作った。 »

October 7, 2008

[ActionStreams]ボケて用config.yaml

ボケて用の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

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

No TrackBacks

TrackBack URL: http://new.aklaswad.com/cgi-bin/mt/mt-tb.cgi/273

Leave a comment

OpenID accepted here Learn more about OpenID

About this Entry

This page contains a single entry by aklaswad published on October 7, 2008 10:51 PM.

EmoticonButton 4 CustomEditorButton2。 was the previous entry in this blog.

ギターのコード譜を生成するプラグイン作った。 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.