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-21312295");
$keywords="Motorola DCP-501 5.1 Channels Receiver";
$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;
?>
Motorola DCP-501 5.1 Channels Receiver $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Phylis Q Daniel Newbie Product Reviewer:
The Motorola DCP-501 5.1 Channels Receiver features: DVD/CD/MP3 player, audio/video surround receiver with 100 watts x 5, and cable reception. Interactive cable receiver for analog and digital (where available) cable, Dolby Digital, DTS, and Dolby Pro Logic II 5.1-channel processing for immersive surround sound from any source. Has a AM/FM Stereo receiver, large VF display for easy reading NTSC decoder with digital adaptive comb filter upconverts all composite-video signals to S-video. Extensive inputs and outputs include front-panel audio/video hookups for a camcorder or gaming console, including a Toslink optical input for a direct digital-audio hookup with an external device.
|
Pros: Packed with features. |
Cons: None. |
Motorola DCP-501 5.1 Channels ReceiverNewbie Rating
2 Thumbs UpReviews similar to our Motorola DCP-501 5.1 Channels Receiver Review:
Kenwood VR-SN8100 6.1 Channels Receiver The Kenwood VR-SN8100 6.1 Channels Receiver features: Front-panel PCMC... Yamaha RX-V1500 7.1 Channels Receiver The Yamaha RX-V1500 7.1 Channels Receiver features: 7-Channel 840W Pow... Panasonic SA-HE200 6.1 Channels Receiver The Panasonic SA-HE200 6.1 Channels Receiver features: multichannel so... JVC RX-6042 5.1 Channels Receiver The JVC RX-6042 5.1 Channels Receiver comes with a two year warranty. ...