ãä¸å¯§ã«ãå ¬å¼ããã¥ã¡ã³ãã«æ¹æ³ã¯æ¸ããã¦ããã http://code.google.com/intl/ja/apis/ajaxsearch/documentation/#fonje ã¨ãããèªåã¯cURLã¨ãããã®ãããç解ãã¦ããªãã®ã§ file_get_contents ã§ãã¼ã¿ãåå¾ãã¦ãããã¨ããããåé¡ã¯èµ·ãã£ã¦ããªãã $url = "http://ajax.googleapis.com/ajax/services/search/news?v=1.0&key=YOUR-API-KEY&hl=ja&q=" . rawurlencode($query); $jsondata = file_get_contents($url); $news = json_decode($jsondata); print_r($news); // Google Newsã®ãã¼ã¿ãåå¾åºæ¥ã¦ãã ã
May-7-2010 NOTE: this project has a new home at Google Code DOWNLOAD: GoogleMapAPI-2.5.tar.gz ANONYMOUS CVS: (leave password empty) cvs -d :pserver:anonymous@cvs.phpinsider.com:/export/CVS login cvs -d :pserver:anonymous@cvs.phpinsider.com:/export/CVS checkout GoogleMapAPI NEWS/CHANGES: NEWS DEMO: demo NAME: GoogleMapAPI - A library used for creating google maps. AUTHOR: Monte Ohrt <monte [AT] ohr
Infolinux.jp æ¥æ¬ Linux2008/11/28 , 03:24 Googleã®ãã¼ã¸ã©ã³ã¯ã¯ãµã¤ãæãã¯URLã®ã©ã³ã¯ã決ããããã®ãã®ã§ãããã©ã¦ã¶ã®ãã©ã°ã¤ã³ã§ãç¹å®ã®ãµã¤ãã®ã©ã³ã¯ã確èªãããã¨ãã§ãã¾ãããPHPã¹ã¯ãªããã§ä½æãã¦ã¿ã¾ãããã ãã®ã¹ã¯ãªããã¯ãã¨ãã°ãinfolinux.jpã®ãã¼ã¸ã©ã³ã¯ã確èªãã¾ãããã <?php // content of somefile.php include('pagerank.php'); $pr = getPageRank('http://infolinux.jp'); echo 'infolinux.jp ã®ãã¼ã¸ã©ã³ã¯ã¯ '.$pr.'ã§ãã'; ?> Googleãããã¼ã¸ã©ã³ã¯ã®ã¢ã¸ã¥ã¼ã«ã¯æ¬¡ã®ããã«ãªãã¾ããpagerank.phpã¨ãã¦ä¿ç®¡ãã¦ãã ããã <?php define('GOOGLE_
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}