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-20815460");
$keywords="JVC RC-ST2 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;
?>
JVC RC-ST2 Radio/Cassette/CD Boombox $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Ryan "The Irishman" Weir Newbie Product Reviewer:
The JVC RC-ST2 is a portable Single Disc player Single Tape Deck with Analog AM/FM Tuner radio for your music pleasure. The Cd player plays all kinds of commercial CDs including CD-R /RW with repeat play mode and up to 19 programmable tracks. The remote control is not full function as it works only for CDs and not for tapes. It comes with 2 built-in speakers, headphone socket and 2 watts power per channel.
Pros: Lightweight, portable, good sound quality |
Cons: Not a full function remote control, no presets |
JVC RC-ST2 Radio/Cassette/CD BoomboxNewbie Rating
1 Thumbs UpReviews similar to our JVC RC-ST2 Radio/Cassette/CD Boombox Review:
Philips AZ1008 Radio/Cassette/CD Boombox The Philips AZ100817CD is a top-loading Single Disc/Single tape casse... Sony S2 Sports ZS-YN7 Radio/Cassette/CD Boombox The SONY ZS-YN7 S2 is a single disc/single tape player with AM/FM 30 p... Sony ICF-CD832 Radio/CD Boombox The Sony ICF-CD832 is a single disc cd player with sleek round design ... Sony CFD-S200 Radio/Cassette/CD Boombox The CFD-S200 CD/Radio Cassette Recorder is a portable entertainment mu...