2008�N12��30��

[vimperator]Growl���ʒm plugin(�V�C�\��, �͂Ăȃ{�g��, Twitter, Wassr)


Mac �ɂ́AGrowl �‚��ĐF��ȃA�v���P�[�V��������C�x���g��ʒm���Ă����A�v��������BWindows �� Growl �� API �����ʂȃA�v��������ɂ͂���񂾂��Avimperator �Ŏ������Ă݂��B(Growl�Ƃ͔�݊�)

�܂��A�ǂꂾ���V�C�\�񂪍D���Ȃ񂾂��Ęb�Ȃ񂾂��B
Twitter �� Wassr �̂‚Ԃ₫������Ă͏����Ă䂫�A�͂Ăȃ{�g�����C�̑����ɂȂ��Ă����̂𒭂߂Ă���̂��ʔ����B

���ۂ̌����ڂ͂���Ȋ����B

20081230_1.png

�f�t�H���g�ł� 10�b �ŏ�����悤�ɂȂ��Ă�B

�A�v���̍\����

~/vimperator/plugin/_libly.js
notifier.js
notifier/growl.css
observer_growl.js
subject_hatelabo_bottle.js
subject_twitter_scraper.js
subject_wassr.js
subject_weather_yahoo.js

�݂����Ȋ����Ŕz�u����B
���ꂼ��̃t�@�C���̖����́A
_libly.js
�ėp���C�u����
notifier.js
�ύX�ʒmframework
growl.css
������
observer_growl.js
�ύX�ʒm���󂯂� Growl ���ɒʒm����plugin
subject_�c�c
�ύX���m����plugin

�ɂȂ��Ă�B
�ύX�ʒmframework ���g�̃R�}���h�́A:notifierstart, :notifierrestart, :notifierstop ������B�����͂��̂܂܂Ȃ̂ŏȗ��B
���ӓ_�Ƃ��āAsubject_twitter_scraper.js �͎��O�Ƀu���E�U�Ń��O�C�����K�v�BAPI �@���Ă��������ǁA���� Twitter Client �Ƃ̌��ˍ����Ő����ɂ��������Ⴄ�̂��A��������B

�V�C�\��(subject_weather_yahoo.js)�́AYahoo!�V�C��� �̃y�[�W�Ō������āA���ۂ̃s���|�C���g�V�C�\�񂪂��� URL ���ȉ��̂悤�ɐݒ肷��B

liberator.globalVariables.subject_weather_yahoo_urls = [
'http://weather.yahoo.co.jp/weather/jp/27/6200/27127/5300001.html'
];


���́Aobserver_growl.js ��

liberator.globalVariables.observer_growl_settings = {
'Hatelabo bottle': { life: 20, keyword: '�͂Ă�' },
'Weather forecast by Yahoo!': { sticky: true },
'Wassr': { sticky: true }
};

�Ȋ����Őݒ肪�ł���񂾂��ǁA�܂� life(������܂ł̎���) �ƁAsticky(�tⳂ̂悤�Ɂ~�������܂Œ���t��) �����������Ă��Ȃ��B

���̂����C���������炷�邩�����Ȃ������B

�NjL


- 2008/12/30 23:04 twiter �̒ʒm�͂�����Ǝז����I

links


- /lang/javascript/vimperator-plugins/trunk/notifier.js - CodeRepos::Share - Trac ͂ĂȃubN}[N
- /lang/javascript/vimperator-plugins/trunk/notifier - CodeRepos::Share - Trac ͂ĂȃubN}[N
- /lang/javascript/vimperator-plugins/trunk/_libly.js - CodeRepos::Share - Trac ͂ĂȃubN}[N
posted by suVene at 20:51