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-22270205");
$keywords="JVC FS-S77 CD/DVD Shelf System";
$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 FS-S77 CD/DVD Shelf System $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Jeff "The Shelf" Maynards Newbie Product Reviewer:
The JVC FS-S77 CD/DVD Shelf System offers a complete audio/video solution in a sleek, compact design. The 5-disc changer plays your CDs, CD-R/RWs, MP3s as well as your DVDs, DVD-R/RWs and DVD-Audio discs. The digital tuner pulls in your favorite radio stations and saves them to the 30 FM and 15 AM presets for easy access. Plus, it has a rear auxiliary input so you can connect your MP3 player for even more variety. Plus does so much more.
Pros: Many features. |
Cons: None |
JVC FS-S77 CD/DVD Shelf SystemNewbie Rating
2 Thumbs UpReviews similar to our JVC FS-S77 CD/DVD Shelf System Review:
Philips FWC527 CD Shelf System Stereo Calypso, metal, rap, r&b, pop, spoken word comedy, radio, everything i... SC-AK220 CD Shelf System Stereo I heard good things about the Nitrix series so after some looking arou... Philips FWC577 CD Shelf System Stereo Mp3s, cds, radio, I've played it all and will continue to for years on... Sony MHC-GX40 CD Shelf System Stereo I'm a cheap dude so I don't like forking over cash unless it's worth i...