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-20756871");
$keywords="iRiver iFP-195T 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 iFP-195T 512 MB MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The iRiver iFP-195T 512 MB MP3 Player includes a built-in FM Tuner and Voice Recorder. I like that it plays your MP3 and WMA music files for up to 20 hours on a single AA battery. Comes with: Music Player, Sennheiser MX300 earphones, neck strap, installation CD, AA battery, USB cable, documentation. Has a USB connection to your computer with transfer rate up to 6.4Mbps. “ It's the first one that I've owned, and I'm very satisfied with it.”
Pros: Has good sound quality; battery life and easy to use. |
Cons: Ear Buds are not comfortable. |
iRiver iFP-195T 512 MB MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our iRiver iFP-195T 512 MB MP3 Player Review:
Creative Labs Nomad MuVo TX FM (512 MB) MP3 Player The Creative Labs Nomad MuVo TX FM (512 MB) MP3 Player is very lightwe... Creative Labs ZEN SLEEK (20 GB) MP3 Player The Creative Labs ZEN SLEEK (20 GB) MP3 Player has 20 GB capacity for ... Apple iPod Photo (60 GB, M9586LL/A) MP3 Player The Apple iPod Photo (60 GB, M9586LL/A) MP3 Player has 60GB that holds... Archos AV 500 30 GB Digital Media Player The Archos AV 500 30 GB Digital Media Player's playback quality is exc...