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-20739839");
$keywords="Sony S2 Sports ZS-X1 Radio/CD Boombox";
$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 S2 Sports ZS-X1 Radio/CD Boombox $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Ryan "The Irishman" Weir Newbie Product Reviewer:
The Sony S2 Sports ZS-X1 is a Single disc and radio boombox with MP3 playback compatibility. It has 2 built-in speakers, Mega Bass low-end sound enhancement and ESP CD shock protection that minimizes skipping during CD playback. The digital tuner has 30 station presets, water-resistant design with high-impact plastic housing, and ergonomic S2 Sports design ideal for easy handling and powered by 6 D batteries (not included) or supplied AC power adapter.
Pros: Portable, compact, good sound |
Cons: No remote control |
Sony S2 Sports ZS-X1 Radio/CD BoomboxNewbie Rating
2 Thumbs UpReviews similar to our Sony S2 Sports ZS-X1 Radio/CD Boombox Review:
Sony ICF-CD832 Radio/CD Boombox The Sony ICF-CD832 is a single disc cd player with sleek round design ... Philips AZ1305 Radio/CD Boombox The Philips AZ1305 is a single disc CD/radio boombox that lets you enj... Philips PSS010 Radio Cassette inc CD Boombox The Philips PSS010 is a compact single disc personal CD player with FM... Sony CFD-G500 Radio/Cassette/CD Boombox The Sony CFD-G500 Single CD, double cassette tape, and radio boombox ...