include ("./visiana.php"); class xItem { var $xTitle; var $xLink; var $xDescription; } // general vars $sTitle = "Photo Street"; $sLink = ""; $sDescription = "pon家 掲示板の話題一覧"; $arItems = array(); $itemCount = 0; // ********* Start User-Defined Vars ************ // rss url goes here //$uFile = "http://pon.sub.jp/c-board/c-board.cgi?cmd=rss"; // descriptions (true or false) goes here //$bDesc = true; // font goes here //$uFont = "Verdana, Arial, Helvetica, sans-serif"; //$uFontSize = "2"; // ********* End User-Defined Vars ************** //function startElement($parser, $name, $attrs) { // global $curTag; // $curTag .= "^$name"; //} //function endElement($parser, $name) { // global $curTag; // $caret_pos = strrpos($curTag,'^'); // $curTag = substr($curTag,0,$caret_pos); //} //function characterData($parser, $data) { global $curTag; // get the Channel information first // global $sTitle, $sLink, $sDescription; // $titleKey = "^RSS^CHANNEL^TITLE"; // $linkKey = "^RSS^CHANNEL^LINK"; // $descKey = "^RSS^CHANNEL^DESCRIPTION"; // if ($curTag == $titleKey) { // $sTitle = $data; // } // elseif ($curTag == $linkKey) { // $sLink = $data; // } // elseif ($curTag == $descKey) { // $sDescription = $data; // } // now get the items // global $arItems, $itemCount; // $itemTitleKey = "^RSS^CHANNEL^ITEM^TITLE"; // $itemLinkKey = "^RSS^CHANNEL^ITEM^LINK"; // $itemDescKey = "^RSS^CHANNEL^ITEM^DESCRIPTION"; // if ($curTag == $itemTitleKey) { // make new xItem // $arItems[$itemCount] = new xItem(); // set new item object's properties // $arItems[$itemCount]->xTitle = $data; // } // elseif ($curTag == $itemLinkKey) { // $arItems[$itemCount]->xLink = $data; // } // elseif ($curTag == $itemDescKey) { // $arItems[$itemCount]->xDescription = $data; // increment item counter // $itemCount++; // } //} // main loop //$xml_parser = xml_parser_create(); //xml_set_element_handler($xml_parser, "startElement", "endElement"); //xml_set_character_data_handler($xml_parser, "characterData"); //if (!($fp = fopen($uFile,"r"))) { // die ("could not open RSS for input"); //} //while ($data = fread($fp, 4096)) { // if (!xml_parse($xml_parser, $data, feof($fp))) { // die(sprintf("XML error: %s at line %d", xml_error_string(xml_get_error_code($xml_parser)), xml_get_current_line_number($xml_parser))); // } //} //xml_parser_free($xml_parser); // write out the items ?>
■ ** jungle bbs ** 久々の-2018年05月15日火曜日 11時40分 ※ナレーションが勝手にはいる掲示板です。 文字だけで話したいときにどうぞ |
■ ** Ponの別荘bbs ** ※デザインが気に入っているbbs。java使っているので重いです。 |
||
■ ** お絵かき掲示板 ** ☆パズル:ジグソー |
■ ** 写メールbbs **
|
garden | cottage | house |