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-27560270");
$keywords="Apple iPod nano Black (4 GB, MA107LL/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 (4 GB, MA107LL/A) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Apple iPod nano Black (4 GB, MA107LL/A) MP3 Player offer you great performance and features in a small package. It features: Audio Formats: AAC (16-320 Kbps), Protected AAC (iTunes Music Store), MP3 (16-320 Kbps), MP3 VBR, Audible (formats 2/3/4), Apple Lossless, WAV, AIFF, Photo Formats: Syncs iPod-viewable Photos in JPEG, BMP, GIF, TIFF, PSD (Mac Only), And PNG, Display: 1.5" Diagonal Color LCD/LED Backlight/176 x132 Pixel Resolution, Skip Protection: Skip-Free Playback (USB Flash Drive Memory), Memory Capacity: 4 GB, About 1,000 4-Minute Songs/25,000 Viewable Photos, Power: Built-In, Rechargeable Lithium-Ion Battery, Playtime (Full Charge): Audio Up To 14 Hours/Photos With Music, Up To 4 Hours Charge Time: About 3 Hours Full Charge, About 1.5 Hours 80% Charge. Charging Source: USB Or FireWire To Computer Or Power Adapter, Output/Input: 3.5 mm Stereo Mini-Jack, Dock Connector, USB Through Dock Connector. “ Wow so much is included to give you the best. I like and recommend it highly.”
Pros: It's lightweight, color display, easy to use, has great sound and good battery life. |
Cons: Scratches easily, no power adapter and expensive. |
Apple iPod nano Black (4 GB, MA107LL/A) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Apple iPod nano Black (4 GB, MA107LL/A) MP3 Player Review:
Archos Gmini 402 (20 GB) Digital Media Player The Archos Gmini 402 (20 GB) Digital Media Player comes with a with a ... Apple iPod (30 GB, MAC/PC - M8948LL/A) MP3 Player The Apple iPod (30 GB, MAC/PC - M8948LL/A) MP3 Player has many great f... Apple iPod Photo (40 GB, M9585LL/A) MP3 Player The Apple iPod Photo (40 GB, M9585LL/A) MP3 Player is compatible with ... Apple iPod nano Black (4 GB, MA107LL/A) MP3 Player The Apple iPod nano Black (4 GB, MA107LL/A) MP3 Player offer you great...