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-29088085");
$keywords="Apple iPod nano Black (1 GB, MA352LL/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 (1 GB, MA352LL/A) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Apple iPod nano Black (1 GB, MA352LL/A) MP3 Player has 1 GB model stores up to 240 songs; supports AAC (16 to 320 Kbps), Protected AAC, MP3 (16 to 320 Kbps), MP3 VBR, Audible (formats 2, 3 and 4), Apple Lossless, WAV, AIFF. Features: up to 14 hours of music playback; up to 4 hours of slide shows with music Comes with ear bud headphones, USB cable, dock adapter Compatible with Windows 2000 with Service Pack 4 or later, or Windows XP Home or Professional with Service Pack 2 or later; Mac OS X v10.3.4 or later. Plus it holds up to 240 songs and full-color album art. With the click wheel continues to make iPod the most convenient and easy-to-use music player around. “ I have has fun with this iPOD. It has been great for me and I personally recommend it.”
Pros: Great design, user interface and features. |
Cons: Small storage |
Apple iPod nano Black (1 GB, MA352LL/A) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Apple iPod nano Black (1 GB, MA352LL/A) MP3 Player Review:
Apple iPod Photo (30 GB, M9829LL/A) MP3 Player The Apple iPod Photo (30 GB, M9829LL/A) MP3 Player lets you transfer t... Sony Walkman Bean NW-E307 (1 GB) MP3 Player The Sony Walkman Bean NW-E307 (1 GB) MP3 Player provides up to 50 hour... Samsung YP-U1 (1 GB) MP3 Player The Samsung YP-U1 (1 GB) MP3 Player has 512MB memory with support for ... SanDisk Sansa m230 (512 MB) MP3 Player The SanDisk Sansa m230 (512 MB) MP3 Player offers up to 19 hours of co...