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-24793234");
$keywords="iRiver T10 (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;
?>
iRiver T10 (512 MB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The iRiver T10 (512 MB) MP3 Player delivers exceptional sound quality in a unique, sport-ready design. I love the skip-free feature. Now I can jog and exercise without missing a beat! It features battery life up to 45 hours on one AA, a built-in FM tuner, voice recorder and an integrated sport clip. The T10 holds up to 17 hours of music so I can jam for hours. This MP3 player is PlaysForSure compatible and the compatible formats are MP3, WMA and OGG music files. It has skip-free features so I can take it wherever I go and whatever I'm doing. The voice recorder work good and I never miss anything important now. With the FM recorder you can even save your favorite songs or shows for later! “ Wow this iPOD is great, I can do so much. I'm glad my friend got this for me on my birthday 2 months ago.
Pros: Great battery life, great excellent sound quality and overall performance. |
Cons: Can't think of any. |
iRiver T10 (512 MB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our iRiver T10 (512 MB) MP3 Player Review:
Creative Labs Zen MicroPhoto (8 GB) white MP3 Player The Creative Labs Zen MicroPhoto (8 GB) white MP3 Player has 8GB capac... iRiver U10 (1 GB) Digital Media Player The iRiver U10 (1 GB) Digital Media Player features: Features: plays m... Samsung YP-C1Z (1 GB) MP3 Player The Samsung YP-C1Z (1 GB) MP3 Player features: 1GB Digital Player, Rad... Philips HDD1630 (6 GB) MP3 Player The Philips HDD1630 (6 GB) MP3 Player has a 6GB hard drive holds up to...