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-23381506");
$keywords="iRiver H10 (5 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;
?>
iRiver H10 (5 GB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The iRiver H10 (5 GB) MP3 Player is compatible with MP3 and WMA; also Secure WMA from online services. Has a built-in voice recording and FM tuner with FM recording capability. The changeable rechargeable battery has an approximate 12-hour battery life. The 5 GB hard drive will be able to store more than 75 hours of MP3 or more than 150 hours of WMA files (over 1,250 MP3 or 2,500 WMA songs). Choose from a large number of digital music and video stores including: CinemaNow, MSN Music, MusicMatch, MusicNow, Napster, Wal-Mart Music Downloads, and many more. Comes with: H10, iRiver earphones, carrying case with belt clip, USB 2.0 cable, installation CD, AC adapter. “ The quality of design, sound, and function are great! I highly recommend to everyone who love small items with big quality.”
Pros: Has a great sound, replaceable battery, features and it sounds fantastic. |
Cons: Haven't found any yet |
iRiver H10 (5 GB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our iRiver H10 (5 GB) MP3 Player Review:
SanDisk Sansa™ e140 (1 GB) MP3 Player The SanDisk Sansa™ e140 (1 GB) MP3 Player features: plays MP3, WMA (in... iRiver PMP-120 (20 GB) Digital Media Player The iRiver PMP-120 (20 GB) Digital Media Player features: Built-in FM... Apple iPod Video Black (60 GB, MA147LL/A) Digital Media Player The Apple iPod Video Black (60 GB, MA147LL/A) Digital Media Player can... Apple iPod mini Silver (4 GB - M9160LL/A) MP3 Player The Apple iPod mini Silver (4 GB - M9160LL/A) MP3 Player has 4GB hard ...