xml_parse_into_structã使ããã¨ã§ç°¡åã«ï¼²ï¼³ï¼³ãå¦çãããã¨ãåºæ¥ã¾ãã ãµã³ãã«ã®å®è¡ã«ã¯ãfopenã§å¤é¨ãã¡ã¤ã«ãéãããããphp.iniã®è¨å®ã§ãallow_url_fopenãè¨å®ãã¦ããå¿ è¦ãããã¾ãã <?php // å¤é¨ï¼²ï¼³ï¼³ãç°¡åã«èªã¿è¾¼ãã§åºåããã«ã¼ãã³ $RSSURL = "http://www3.asahi.com/rss/index.rdf"; $buff = ""; $fp = fopen($RSSURL,"r"); while ( !feof($fp) ) { $buff .= fgets($fp,4096); } fclose($fp); // ãã¼ãµä½æ $parser = xml_parser_create(); // ãã¼ãµãªãã·ã§ã³ãæå® xml_parser_set_option($parser,XML_OPTION_SK
{{#tags}}- {{label}}
{{/tags}}