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-22125091");
$keywords="Alpine SWX-1042D Car Subwoofer";
$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;
?>
Alpine SWX-1042D Car Subwoofer $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Nick Riveara Newbie Product Reviewer:
The Alpine SWX-1042D Car Subwoofer deliver maximum excursion with unbelievable sound quality through the use of a High Amplitude Multi-Roll (HAMR) Surround. Features: carbon fiber/aluminum honeycomb cone, high-roll Santoprene rubber surround, cast aluminum frame, dual 4-ohm, voice coils, frequency response 24-200 Hz ,power range 500-1,000 watts ,RMS (500 watts per coil), peak power handling 3,000 watt,s sensitivity 81 dB, top-mount depth 8-5/8",and more included. “ I'm very happy with the output of this subwoofer. It's a bit power hungry, but if given enough wattage it performs great “.
|
Pros: Affordable, Great design, Great output, Alpine |
Cons: Power hungry, needs close to 10" backspacing depth. |
Alpine SWX-1042D Car SubwooferNewbie Rating
2 Thumbs UpReviews similar to our Alpine SWX-1042D Car Subwoofer Review:
Pioneer TS-A6980R Coaxial Car Speaker The Pioneer TS-A6980R Coaxial Car Speaker Features:1-1/2" PET silver f... MB Quart DSE-216 Car Component System The MB Quart DSE-216 Car Component System is based on high-quality com... Infinity Reference 1232W Car Subwoofer The Infinity Reference 1232W Car Subwoofer combine a stiff polypropyle... Rockford Fosgate Punch Stage P212 S4 Car Subwoofer The Rockford Fosgate Punch Stage P212 S4 Car Subwoofer uses a 2" voice...