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-21800165");
$keywords="Sony CDX-S2000 CD Player";
$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;
?>
Sony CDX-S2000 CD Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Tone Loco Newbie Product Reviewer:
The Sony CDX-S2000 CD Player offer consumers a different way to express their individuality. Features: detachable face SSIR-EX, tuner18 FM/12 AM, presets seek tuning plays CD-Rs/CD-RWsEQ3, (3-band equalizer and 7 preset tone curves) rear preamp outputs clock 23.2 watts RMS/52 peak x 4 channels,CD frequency response 10-20,000, HzCD signal-to-noise ratio 120 ,dBFM sensitivity 9 dBf , comes with a 1 year warranty.
Pros: Great Sound, stylish look, easy to configure. |
Cons: No MP3 Playback |
Sony CDX-S2000 CD PlayerNewbie Rating
2 Thumbs UpReviews similar to our Sony CDX-S2000 CD Player Review:
Dual XDM-6810 Car Stereo CD Player The Dual XDM-6810 contains all the average set of features for these d... Pioneer DEH-P77DH Car Stereo CD Player With its Color-coded displays, simple, and easy interactive interface,... Alpine CDA-9825 Car Stereo CD Player This deck from Alpine is a great unit for buyers looking a low price m... Pioneer DEH-P7600MP Car Stereo CD Player This model is a fine example of a well-priced car stereo system with a...