where it finds a start tag.
function startTag($parser, $data){
}
// And this function tells the parser to replace the end tags with "
"
function endTag($parser, $data){
global $total;
$total = $total . "*";
}
// These lines create the parser and then set the functions for the parser to use when
// reading the document.
$xml_parser = xml_parser_create();
// Sets the functions for start and end tags
xml_set_element_handler($xml_parser, "startTag", "endTag");
// Sets the function for the contents/data
xml_set_character_data_handler($xml_parser, "contents");
// Read the file and save its contents as the variable "data"
$my_file = file("http://api.shopping.com/scripts/GSIsapiExt.dll/linkin_id-3069515/keyword-21104826");
$keywords="Rio ReplayTV 5516 160-Hours Video Recorder";
$mode="electronics";
$data = $my_file[1];
if(!(xml_parse($xml_parser, $data, feof($fp)))){
die("Error on line " . xml_get_current_line_number($xml_parser));
}
// Free the memory used to create the parser
xml_parser_free($xml_parser);
// Close the file when you're done reading it
fclose($fp);
$info = explode("*", $total);
$arraytotal = count($info) - 8;
?>
Rio ReplayTV 5516 160-Hours Video Recorder $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by William Madison Newbie Product Reviewer:
The Rio ReplayTV 5516 160-Hours Video Recorder comes with a one year warranty. Includes: Inputs Composite x 2, S-Video x 1,Analog Audio x 2, RF (TV) x 1.Outputs Composite x 2, S-Video x 1, Component x 1, Analog Audio x 2, Digital Audio Optical x 1, RF x 1.Additional Ports Serial, USB x 1, IR Connector, Telephone (RJ-11) x 1, Network (RJ-45). The price of the 5516 includes a lifetime subscription and activation fee -- no monthly bills ever! On the outside, the 5516 looks nearly identical to previous models. Inside, however, the latest ReplayTV Software offers new scheduling refinements and Networking options
|
Pros: Many features. |
Cons: Cost |
Rio ReplayTV 5516 160-Hours Video RecorderNewbie Rating
2 Thumbs UpReviews similar to our Rio ReplayTV 5516 160-Hours Video Recorder Review:
Macally DVR-800RW Digital Video Recorder The Macally DVR-800RW Digital Video Recorder is a modern looking silve... Clover Corporation DVR-1010 Digital Video Recorder The Clover Corporation DVR-1010 Digital Video Recorder is a standard D... Hughes HR10-250 DirecTV / TiVo 200-Hours Video Recorder The Hughes HR10-250 DirecTV / TiVo 200-Hours Video Recorder comes with... GE VDR-80 Digital Video Recorder The GE VDR-80 Digital Video Recorder acts almost identically to a stan...