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-27560266");
$keywords="Apple iPod nano Black (2 GB, MA099LL/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 nano Black (2 GB, MA099LL/A) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Apple iPod nano Black (2 GB, MA099LL/A) MP3 Player has 2GB internal flash memory stores up to 500 songs (128 Kbps AAC) or up to 25,000 digital photos. Supports MP3, MP3 VBR, AAC, Protected AAC, Audible, AIFF, Apple Lossless and WAV audio formats, plus BMP, JPEG, GIF, TIFF, PNG and PSD and more. You can download audio books from iTunes, has a customizable main menu that provides access to on-the-go play lists. Organization functions include an appointment book/calendar, contact/address book, text note support and alarm clock; built-in games for hours of entertainment. The touch-sensitive Click Wheel lets you find songs fast or scroll through thousands of photos in seconds. “ It is extremely small, and the click-wheel is just the right size. This Apple has loads of features that everyone could use. I love and recommend it to all.”
Pros: Has an excellent sound and volume, fast transfer, battery life and more. |
Cons: Screen can get scratched easy. |
Apple iPod nano Black (2 GB, MA099LL/A) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Apple iPod nano Black (2 GB, MA099LL/A) MP3 Player Review:
Samsung Yepp YP-Z5AB / YP-Z5AS (4 GB) 4.1 GB MP3 Player The Samsung Yepp YP-Z5AB / YP-Z5AS (4 GB) 4.1 GB MP3 offers up to 35 h... Apple iPod shuffle (512 MB, M9724LL/A) MP3 Player The Apple iPod shuffle (512 MB, M9724LL/A) MP3 Player has up to 12 hou... Archos AV 500 30 GB Digital Media Player The Archos AV 500 30 GB Digital Media Player's playback quality is exc... Apple iPod Fourth Gen (40 GB, MAC/PC - M9268LL/A) MP3 Player The Apple iPod Fourth Gen (40 GB, MAC/PC - M9268LL/A) MP3 Player has u...