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-22497146");
$keywords="Tivo TCD540140 140-Hours Digital 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 TCD540140 140-Hours Digital Video Recorder $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by William Madison Newbie Product Reviewer:
The Tivo TCD540140 140-Hours Digital Video Recorder is a DVR which gives you the power to control LiveTV. It features Instant Replay, Pause LiveTV, On Screen Program Guide, Telephone Interface and comes with a USB port. The unit itself is a simple but stylish looking dark gray, minimalist finish. But our most favorite: 8 second replay for. One button and you're seeing it again! Can't stand watching TV without it, and finally our cable bill has something worthwhile to see, when we want see it.
|
Pros: Functions a plenty, Good hard drive |
Cons: None that I know of. |
Tivo TCD540140 140-Hours Digital Video RecorderNewbie Rating
2 Thumbs UpReviews similar to our Tivo TCD540140 140-Hours Digital Video Recorder Review:
Rio ReplayTV 5532 320-Hours Video Recorder The Rio ReplayTV 5532 320-Hours Video Recorder includes: Remote Contro... Rio ReplayTV 5040 40-Hours Digital Video Recorder The Rio ReplayTV 5040 40-Hours Digital Video Recorder has a 40GB Hard ... Tivo R54080 80-Hours Digital Video Recorder The Tivo R54080 80-Hours Digital Video Recorder has an 80GB hard drive... Rio ReplayTV 5532 320-Hours Video Recorder The Rio ReplayTV 5532 320-Hours Video Recorder includes: Remote Contro...