PHRASE OF THE MINUTE


While this page is being built check out this great .NET and development site - CTRL313373.com
"); $rss_channel[$main][$item_counter][$currently_writing] = $data; } break; } } } $xml_parser = xml_parser_create(); xml_set_element_handler($xml_parser, "startElement", "endElement"); xml_set_character_data_handler($xml_parser, "characterData"); if (!($fp = fopen($file, "r"))) { die("could not open XML 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); // output as HTML if (isset($rss_channel["IMAGE"])) { print ("\""  " . $rss_channel["TITLE"] . "

"); } else { print ("" . $rss_channel["TITLE"] . "

"); } print ("" . $rss_channel["DESCRIPTION"] . "

"); if (isset($rss_channel["ITEMS"])) { if (count($rss_channel["ITEMS"]) > 0) { for($i = 0;$i < count($rss_channel["ITEMS"]);$i++) { print ("\n

" . $rss_channel["ITEMS"][$i]["TITLE"] . "

"); print ("" . html_entity_decode($rss_channel["ITEMS"][$i]["DESCRIPTION"]) . ""); print ("

"); } } else { print ("There are no articles in this feed."); } } ?>



SENSELESS SURVEY    RAMBLINGS    THE LIST