3/18 æ¥(http://d.hatena.ne.jp/amt/20050318/firefox)ã«ãfirefox ã®textarea ã®ãã¼ãã¤ã³ãã®ã¿ emacs 風ã«ãã¦ã¿ãã®ã ãããããããã¨firefox ä¸ã®ä»ã®æä½ããemacs ãæèãããã¼ãã¤ã³ãã«ããããªã£ã¦ããã Google ã£ã¦ã¿ãã¨ãvi-like ãªãã¼ãã¤ã³ããå ¬éãã¦ãããã(http://www.calmar.ws/firefox/index.php#keyconfig)ã¯ããã®ã ããemacs-like ãªã®ã¯è¦ä»ãããªãã£ããä»æ¹ãªãã®ã§ãèªåã§æ¤è¨ãã¦ã¿ãã 以ä¸ã®è©±ã¯ keyconfig extension ãå°å ¥ãã¦ãããã¨ãåæ keyconfig extension ã¯ãhttp://extensionroom.mozdev.org/more-info/keyconfig ããææ°çã
Jeff Atwood / éæ¨é 訳 2007å¹´3æ22æ¥ ä»¥ä¸ã«ç§ã®é¸ã¶ããã°ã©ãã³ã°ã®6大10é ç®ãªã¹ããæãã¦ãããåãä¸ããé åºã«ã¯ç¹ã«æå³ã¯ãªãããã®ã¨ã³ããªãç°¡æ½ãªãã®ã«ãã¦ããããã®ã§ãããããã®é ç®ã¯çãè¦ç´ãå¼ç¨ããã«çãããèå³ãå¼ããã®ãããã°ããã²ãªã³ã¯ããã©ã£ã¦ãªãªã¸ãã«ã®ä½è ã®èãã«ã¤ãã¦ãã£ã¨è©³ããèªããã¨ããå§ãããã [ 訳注: è¦ç´ã ãã§æå³ãåãã«ãããã®ã«ç°¡åãªèª¬æãã¤ããã] ã¸ã§ã©ã«ãã»ã¯ã¤ã³ãã¼ã°ã®ï½¢ã¨ã´ã¬ã¹ããã°ã©ãã³ã°ã®åæï½£ èªåã誤ããç¯ãã¨ãããã¨ãç解ããåãå ¥ããã㨠ã èªåã¨èªåã®ã³ã¼ãã¯å¥ç©ã§ããã ã©ããªã«ï½¢ç©ºæï½£ãå¦ã¼ãã¨ããã¤ã§ãããªããããã£ã¨è©³ãã人éãããã ç¸è«ããã«ã³ã¼ãã®æ¸ãç´ ããããªãã èªåããç¡ç¥ãªäººã«å¯¾ãã¦ãå°æ¬ã¨æ¬æã¨å¿èãæã£ã¦æ¥ãããã¨ã ä¸çã§å¯ä¸å¤ãããªãã®ã¯å¤ããã¨ãããã¨ã ãã å¯
Javaè¨èªã¯ã¢ã¡ãªã«ã®Sun Microsystems社ãéçºãããªãã¸ã§ã¯ãæåããã°ã©ãã³ã°è¨èªã§ãï¼ ãã®è¨èªã®æ大ã®ã¦ãªã¯"Write once, run anywhereï¼ä¸åº¦æ¸ãããã©ãã§ãåãï¼"ã¨ãããã®ã§ãï¼ æ®éï¼ããã°ã©ãã³ã°è¨èªã¯OSã«ä¾åããé¨åããã£ã¦ï¼ ãã¨ãã°Linuxä¸ã§ä¸æãåãããã°ã©ã ã§ãã½ã¼ã¹ãWindowsã§ã³ã³ãã¤ã«ãã¦ããã®ã¾ã¾ã§ã¯ã¡ããã¨åããªãå ´åãå¤ãã§ãï¼ Javaè¨èªã¯Java VMï¼ä»®æ³ãã·ã³ï¼ã¨ãããã®ã OSã¨ããã°ã©ã ã®éã«ã¯ã³ã¯ãã·ã§ã³ç½®ããã¨ã§ï¼æ§ã ãªç°å¢ã«å¯¾å¿ãããã¨ã«æåãã¦ãã¾ãï¼ è¦ããã«Java VMããããã°ï¼éã«è¨ãã¨Java VMããªããã°åãã¾ãããï¼OSãåããã«ï¼ ããã«ã¯ã¢ãã¤ã«PCã§ãæºå¸¯ã§ã家é»ã§ãï¼ã©ããªç°å¢ã§ãåãããã°ã©ãã³ã°è¨èªã§ãï¼ Linuxä¸ã§Javaè¨èªãæ¸ãããã³ã³ãã¤ã«ã
ãèªåèªããï¼æ¨ãã®åæ¥ã«ãã㦠. ç§ã®1æ¨ãããããããã¨ææ¨ç±ç´ã¡ãããã17å¹´ã«æ¸¡ãå¨ç±ããAKB48ãåæ¥ãããã¨ã«ãªã£ãã ãã®æ©ä¼ã«ãããããæ¨ãï¼48ãã¡ã³ï¼ã¨ãã¦ã®èªåèªèº«ã®ãã¨ããã¹ã¦ã¯ä¸å¯è½ã§ãããã®ã®æ¯ãè¿ããã¨æãã å 容ãããã¦ä¸ä»£ãããããã¨ãä»æ¹ãªãããéããªãã¼â¦
Stateful programmatic web browsing in Python, after Andy Lesterâs Perl module WWW::Mechanize. mechanize.Browser and mechanize.UserAgentBase implement the interface of urllib2.OpenerDirector, so: any URL can be opened, not just http: mechanize.UserAgentBase offers easy dynamic configuration of user-agent features like protocol, cookie, redirection and robots.txt handling, without having to make a n
â String#scrape ã©ãããåãã¯ããã ããscrAPI ã¯å¼·åã ããããããèªåãã¾ãã«å¾ æãã¦ãéå ·ã使ãããªããï¼ã¨ææ°è¾¼ãã§ããã ãã©ãã©ãã ã決æãã¦ããã®è¤éãªå¼æ°ã«æ¯åæ«æãã¡ãã£ã¦ãæ«æã¤ã¼ãã¡ãã£ã¨ä½¿ãããã ããªã®ã«ãã¼ã¶(Scrape)ç¨ã®ã¯ã©ã¹ãå®ç¾©ããã®ãé¢åãªãã ãããã¿ãããªè¨ã訳ãæ¯åèªåã«ãã¤ã¤ãçµå±ä½¿ãããªãã¦ãªãè³å ãã¨ãä¸ä»£ã®ãåããªãã ãã©ãã¾ãå®éå¼æ°ã«ç¡é§ã«è²ããªæ©è½ãè©°ãè¾¼ã¿éãã¦ãæã¯å¦ããªãããã¨ãããextractorã®srcã¨dstã¯ã©ãè¦ã¦ãç´æçã«éã ããgrepã¿ããã«ä½¿ãããã使ããªã1ã ãªãã¿ãããªæç´ããã¼ãã¦ããããããCSS3ãªgrepã¨ãã¦ä½¿ããã ãã§ããäºã«æ°ä»ãã¦ãYouãStringã¯ã©ã¹ã«å ¥ãã¡ãããªYOï¼ String#scrape ã®å®ç¾© require 'scrapi' class Strin
â [ruby] Rubyã§HTMLã¨Webãæä½ããããã®ã©ã¤ãã©ãªãHpricotã¨WWW::Mechanize ä»æ¥ã¯ãRubyã§Webãµã¤ãã解æããã¨ãã«å¼·ãå³æ¹ã¨ãªãã©ã¤ãã©ãªãHpricotã¨WWW::Mechanizeãç´¹ä»ãã¾ãã ã©ã¡ããé常ã«å¼·åãªã®ã§ãè¦ãã¦ããã¦æã¯ãªããï¼ ä»¥ä¸ã§ã¯ã¾ãHpricotã§HTMLã解æã»ç·¨éããæ¹æ³ã«ã¤ãã¦è§£èª¬ãã¾ãã 次ã«ããã¯ã¦ãªãã¤ã¢ãªã¼ã®èªåæ´æ°ããä¾ã«WWW::Mechanizeã®ä½¿ãæ¹ã解説ãã¾ãã Hpricot Hpricotã¯HTMLã解æããããã®ã©ã¤ãã©ãªã§ãã ä¾ãã°ããããã¼ã¸ã®ãªã³ã¯ã ããå ¨é¨æãåºããããã¨æã£ãã¨ããã©ããã¾ããï¼scrAPIã使ãï¼ã§ãscrAPIã¯ãã£ã±ã ã¡ãã£ã¨ä½¿ãããã ããªã®ã«ãã¼ã¶(Scrape)ç¨ã®ã¯ã©ã¹ãå®ç¾©ããã®ãé¢åãªãã ããï¼ Hpricotãªãããã£ãããã ãã§
ã¹ã¯ã¬ã¤ãã³ã°ããã£ããã¨ãããã²ã¨ãªãã°ãããã¨æããã©ãã¹ã¯ã¬ã¤ãã³ã°ã¯ã¨ã¦ãã¤ã¾ããªãä½æ¥ã ã HTMLã®ä¸ããæãåºãããé¨åãè¦ã¤ãã¦ããã®å¨è¾ºã«ããç¹å¾´çãªé¨åã«çç®ãã¦æ£è¦è¡¨ç¾ãæ¸ããããã¦æãåºãããããã¯HTMLããDOMãçæãã¦ç¹å®ã®ã¯ã©ã¹ãã¤ãã¦ããã¨ã¬ã¡ã³ããæãåºããããããHTMLãXHTMLã«æ´å½¢ãå¤æãã¦XPathã§æãåºãæ¹æ³ããããã©ã®æ¹æ³ããããã¨ã¯åç´ã§ç°¡åãªãã¨ã ããã©ã極ãã¦ããã©ãããã ãããããã®ã ã¨æã£ã¦æ°å¹´ééããã¦ããããã©ãå»å¹´ã®å¤ã«åºã¦ãã Dapper: The Data Mapper ã¯ããããªéå±ãªå¸¸èãã¢ãã¼ã³ãªajaxã§ãã£ã¦å¹ãé£ã°ãããããDapperãã©ããªã®ãªã®ãç¥ããªãã£ãããã¡ãã£ã¨é·ãã¦ã¯ããéå±ãªãã ãã© ãã¢ã ã¼ãã¼ ãè¦ã¦ã¿ã¦ãã ããã Dapperãæãã¦ããããã¨ã¯ãã¹ã¯ã¬ã¤ãã³ã°ãªãã¦ã欲ã
Twitter Facebook B! Bookmark LINE Pocket Feedly HTMLãã¹ã¯ã¬ã¤ãã³ã°(scraping)ãã¦ããããã¨ããã¨ããåã¯ãã£ã¨æ£è¦è¡¨ç¾ã«é ¼ã£ã¦ããã®ã§ããã ãã¼ã¸ã®æ§é ãå¤åããã¨ããã«ä½¿ããªããªã£ã¦ãã¾ãããæéããããå²ãã«éå±ãªä½æ¥ãªã®ã§ä½ã¨ããªããªãããªã¨æã£ã¦ãã¾ããã PHPã§æ¢ãã¦ããã®ã§ãããXML(ã¨ãRSS)ããã¼ã¹ããé¢æ°ãã©ã¤ãã©ãªã¯ãè¯ãç®ã«ãããã®ã®ãHTMLãå¦çã§ãããã®ã¯ãªããªãè¦ã¤ããã¾ããã§ããã 以ä¸ã¯ãPHP(ã¨ãRubyãPerl)ã§HTMLãã¹ã¯ã¬ã¤ãã³ã°ããããã¼ã¹ããããã®æ¹æ³ã PHPã§ã¹ã¯ã¬ã¤ãã³ã°ï¼ãã¼ã¹ HTMLãæ´å½¢å¼ã®XMLææ¸ã«ä¿®æ£ããPHPã¯ã©ã¹ HTMLããæ´å½¢å¼ã®XMLã«å¤æãã¦ãããã©ã¤ãã©ãªãPEARã®XML_HTMLSax3ãå梱ããã¦ããã®ã§ãããã ãã§ã¡ããã¨å
perlå°ããWebã¢ããªã®ãã¼ã¿ã¹ãã¬ã¼ã¸ã¨ãã¦ã¯SQLiteãç°¡åãªé¸æè¢ã¨ãã¦ã¯ããã§ãããæ±ããã¼ã¿ãç·¨éããå¿ è¦ãããã®ã§ç®¡çãã¼ã«ãä½æããå¿ è¦ãããã¾ããå°ããã¢ããªç¨ã管çãã¼ã«ãä½ãã®ã£ã¦é¢åã§ããæè¿ã¯ãããã§railsã§ãããã¨ããæµãã«ãªããã§ãããããã¨ã¯ã»ã«ããã¼ã¿ãã¼ã¹ã¨ãã¦æ±ãããã«ãã¦ã¿ã¾ãããã¼ã¿ã®ç·¨éæ¹æ³ã¯ãã¨ã¯ã»ã«ã§ç·¨éãã¦ä¸æ¬ã¢ãããã¼ãã®ã¿ã«ãã¦ãã¾ãã¾ãw ã¨ã¯ã»ã«ãèªã¿ããperlã®ã©ã¤ãã©ãªã¯ããã¤ãããããã§ãããSpreadsheet::ParseExcelSpreadsheet::ReadSpreadsheet::BasicReadSpreadsheet::BasicReadNamedColã©ãããããã§ãããããæ¯è¼ãã¦ããã¦ãã²ã¨ããªãããªï¼ Spreadsheet::ParseExcelã試ãã¦ã¿ãããäºæ³ããç°¡åã ã£ãã以ä¸ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}