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-25741501");
$keywords="Creative Labs ZEN SLEEK (20 GB) MP3 Player";
$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;
?>
Creative Labs ZEN SLEEK (20 GB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Creative Labs ZEN SLEEK (20 GB) MP3 Player has 20 GB capacity for storing up to 10,000 songs. Built-in FM tuner with 32 presets and direct recording captures memorable broadcasts. You can enjoy up to 19 hours of continuous playback and it features a 5-band graphic equalizer. It can store and display thousands of photos as well as up to 10,000 songs and gives playtimes up to 19 hours. “I love all you can do!” It's compatible with MP3, WMA, and WMA-DRM10 music files (PlaysForSure). It has FM tuner with record capability and voice recorder; syncs with Outlook and so much more. Other features include a 5-band graphic equalizer, easy-to-use touch pad control buttons, and upgradeable firmware. “ Very recommended by me and so many others.”
Pros: Excellent sound quality, fast file transfers via USB 2.0, 20GB storage capacity and so much more. |
Cons: Ear Buds are not comfortable. |
Creative Labs ZEN SLEEK (20 GB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Creative Labs ZEN SLEEK (20 GB) MP3 Player Review:
Sony Network Walkman NW-E75 (256 MB) MP3 Player The Sony Network Walkman NW-E75 (256 MB) MP3 Player connects to USB po... iRiver iFP-195T 512 MB MP3 Player The iRiver iFP-195T 512 MB MP3 Player includes a built-in FM Tuner and... Sony Network Walkman NW-E505 (512 MB) MP3 Player The Sony Network Walkman NW-E505 (512 MB) MP3 Player features battery ... Apple iPod nano White (4 GB, MA005LL/A) MP3 Player The Apple iPod nano White (4 GB, MA005LL/A) MP3 Player includes: 4GB e...