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-21864586");
$keywords="Samsung SIR-S300W 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;
?>
Samsung SIR-S300W Digital Video Recorder $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by William Madison Newbie Product Reviewer:
The Samsung SIR-S300W Digital Video Recorder is a DVR which lets you record your favorite TV programs. You can Pause LiveTV, One Touch Recording, Use the On Screen Program Guide and keep the Guide up to date via the Internet thanks to the Telephone Interface as well as recording TV programs directly onto the hard drive. Includes: set of A/V outputs (2 composite, 1 S-video, and one component video), DVI digital video output with HDCP copy protection, RGB output - D-sub 15-pin connector,3 RF inputs (Satellite, Antenna, Cable), 2 sets of A/V inputs (1 composite/S-video, and one 480i/480p component video), and more. “ Great player, works like a charm.”
|
Pros: Functions |
Cons: No USB |
Samsung SIR-S300W Digital Video RecorderNewbie Rating
2 Thumbs UpReviews similar to our Samsung SIR-S300W Digital Video Recorder Review:
Rio ReplayTV 5508 80-Hours Video Recorder The price of the 80GB 5508 includes a lifetime subscription and activa... CSi/Speco DVR-X4 Digital Video Recorder The CSi/Speco DVR-X4 Digital Video Recorder has 16 camera inputs for a... Hughes HR10-250 200-Hours Digital Video Recorder The Hughes HR10-250 200-Hours Digital Video Recorder has a 250GB Hard ... Tivo TCD540040 175-Hours Video Recorder The Tivo TCD540040 175-Hours Video Recorder has Inputs Composite x 1, ...