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-30471981");
$keywords="Samsung Yepp YP-Z5AB / YP-Z5AS (4 GB) 4.1 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;
?>
Newbie Review by James Francis Newbie Product Reviewer:
The Samsung Yepp YP-Z5AB / YP-Z5AS (4 GB) 4.1 GB MP3 offers up to 35 hours of playback and stores up to 25,000 pictures. Features a Photo viewer (JPEG) with zoom in and out option, 1.8" color TFT-LCD screen lets you view photographs and album art at ease. It supports PlayForSure® WMA music subscription services and Bundled with USB 2.0 Cable and Earphones Player and so much more. The YPZ5AB player supports MP3, WMA, WMA-DRM10, JPEG and OGG Vorbis files. This player also includes an eight-setting equalizer so you can get the best possible sound for your music. It also includes features so I can transfer data or whatever I want to transfer fast. YP-Z5 has 4GB of memory with a Li-Polymer battery, providing up to 35 hours of MP3 playback. “ I couldn't have gotten a better deal. I highly recommend this to everyone.”
Pros: Solid audio performance and features. |
Cons: None |
Samsung Yepp YP-Z5AB / YP-Z5AS (4 GB) 4.1 GB MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Samsung Yepp YP-Z5AB / YP-Z5AS (4 GB) 4.1 GB MP3 Player Review:
Toshiba gigabeat® MEG-F20 (20 GB) MP3 Player The Toshiba gigabeat® MEG-F20 (20 GB) MP3 Player lets you transfer an... Apple iPod mini Silver Second Gen. (6 GB - M9801LL/A) MP3 Player The Apple iPod mini Silver Second Gen. (6 GB - M9801LL/A) MP3 Player f... Apple iPod nano White (2 GB, MA004LL/A) MP3 Player The Apple iPod nano White (2 GB, MA004LL/A) MP3 Player lets you import... Apple iPod Photo (20 GB, MA079LL/A) MP3 Player The Apple iPod Photo (20 GB, MA079LL/A) MP3 Player lets you play your ...