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-28575201");
$keywords="Samsung YP-C1Z (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;
?>
Samsung YP-C1Z (1 GB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Samsung YP-C1Z (1 GB) MP3 Player features: 1GB Digital Player, Radio Tuner, and Voice Recorder, LCD Display, supports ASF, MP3, WAV, WMA, WMA DRM, Ogg Vorbis, upgradable Firmware, Jazz, Rock, Normal, and Classic Equalizer Presets, 42 Hours Battery Life, USB 2.0 and more. One AA battery provides 42 hours of music playback for a variety of files including MP3, WAV, WMA, and WMA DRM. I love the voice recording you can record from line-in and not line-in. With its SRS WOW 3D Surround Sound it sounds great. “ The sound quality is excellent and features are good. I satified with the results and recommned it.”
Pros: Has very good sound, numerous settings and options and gives quick file transfers. |
Cons: Ear Buds are not comfortable. |
Samsung YP-C1Z (1 GB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Samsung YP-C1Z (1 GB) MP3 Player Review:
Creative Labs MuVo Slim (256 MB) MP3 Player The Creative Labs MuVo Slim (256 MB) MP3 Player has an FM radio tuner ... Apple iPod Video Black (30 GB, MA146LL/A) Digital Media Player The Apple iPod Video Black (30 GB, MA146LL/A) Digital Media Player giv... SanDisk Sansa™ m250 (2 GB) MP3 Player The SanDisk Sansa™ m250 (2 GB) MP3 Player includes: 2GB of memory play... SanDisk Sansa™ e140 (1 GB) MP3 Player The SanDisk Sansa™ e140 (1 GB) MP3 Player features: plays MP3, WMA (in...