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-22218297");
$keywords="Sony S2 Sports ZS-YN7 Radio/Cassette/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-YN7 Radio/Cassette/CD Boombox $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Ryan "The Irishman" Weir Newbie Product Reviewer:
The SONY ZS-YN7 S2 is a single disc/single tape player with AM/FM 30 presets digital tuner in a new unique stylish design. It features ATRAC3 plus / MP3 playback and multi-format playback capability combined to set this ultra-portable S2 Series CD / Tuner standout from the crowd. It has a new vertical loading CD mechanism, Mega Bass sound system, CD Play Modes ( Program / Shuffle / Repeat ), 2 Line Dot Matrix Display, 10-Key direct access remote control.
Pros: Great sound quality, features, portability |
Cons: none |
Sony S2 Sports ZS-YN7 Radio/Cassette/CD BoomboxNewbie Rating
2 Thumbs UpReviews similar to our Sony S2 Sports ZS-YN7 Radio/Cassette/CD Boombox Review:
Aiwa CSD-EL300 Radio/Cassette/CD Boombox The Aiwa CSD-EL300 a single front loading CD player and Single Tape de... GPX BCD-3154BBL Bubble Top Boombox CD Player with Digital Readout Boombox The GPX BCD-3154BBL is a top loading CD/CDR player with 4-digit LCD d... Supersonic SC-714 Radio/Cassette/CD Boombox The Supersonic SC-714 is a top loading programmable CD player and sin... Panasonic RX-D20 Radio/Cassette/CD Boombox The Panasonic RX-D20 is a Single Disc boombox and Single Tape Deck rec...