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-21912582");
$keywords="Sony XM-D500X Car Audio Amplifier";
$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 XM-D500X Car Audio Amplifier $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Sean Newbie Product Reviewer:
The Sony XM-D500X Car Audio Amplifier features: 250 watts RMS x 1 at 4 ohms, 500 watts RMS x 1 at 2 ohms, 2-ohm stable, Class D design, variable low-pass filter (50-300 Hz, 12 dB/octave), variable bass boost (0-10 dB centered at 40 Hz), speaker- and preamp-level inputs, preamp outputs, gold-plated connectors, requires a 4-gauge wiring kit wiring and hardware not included with amplifier, 15-5/16"W x 2-1/16"H x 10-9/16"D, and comes with a warranty: 1 year. “ This amp comes highly recommended by many others who have used it”.
|
Pros: Features |
Cons: None |
Sony XM-D500X Car Audio AmplifierNewbie Rating
2 Thumbs UpReviews similar to our Sony XM-D500X Car Audio Amplifier Review:
Hifonics BX1500D Car Audio Amplifier The Hifonics BX1500D Car Audio Amplifier features HiFonics' new 20th a... Sony XM-2100GTX Car Audio Amplifier The Sony XM-2100GTX Car Audio Amplifier delivers 100 watts RMS x 2 (at... Kenwood KAC-7201 Car Audio Amplifier The Kenwood KAC-7201 Car Audio Amplifier features: 150 watts RMS x 2 a... Power Acoustik A1800DB Car Audio Amplifier The Power Acoustik A1800DB Car Audio Amplifier has a built-in low pass...