inside LDR (1)ï¼malaï¼
- LDRï¼Livedoor Readerï¼ã¯ãAPIããããã®å®è£ ãã¾ãå ¨APIãå ã«ä½ãï¼LDRã¯ãã®APIã使ã1ã¯ã©ã¤ã¢ã³ãã
- ä¾ãã°Bloglinesã¯APIãå ¬éãã¦ãããï¼ããã使ã£ã¦Bloglinesãå®è£ ã§ããããã§ã¯ãªãï¼éæ¾ããã¦ããªãæ©è½ãããã
- APIã決ã¾ã£ã¦ããã°ï¼ãµã¼ãå´ï¼ã¯ãã¼ã©ã¨ãDBãã¥ã¼ãã³ã°ã¨ãï¼ã¨ã¯ã©ã¤ã¢ã³ãå´ï¼JavaScriptã¨ãï¼ã§åæ¥ã§ããã
- LDRã§ã¯å ¨ãã¼ã¿ãJSONã§ããã¨ããããæ±ãããããå°ããããµã¼ãè² è·ãä½ãã
- Behavior.jsã¯htmlãã¼ãæã«DOMã解æãã¦ã¤ãã³ããããã¯ãããLDRã®ããã«ç»é¢æ¸ãæããé »ç¹ãªã¢ããªã§ã¯ï¼ãã®ãã³ã«èµ°ããªããã®ã§è² è·ã大ããããã
- ã¤ãã³ããã¾ã¨ãã¦æã¾ãã¦ï¼ã¤ãã³ãå ãè¦ã¦å¯¾å¿ããå¦çãè¡ãããã«ãã¦ãã
- ã§ãããããã¨htmlã®æ¸ãæ¹ã«å¶éãåºã
- onMouseClick= ç´æ¸ããªã©ã§å¯¾å¿ã
- ã¤ãã³ããå²ãå½ã¦ãé¢æ°ã§ã¯ï¼æ»ãå¤ã«ã¤ãã³ããåé¤ããã¯ãã¼ã¸ã£ãã»ããããããã«ãã¦ããã
- ä¾å¤ãç¡è¦ãã¦å®è¡ããé¢æ° _try
- ä¸ç¹å®å¼æ°ãã¨ããé¢æ°
- 1ã¤ã§ãè¤æ°ã§ãé åã§ãé åã®é åã§ãOK
- rubyã¿ããã«flattenãã¦å¦çãã
- LDRã®ã½ã¼ã¹ã³ã¼ãã¯å¥ã«é ãã¦ããªãã®ã§èªãã§ã
- Q&A
- Q : ã¯ã©ã¤ã¢ã³ãã¯ä½äººã§ä½ã£ã¦ã¾ããï¼
- A : ä¸äººã§ããã ãã°ã©ãã£ãã¯ãã¶ã¤ã³ã¯å¥ã®äººã