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-24630127");
$keywords="iRiver H10 (20 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 (20 GB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The iRiver H10 (20 GB) MP3 Player feature: Plays up to 600 hours of digital music, 20GB of internal storage, Vivid color display, ultra-intuitive interface with convenient touch strip, displays your digital photos, Slim, lightweight design, PlaysForSure enabled to play more of your music, rechargeable battery lasts up to 16 hours, Built-in FM tuner and FM recorder, Integrated voice recorder, Ultra-fast USB 2.0 transfers and more. It contains an integrated voice recorder, perfect for saving lectures or personal thoughts. The USB 2.0 connection makes sure data transfers from your computer are ultra-fast. The 20GB hard drive is large enough to store all of your favorite songs and then some. “ This is a great iPOD and I recommend it to all.”
Pros: Has excellent sound quality and very easy to use and lots of features. |
Cons: Nothing major. |
iRiver H10 (20 GB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our iRiver H10 (20 GB) MP3 Player Review:
iRiver T10 (512 MB) MP3 Player The iRiver T10 (512 MB) MP3 Player delivers exceptional sound quality ... Apple iPod 4 GB (MAC/PC - M9800B/A) MP3 Player The Apple iPod 4 GB (MAC/PC - M9800B/A) MP3 Player holds up to 1000 sk... Sony Network Walkman NW-E75 (256 MB) MP3 Player The Sony Network Walkman NW-E75 (256 MB) MP3 Player connects to USB po... Apple iPod mini Blue Second Gen. (6 GB - M9803LL/A) MP3 Player The Apple iPod mini Blue Second Gen. (6 GB - M9803LL/A) MP3 Player has...