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-23768213");
$keywords="Apple iPod mini Silver Second Gen. (6 GB - M9801LL/A) 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;
?>
Newbie Review by James Francis Newbie Product Reviewer:
The Apple iPod mini Silver Second Gen. (6 GB - M9801LL/A) MP3 Player features: 1.67 inch (diagonal) backlit screen displays full song names and more. Has up to 18 hours of battery life, it comes with earbud headphones, belt clip, and USB 2.0 cable, 6 GB model holds up to 1,500 songs; supports MP3, AAC, WAV, MP3 VBR, Audible (6), and AIFF formats. It is Mac and Windows compatible; FireWire and USB 2.0 interface for fastest digital transfer available. The iPod mini comes with iTunes software to help you organize the music on your iPod, and to transfer music from your CD collection to your player. Find songs fast with the innovative Click Wheel. Make unlimited play lists, burn individual songs to CD as many times as you'd like and do so much more with this great iPOD. This is great for storing files and as a great skip protection feature. “ Has great features, high quality headphones and a long battery life. I recommend it.”
Pros: Great sound, size, and the menu is very friendly and easy to read. Plus has many great features. |
Cons: Can't change playlist order and no adapter cord. |
Apple iPod mini Silver Second Gen. (6 GB - M9801LL/A) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Apple iPod mini Silver Second Gen. (6 GB - M9801LL/A) MP3 Player Review:
Sony Network Walkman NW-E505 (512 MB) MP3 Player The Sony Network Walkman NW-E505 (512 MB) MP3 Player features battery ... Apple iPod nano White (4 GB, MA005LL/A) MP3 Player The Apple iPod nano White (4 GB, MA005LL/A) MP3 Player includes: 4GB e... Olympus m:robe MR-100 (5 GB) Digital Media Player The Olympus m:robe MR-100 (5 GB) Digital Media Player has an easy-to-u... Creative Labs Zen Nano Plus (512 MB) MP3 Player The Creative Labs Zen Nano Plus (512 MB) MP3 Player includes functions...