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-23182525");
$keywords="Tivo TCD540040 175-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;
?>
Tivo TCD540040 175-Hours Video Recorder $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by William Madison Newbie Product Reviewer:
The Tivo TCD540040 175-Hours Video Recorder has Inputs Composite x 1, S-Video x 1, Analog Audio x 1, RF (TV) x 1. Outputs Composite x 2, S-Video x 1, Analog Audio x 2, RF x 1, Headphone Jack. Additional Ports USB x 2, IR Connector, Telephone (RJ-11) x 1. Watch TV when and how you want by recording up to 40 hours of programming without the hassle of videotape.Convenience features: Pause, rewind or instantly replay live TV, so you never miss a minute of the action. “ With this recorder you have so much you can do, I love it.”
|
Pros: So many features and quality. |
Cons: Only a 90 day warranty. |
Tivo TCD540040 175-Hours Video RecorderNewbie Rating
2 Thumbs UpReviews similar to our Tivo TCD540040 175-Hours Video Recorder Review:
Lorex DXR-1080A 1850-Hours Video Recorder The Lorex DXR-1080A 1850-Hours Video Recorder features: On-screen disp... Tivo R54080 80-Hours Video Recorder The Tivo R54080 80-Hours Video Recorder features: TiVo service includ... JVC HM-DH5U 35-Hours Digital Video Recorder The JVC HM-DH5U 35-Hours Digital Video Recorder is a Digital Video Rec... JVC HM-DH5U 35-Hours Video Recorder The JVC HM-DH5U 35-Hours Video Recorder you can connect to HDTV and hi...