LDR Full Feedã®siteinfoã使ã£ã¦ãã£ã¼ããå ¨æå ¥ãã«upgradeããPlagger::Plugin::Filter::EntryFullText::SiteInfoï¼2008/2/27ä»æ§å¤æ´ï¼
LDRã§gãæ¼ãã°å
¨æåºã¦ããã¹ãããªLDR Full Feedã ãã©ãå人çã«ã¯自作の自動抽出のãã¤ãã£ã¦ãã®ã§ãããªã¼ã¨æããªããæããããã¦ãã®é²åãè¦ã¤ãã¦ãã¾ãããã 本文XPathのsiteinfoã¯ãã®ããã使ããããªã®ã§ãã¨ãããã試ãã«Plaggerã§ãã ã®ãããã¦ããããã¨ã«ãã¾ãããsiteinfoã¯ãã£ãã·ã¥ãã¦ãªãã®ã§ã¡ãã£ã¨ã¾ãããããããªããã©ããã¶ããã®ãã©ã°ã¤ã³ã使ã人ã¯ã»ã¨ãã©ããªãã®ã§å¤§ä¸å¤«ã§ããããsiteinfoã®åå¾ãPlagger::UAã使ãããã«ãã¾ãããããã§ãã£ãã·ã¥ã§ãã¦ãï¼ ã¨æãâ¦ã
lib/Plagger/Plugin/Filter/EntryFullText/SiteInfo.pm
å
ã®EntryFullTextã¯ç¶æ¿ãã¦å
¨æ©è½ããã®ã¾ã¾åãããã«ãªã£ã¦ãã¯ãã§ããä»ã¤ãã£ã¦ãconfig.yamlã®module: Filter::EntryFullTextã®è¡ãå
¥ãæ¿ãã¦ãã ãããããããä¿®æ£ããã¤ãã§ã«ãã確èªãã¦ã¿ããEFTç¶æ¿é¨åãã¡ããã¨åãã¦ãªãã£ãï¼ ç³ã訳ãªãâ¦ãã¨ãããã¨ã§ãã®ã¸ãçé¢ç®ã«å®è£
ãããã¨ãã¦assetså¨ããèªãã§ã¿ãã¨ããããªãããã©ãããããªã®ã§ãã¦ã£ã¨ãã°ããEFTãæµç¨ããããã«class_idå½è£
æ©è½ãã¤ãã¾ãããimpersonateã1ã«ããã¨ã¾ãã§ãã®ã¯ã©ã¹ãPPF::EntryFullTextã§ãããã®ããã«ãµãã¾ããassets/plugins/Filter-EntryFullText以ä¸ã«ãããã¡ã¤ã«ãèªãããã«ãªãã¾ããã¨ããããåé¡ã¯ã§ã¦ãªããã§ããããããªãã¨ããã§ã¾ãããã¨ã«ãªã£ã¦ãããªæ°ãããã®ã§ããã©ã«ãã§ã¯åããªãããã«ãã¦ããã¾ããEFTãå®å
¨ã«å
¥ãæ¿ãã¦æ¢åã®assetsãå¤æ´ãããã¨ãªã使ãããå ´åã ã1ã«ãã¦ãã ããã
ãã¡ããassets/plugins/Filter-EntryFullText-SiteInfoã£ã¦ãã£ã¬ã¯ããªãã¤ããã°å¤§ä¸å¤«ãªã®ã§ãEFTã®feed-upgraderã使ãããå ´åã¯ä¸ã®ãããª2ã¤ã®ããæ¹ããããã¨ã«ãªãã¾ããã¨ããããå人çã«ã¯å½è£
ãã¦ãã£ã¦ã¿ãã¤ããã
- impersonate:1ã«ãã¦assets/plugins/Filter-EntryFullTextã«ç½®ããã¾ã¾ï¼ãããï¼
- impersonate:0ã«ãã¦assets/plugins/Filter-EntryFullText-SiteInfoãä½ã£ã¦assets/plugins/Filter-EntryFullTextã®ä¸èº«ãã³ãã¼ããï¼å®å ¨ï¼
config.yaml
plugins: - module: Subscription::Config config: feed: - url: http://kawamurayukie.cocolog-nifty.com/blog/ - module: Aggregator::Simple - module: Filter::EntryFullText::SiteInfo config: impersonate: 0 # ããã1ã«ããã¨EFTã®assetsãèªããã©â¦ force_upgrade: 1 - module: Publish::Gmail