CodeZineç·¨éé¨ã§ã¯ãç¾å ´ã§æ´»èºãããããããã¼ãã¹ã¿ã¼ã«ããããã®ã«ã³ãã¡ã¬ã³ã¹ãDevelopers Summitãããã¨ã³ã¸ãã¢ã®çããã¾ããã¼ã¹ãããããã®ã¤ãã³ããDevelopers Boostããªã©ããã¾ãã¾ãªã«ã³ãã¡ã¬ã³ã¹ãä¼ç»ã»éå¶ãã¦ãã¾ãã
1: pepper.xml 2: 3: <?xml version="1.0" encoding="UTF-8" ?> 4: <Module> 5: <ModulePrefs title="Gadgets Pepper" directory_title="Gadgets Pepper" description="" screenshot="" title_url="" author="" author_email="" author_link="" author_location="" author_affiliation="None" scrolling="false" height="230" /> 6: <UserPref name="backcolor"> 7: ãdisplay_name="èæ¯ç»åã®å¤æ´" 8: ãdatatype="enum" 9: ãdefaul
1: ?<?xml version="1.0" encoding="UTF-8" ?> 2: <Module> 3: <ModulePrefs title="Gadgets Pepper" directory_title="" description="" screenshot="" title_url="" author="" author_email="" author_link="" author_location="" author_affiliation="None" scrolling="false" width="210" height="217" /> 4: <UserPref name="backcolor"> è¨å®ã§ãããªãã·ã§ã³ãå®ç¾©ãã¦ãã¾ããGadgetsPepperã§ã¯ãèæ¯ç»åãé¸ã¶ãã¨ãã§ããããã«ãã¦ãã¾ãã 5: ãdisplay_name="èæ¯
Not your computer? Use a private browsing window to sign in. Learn more about using Guest mode
ã¦ã¼ã¶ã»ããªãã¡ã¬ã³ã¹ã®ãã¼ã¿åã«æ°ãã "list" åã追å ããã¾ãããï¼Google Group ã§ã®æ稿 Google Gadgets: New Features and Updates! ã§ã¢ãã¦ã³ã¹ãè¡ããã¾ããï¼ãä»åã¯ã"list" åã®ã¦ã¼ã¶ã»ããªãã¡ã¬ã³ã¹ã®è§£èª¬ãè¡ãã¾ãã "list" åã®ã¦ã¼ã¶ã»ããªãã¡ã¬ã³ã¹ ä¸ã®ç»å㯠"list" ãã¼ã¿åã®ã¦ã¼ã¶ã»ããªãã¡ã¬ã³ã¹ãç·¨éããã¨ãã®æ§åã§ãããªã¹ãã®åé ç®ã®å³ç«¯ã® [x] ãã¿ã³ãæ¼ããã¨ã§ããã®é ç®ãåé¤ãããã¨ãã§ãã¾ããã¾ãããªã¹ãã®é ç®ã¯ããã°ã©ã çã«å¤æ´ãããã¨ãã§ãã¾ãã "list" åã®ã¦ã¼ã¶ã»ããªãã¡ã¬ã³ã¹ãä½æããã«ã¯ã<UserPref> ã® datatype å±æ§ã« "list" ãæå®ãã¾ãï¼ <Module> ... <UserPref name="colors" datatype="
åå㯠Google Gadgets API ãæä¾ãã JavaScript ã©ã¤ãã©ãªã®ãã¡ãã¦ã¼ã¶ã»ããªãã¡ã¬ã³ã¹ã«é¢ãããã®ãç´¹ä»ãã¾ãããä»åã¯ãåãã JavaScript ã©ã¤ãã©ãªã«å«ã¾ããæ±ç¨é¢æ°ã«ã¤ãã¦è§£èª¬ãã¾ããä»åç´¹ä»ããé¢æ°ã¯ Core JavaScript ã©ã¤ãã©ãªã«å«ã¾ãããã®ã§ãç¹å¥ãªæå®ããããã¨ãªã使ç¨ãããã¨ãã§ãã¾ãã å¤é¨ã³ã³ãã³ãã®åå¾ Core JavaScript ã©ã¤ãã©ãªã«ã¯ãå¤é¨ã³ã³ãã³ãï¼æå®ããã URL ã®ã³ã³ãã³ãï¼ãåå¾ããããã®é¢æ°ãæä¾ããã¦ãã¾ãããã®æ©è½ã«ãã£ã¦ããããµã¤ãã®ãã£ã¼ãï¼RSS ã Atomï¼ãåå¾ããããæ¤ç´¢ã¨ã³ã¸ã³ããã®æ¤ç´¢çµæãåå¾ãããã¨ãã§ãã¾ãã以ä¸ã«å¤é¨ã³ã³ãã³ããåå¾ããããã®é¢æ°ã示ãã¾ãï¼ _IG_FetchContent(url, func)url ã«æå®ãããã³ã³ãã³ããããã¹ã
ãªã¢ã¼ã ã³ã³ãã³ãã®å¦ç ãã®ããã¥ã¡ã³ãã§ã¯ããªã¢ã¼ã ããã¹ã (é常㯠HTML)ãXMLãJSONãRSS/Atom ãã£ã¼ãã®ãã¼ã¿ããã§ãããã¦å¦çããæ¹æ³ã«ã¤ãã¦èª¬æãã¾ãã ç®æ¬¡ æ¦è¦ ãã¾ãã¾ãªã³ã³ãã³ã ã¿ã¤ãã®å¦ç ããã¹ãã®å¦ç XML ã®å¦ç ãã£ã¼ãã®å¦ç JSON ã®å¦ç ãã£ãã·ã¥ã®æ´æ° æ¦è¦ ã¬ã¸ã§ããã®é åçãªæ©è½ã¨ãã¦ãæ°ããªæ¹æ³ã§è¤æ°ã®ã½ã¼ã¹ããã®æ å ±ãçµ±åã§ããæ©è½ããæ¢åã®æ å ±ã¨ã®ããåãã«å¥ã®æ¹æ³ãæä¾ã§ããæ©è½ãããã¾ããGadgets API ã使ç¨ããã¨ãä»ã®ã¦ã§ã ãµã¼ãã¼ãã¦ã§ããã¼ã¸ãããªã¢ã¼ã ã³ã³ãã³ãããã§ããããå¦çã§ãã¾ãã Gadgets API ã§ã¯ããªã¢ã¼ã ã¦ã§ã ã³ã³ãã³ãã®åå¾ã¨å¦çã®ããã«ãmakeRequest(url, callback, opt_params) é¢æ°ãæä¾ãã¦ãã¾ãããã®é¢æ°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}