The
Gympie & Cooloola
|
Search resources
"; $url = str_replace("
"; $this->title = ""; $this->description = ""; $this->link = ""; $this->insideitem = false; } $this->count_results = $this->count_results + 1; } } function characterData($parser, $data) { if ($this->insideitem) { switch ($this->tag) { case "TITLE": $this->title .= $data; break; case "DESCRIPTION": $this->description .= $data; break; case "LINK": $this->link .= $data; $pos = strpos($this->link, "*"); if (!($pos === false)) { $this->link = substr($this->link , $pos + 1, 300); } $this->link = trim($this->link); $pos = strpos($this->link, "//"); if (!($pos === false)) { $this->link = substr($this->link , $pos + 2, 300); } break; } } } function ParseFeed(){ $data=str_replace("’", "'",$data); $data=str_replace("-–","-",$data); $data=str_replace("“","'",$data); $data=str_replace("â€","'",$data); $data = file_get_contents($this->feedUrl); xml_parse($this->SimpleParser, $data); xml_parser_free($this->SimpleParser); } } $XMLpar = new SimpleXmlParser($url, $QTY); print " |
Cooloolabusiness.com
Internet Business Directory BN17986357
|
© 2007 All Rights Reserved. Site materials
and design copyright is held by cooloolabusiness.com & SpectRom
Multimedia.
Product Logos and Trade Marks are subject to the copyright of respective owners and used for advertising purposes only. |