ã¯ã¦ãªããã¯ãã¼ã¯ã®ãããã¨ã³ããªã¼ã¨ããkindleã§èªããããã«ããã
ã¨ãããã¨ã§ãkindle 3ãå±ããã®ã§ãæå§ãã«ã¯ã¦ãªããã¯ãã¼ã¯ã®ãããã¨ã³ããªã¼ãkindleã§èªããããã«ãããï¼ ã¨é å¼µã£ã¦ã¿ã¾ãããçµè«ããããã¨ãã¾ã èªããããã«ãªã£ã¦ãã¾ãããããä½å²ãã¯èªããããã«ãªã£ãã®ã§ãå ±åã§ãã
kindleã®Homeç»é¢ã
ç®æ¬¡ãä½ã£ããæ¼ãã¨ãã®è¨äºã¸è·³ã¶ï¼ æ®éã ï¼
ã¨ã³ããªæ¬æãåã®æºå¸¯ã«ã¡ã©ãããã¼ãããã§ãªãã ã綺éºã«è¦ããªãã§ãã綺éºãã¨ãããèªã¿ãããããã¨å¤¢ã¯å¤§äºã§ãããï¼ åã夢ã¯æ½°ãããããªãã§ãï¼
ç»åãå½ç¶ç½é»ã§ãããåºæ¥ãéãåãè¾¼ãã§ã¿ã¾ããã
æåã¨ãã¦ã¯
- RSSãåãã«è¡ã
- titleã¨urlãåç §ãã¦ã¨ã³ããªæ¬ä½ãåãã«è¡ã
- ç»åãè½ã¨ã
- ã¨ã³ããªæ¬æã½ãæãã®é¨åãHã¿ã°ã¨Pã¿ã°ã®ã¿ã«ãªããããåã£ã¦ããå ¨é¨çµåãã¦ä¸åã®HTMLã«ãã
- HTMLã®ç®æ¬¡ãncxãä¸ç·ã«ã¤ãã
- kindlegenã使ã£ã¦kindleã§èªããå½¢å¼(.mobi)ã«å¤æãã
ã¨ããæãã§ãã
ã½ã¼ã¹ã¯githubã«ç½®ãã¾ãããä»ã²ã¨ã¤ããç解åºæ¥ã¦ããªãã§ãããhttp://github.com/K2Da/sledtr ããåç §ã§ããã¨æãã¾ããsbt + eclipse(ã»ã¼ã¨ãã£ã¿ã¨ãã¦ã®ã¿ä½¿ç¨)ã§ä½ã£ã¦ãã®ã§ãå¤åsbtãå¿ è¦ã§ããeclipseã¯å¥ã«ãããªãã®ããªã
ãã¤ããªã¯ http://github.com/K2Da/sledtr/downloads ã«ããã¾ããproguardã§jarãã¡ã¤ã«ã«scala-libraryãçªã£è¾¼ãã§ããã®ã§ãjreãããã°åãã®ã§ã¯ãªãããªã¼ã¨æãã®ã§ãã確信ã¯ããã¾ããã
ä¸å¿ã
ã¨ããæãã§åãã®ã確èªãã¦ãã¾ãã
java -jar sledtr_2.8.0-0.1.min.jar c:/work/WorkSpace/config.yaml
å¼æ°ã«æ¸¡ãã¦ããyamlã¯jarã¨åããã¼ã¸ã«ãµã³ãã«ãç½®ãã¾ãããæä½éããã¡ã¤ã«ã®ä¸çªä¸ã®
ã®äºã¤ã¯ç·¨éããªãã¨åãã¾ãããä½æ¥ç¨ã®ãã£ã¬ã¯ããªã¨ã.mobiã®çæã«ä½¿ãkindlegenã®ãã¹ãè¨è¿°ãã¾ãã
workdir : c:/work/tdwork
kindlegen : c:/Program Files (x86)/kindlegen/kindlegen.exe
ãã®ãããéã®è¦å(ã¨ä¾å¤)ãåºåãããå¾ãä¸æããã£ã¦ãã°ä½æ¥ç¨ãã£ã¬ã¯ããªã®ä¸ã®ã3c5816d77e9f2bb5262f523b3e5ce26aã¨ãã£ã¦æãã®ãã£ã¬ã¯ããªã®ä¸ã«ãbook.mobiã¨ãããã¡ã¤ã«ãåºæ¥ã¦ããã¯ããªã®ã§ãkindleã«ã³ãã¼ãã¦ãããã¨èªãããã¯ãã§ããã¡ãªã¿ã«ãä½æ¥ãã£ã¬ã¯ããªã®ä¸ã«ã¯ç»åãRSSãHTMLãå ¨é¨ãã£ãã·ã¥ããã®ã§ãæã§æ¶ããªãã¨æ°¸é ã«åãå 容ã®ãã¡ã¤ã«ãçæãã¾ãã
ããæ°æ¥ãçµæ確èªã®ããã«ãããã¨ã³ããªã¼ãèªã¿ã¾ãã£ã¦ãããé ããããããªã£ã¦ããã®ã§ãæ®æ®µRSSãªã¼ãã¼ã§èªãã§ãæã¯ããªãé«æ§è½ãªç¡æèãã£ã«ã¿ãªã³ã°ãåãã¦ãããªã¼ã¨ããã®ãå®æãã¾ããã
ãããã¨htmlãåãã«è¡ãéãããç¨åº¦ééã空ããããã¨ããã®ãä¸åèæ ®ãã¦ãªãã®ã§å³æ¸é¤¨ãµã¤ãã®RSSã«å¯¾ãã¦ä½¿ã£ããããã¨é®æãããã®ã§æ³¨æãã¦ãã ããã