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-28597698");
$keywords="Creative Labs ZEN Vision:M (30 GB) (Black) Digital Media 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;
?>
Newbie Review by James Francis Newbie Product Reviewer:
The Creative Labs ZEN Vision:M (30 GB) (Black) Digital Media Player holds up to 15,000 songs. You can store your whole music collection on this player and enjoy up to 14 hours of music or up to 4 hours of video on a single charge. Some of the great features include: 30 GB capacity for storing up to 15,000 songs. Has a built-in FM radio that helps tune-in to your favorite music-stations. Records your voice with its voice recorder and allows you to view your photos in slide shows and more. The 2.5", high-resolution color screen is perfect for viewing videos or pictures, and the image display can show any photo you import without loss in quality or having to resize it. Between the video gallery, voice recorder and personal organizer, you have every program you could ever need or want to keep you better organized. Supports: DivX™ 4 & 5, XviD, MPEG-1, MPEG-2, MPEG4-SP, WMV9 and Motion-JPEG. “ Excellent screen, plays many codecs, FM Radio, Voice Recorder, sync with outlook calendar, strong search capabilities and more. I highly recommend it.”
Pros: Good media compatibility, sound, user interface, battery life, features and more. |
Cons: Headphones could be better. |
Creative Labs ZEN Vision:M (30 GB) (Black) Digital Media PlayerNewbie Rating
2 Thumbs UpReviews similar to our Creative Labs ZEN Vision:M (30 GB) (Black) Digital Media Player Review:
Apple iPod (30 GB, MAC/PC - M8948LL/A) MP3 Player The Apple iPod (30 GB, MAC/PC - M8948LL/A) MP3 Player has many great f... Apple iPod U2 Special Edition (20 GB, M9787LL/A) MP3 Player The Apple iPod U2 Special Edition (20 GB, M9787LL/A) MP3 Player comes ... Creative Labs Nomad MuVo TX FM (512 MB) MP3 Player The Creative Labs Nomad MuVo TX FM (512 MB) MP3 Player is very lightwe... Creative Labs MuVo Mix (256 MB) MP3 Player The Creative Labs MuVo Mix (256 MB) MP3 Player lets you choose how you...