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-23509199");
$keywords="Apple iPod shuffle (512 MB, M9724LL/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;
?>
Apple iPod shuffle (512 MB, M9724LL/A) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Apple iPod shuffle (512 MB, M9724LL/A) MP3 Player has up to 12 hours of continuous playback time. The Shuffle comes with all the software you need, plus a handy user guide and set-up poster. Transfer your songs and play lists from your PC to the Shuffle at lightning-fast speeds through the USB 2.0 cap. Download and import songs fast on to your Windows PC, then organize your music and album art with the included Apple iTunes software4. The battery last up to 12 hours for long lasting performance while on the go. Music file type: AAC, MP3, WAV, AIFF, Apple® Lossless and audible formats. “ I love just about everything even the cool style. I highly recommend getting your today.”
Pros: Easy to use, good battery life, good sound, inexpensive and so many good features. |
Cons: No LCD screen, could have better headphones. |
Apple iPod shuffle (512 MB, M9724LL/A) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Apple iPod shuffle (512 MB, M9724LL/A) MP3 Player Review:
iRiver T30 (512 MB) MP3 Player The iRiver T30 (512 MB) MP3 Player is PlaysForSure verified to suppor... Samsung Yepp YP-T7X (512 MB) MP3 Player The Samsung Yepp YP-T7X (512 MB) MP3 Player features: CSTN Color LCD (... 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... Apple iPod mini Silver Second Gen. (6 GB - M9801LL/A) MP3 Player The Apple iPod mini Silver Second Gen. (6 GB - M9801LL/A) MP3 Player f...