CPANããPlaggerãããã
ubuntuã«Plaggerããã¦ã¿ãã
ã¤ã³ã¹ãã¼ã«ã¤ãã§ã«Rootã«ãªãæ¹æ³ãããã£ãã®ã§ãããããã¯Sudoãããªãã¦Rootã«ãªããã¨ãããubuntuã¯ã¦ã¼ã¶ã¼ã®PATHã«suãå ¥ã£ã¦ããªãã ãã ã£ãã
usr>sudo su root //rootã§Go root>cpan .. cpan>o conf urllist push htp://any.cpan.ring.server //kddiãé¸æãã cpan>o conf commit cpan>quit root>cpan install Plagger < /deb/null ....
Plaggerã®ã¤ã³ã¹ãã¼ã«ã®é·ããã¨ããã¾ãã«ã®é·ãã«éä¸ã§é£½ãã¾ããã
CPANã®è¨å®ã«å¤±æããã
>perl -V //Perlã®@INCãç¢ºèª >rm /usr/local/share/perl/5.8.8/CPAN/Config.pm
ã§è¨å®ããã¦Go
aptitudeãå¿ è¦
ubuntuã§CPAN使ã£ããã¨ç¡ãã®ã§CPANã¤ã³ã¹ãã¼ã«é¢ä¿ã®ã¨ã©ã¼ããã£ã±ããã
ã¨ããããããã¯aptã§å
¥ããªãããã¡ã£ã½ãã
root>aptitude install libxml2 libxml2-dev root>aptitude install expat libexpat-dev
sudoããªãã¦è¯ãã®ã¯æ¥½
usr>sudo su root //rootã«
ãã¯ãubuntu desktop使ã£ã¦ãæå³ãç¡ããªã£ã¦ããã
CPANã¢ã¸ã¥ã¼ã«å¤ãã
Plagger使ãããã«ã¤ã³ã¹ãã¼ã«ããCPANã¢ã¸ã¥ã¼ã«å¤ããã¦ä½å ¥ããããã¡ã¢åã£ã¦ãããªããè¦ãã¦ãããªãããªããXMLé¢ä¿ã大äºã ã£ãè¨æ¶ãããã
>aptitude install plagger
ã§ä¾åã¢ã¸ã¥ã¼ã«è§£æ±ºï¼ç°¡åã¤ã³ã¹ãã¼ã«æ¥ãæ¥ã夢è¦ãã
Gmail Notifyãåããªãã
assets_path: /home/cafe/plagger/assets
ã¨ããããPlaggerã¯
/home/cafe/plagger/assets/common/
ã«ãããã¡ã¤ã«ãæ¢ãã«è¡ããããããªã¬ãããããªãããããªãã¨ï½ãå¿ æ»ã«ã½ã¼ã¹èªã¿ã¾ããã
ãªã®ã§
root>ls ./.cpan/build/xxxx/plagger/xxxx/gmail_xxx.tt //å¿ è¦ãªãã¡ã¤ã«ãçºè¦ >cp ./.cpan/build/xxxx/plagger/xxxx/gmail_xxx.tt ./plagger/assets
xxxã£ã¦ãªã£ã¦ãã¨ããã¯ããè¦ãããCPANã®ãã«ããã£ãã·ã¥ã«ãã¡ã¤ã«ããããããããã³ãã¼ãã¦ããã
Publishå´ã«ã Publish::Scriptã欲ãã
ãã£ããPublish::Pipe
Filterå´ã« Filter::Scriptãç¡ãã®ãï¼
調ã¹ã¦ã¿ã
ãã£ããFilter::Pipe
Plaggerãã¹ã¯ãªãããKick
CustomFeed::Script/Publish::Pipe/Filter::Pipeãããããè¨èªéä¾åã«ãªã£ã¦å¬ãããªãPerlãããªãPHPã¦ã¼ã¶ã¼*1ãYAMLæ¸ãã°CPANã®æ©æµã«ä¸ããããèªåã®å¾æãªè¨èªã§ã«ã¹ã¿ã åºæ¥ãããã¾ããã¤ãã¼è¨èªã®ã¢ã¸ã¥ã¼ã«ãå ±æã§ãããããPearã«Plaggerã«ãã´ãªåºæ¥ããããã
ã¨ããããPlaggerã®ã©ãããã§ãScriptããã¯åºæ¥ããªãPlaggerã®ã¯ãã¼ã³ã¨ããããªããï¼
Plaggerã¯WEB OSï¼
PlaggerãUNIX Pipeã®WEBçã ã¨ããã
ããã¯ãã¼ã¯ã¯ã·ã³ããªãã¯ãªã³ã¯ã ãã
ãã®ãã¡SVNã®ã½ã¼ã¹ãç´æ¥æ¯åEVALããç¡è¶ãªã¹ã¯ãªããã¨ãå½ããåã«ãªããã ãããªã
ã¨æã£ã
CustomFeedããã¯Subscriptionã使ãæ¹ãã¤ã¤ã£ã½ãï¼
http://subtech.g.hatena.ne.jp/miyagawa/20061006/1160122942
Domain 失å¹æ
å ±ã RSS/iCal ã«
ãè¦ã¦ããã¨ã
plugins: - module: Subscription::Config config: feed: - script:/home/miyagawa/tmp/domain-expire.pl - module: CustomFeed::Script - module: Publish::Feed .....
ãªãã§ãããã¨ãããã¨ã¯Subscription::Config㧠Script:ã§æ¸ãã°ãï½ï¼