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-22714909");
$keywords="Macally DVR-800RW 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;
?>
Macally DVR-800RW Digital Video Recorder $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by William Madison Newbie Product Reviewer:
The Macally DVR-800RW Digital Video Recorder is a modern looking silver finished Digital Video Recorder which houses an 80GB hard drive and has a telephone interface so you always have an up to date program guide. Features:Internet Accessible, built-in web server (no special software required), supports dynamic Ips. High-resolution recording using the latest high performance MPEG-4 encoder/decoder microprocessors. Simultaneous real-time audio and video recording; 30 fps per channel on al 4 channels. 8 camera inputs, 4 alarm inputs and 2 alarm outputs. CD Writer for easy backup of video/audio (optional DVD writer available), 80 GB hard disk drive (expand to 2 terabytes). At the prices on offer, though, I think there is better value for money out there, even if this is a seriously good looking piece of kit.
|
Pros: 80 GB Hard Drive, Telephone Interface |
Cons: Lack of functions, Costly |
Macally DVR-800RW Digital Video RecorderNewbie Rating
1 Thumbs UpReviews similar to our Macally DVR-800RW Digital Video Recorder Review:
Samsung SIR-S300W Digital Video Recorder The Samsung SIR-S300W Digital Video Recorder is a DVR which lets you r... Samsung SIR-S4040R 35-Hours Digital Video Recorder The Samsung SIR-S4040R 35-Hours Digital Video Recorder is a DVR which ... CSi/Speco DVR-X1 Digital Video Recorder The CSi/Speco DVR-X1 Digital Video Recorder is a small, sleek looking ... Sony DHG-HDD500 400-Hours Digital Video Recorder The Sony DHG-HDD500 400-Hours Digital Video Recorder has an absolutely...