Syndicated content not available'; } // Free up memory used by the XML parser xml_parser_free($xml_parser); } function startElement($parser, $name, $attrs) { global $insideitem, $tag, $title, $description, $link, $image, $insideimage; if ($insideitem || $insideimage) { $tag = $name; } if ($name == "ITEM" ) { $insideitem = true; } if ($name == "IMAGE") { $insideimage = true; } } function endElement($parser, $name) { global $insideitem, $tag, $title, $description, $link, $image, $insideimage, $show_detail, $headline_style, $detail_style, $count, $max; if ($name == "URL") { echo '

'; $insideimage=false; $image=""; } else if ($name == "ITEM" && $count < $max) { $count++; printf('%s
',trim($link),trim($title)); if ($show_detail) printf('%s
',trim($description)); else { echo "
"; } $title = ""; $description = ""; $link = ""; $insideitem = false; } else if ($count >= $max) { $title = ""; $description = ""; $link = ""; $insideitem = false; } } function characterData($parser, $data) { global $insideitem, $tag, $title, $description, $link, $image, $insideimage; if ($insideimage) { switch ($tag) { case "URL": $image .= $data; break; } } if ($insideitem ) { switch ($tag) { case "TITLE": $title .= $data; break; case "DESCRIPTION": $description .= $data; break; case "LINK": if (!is_string($link)) $link=""; $link .= $data; break; } } } ?> Houston Business News: Online Business News for Houston, TX

Houston Business News -
News reports by Houston Business Journal