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-24955690");
$keywords="Samsung Yepp YP-F1X (512 MB) 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 Yepp YP-F1X (512 MB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Samsung Yepp YP-F1X (512 MB) MP3 Player can store up to 120 songs and plays for 10 hours. This MP3 player is PlaysForSure compatible and supports music in MP3, WMA, OGG, and WAV formats. Transfer entire albums from your computer in seconds with this speedy connection. With all the storage I have room for several dozen mp3 tracks and a couple of the audio books and more. Features: 512MB Storage, Clock Screen Saver, Firmware upgrade, FM Tuner and Recorder, USB 2.0 compatible, 3Line LCD(128 x 48) and more. “ I received this as a gift from my friends at work and I love the quality and performance.”
|
Pros: Lots of features and storage. |
Cons: Short battery life. |
Samsung Yepp YP-F1X (512 MB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Samsung Yepp YP-F1X (512 MB) MP3 Player Review:
Apple iPod Photo (60 GB, M9586LL/A) MP3 Player The Apple iPod Photo (60 GB, M9586LL/A) MP3 Player has 60GB that holds... Mustek PVR-H140 (40 GB) Digital Media Player The Mustek PVR-H140 (40 GB) Digital Media Player includes: digital vid... iRiver U10 (1 GB) Digital Media Player The iRiver U10 (1 GB) Digital Media Player features: Features: plays m... Apple iPod mini Silver (4 GB - M9160LL/A) MP3 Player The Apple iPod mini Silver (4 GB - M9160LL/A) MP3 Player has 4GB hard ...