hatebuWatchDog

Description
Make notify hatebu-count when specified site's hatebu-count changed.指定されたサイトのはてブ数を監視、変動があったらお知らせします。
Latest version
1.3.0
Author
snaka
License
MIT style license

for 2.2
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/branches/2.2/hatebuWatchDog.js
for 2.1
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/branches/2.1/hatebuWatchDog.js
for 2.0
not supported
for 1.2
not supported
for Nightly
http://coderepos.org/share/browser/lang/javascript/vimperator-plugins/trunk/hatebuWatchDog.js

Subject

Make notify hatebu-count when specified site's hatebu-count changed.
Usage is just put this script into vimperator's plugin directory.

Global variables

g:hatebuWatchDogInterval
Number. Watching interval. Default:600 Min:60
g:hatebuWtachDogTargets
String. Sites where it wants you to watch.
If you want watch only one site, you should specify like following.
:let g:hatebuWatchDogTargets = "http://d.hatena.ne.jp/snaka72/"
If you want watch more than one site, you should specify like following.
:let g:hatebuWatchDogTargets = "['http://d.hatena.ne.jp/snaka72/', 'http://vimperator.g.hatena.ne.jp/snaka72/']"
g:hatebuWatchDogAlways
Boole. Make notify every time. (for debug) Default:false

概要

指定されたサイトの被はてブ数を監視して、その数値に変動があったらお知らせします。
使い方は、このスクリプトをVimperatorのpluginディレクトリに格納するだけです。

グローバル変数

g:hatebuWatchDogInterval
Number. 監視の間隔(秒). デフォルト600 設定可能な最小値:60
g:hatebuWtachDogTargets
String. Sites where it wants you to watch
監視対象のサイトが一つだけの場合は以下のように設定します。
:let g:hatebuWatchDogTargets = "http://d.hatena.ne.jp/snaka72/"
監視対象のサイトがが複数の場合は以下のように設定します。
:let g:hatebuWatchDogTargets = "['http://d.hatena.ne.jp/snaka72/', 'http://vimperator.g.hatena.ne.jp/snaka72/']"
g:hatebuWatchDogAlways
Boole. 毎回報告を挙げるかどうか。デフォルト:false (主にでバッグ用)

ToDo

  • 新着ブックマークのユーザidとコメントの表示
  • 監視フレームワークにのっける
back to index