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-27560264");
$keywords="Apple iPod nano White (2 GB, MA004LL/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 White (2 GB, MA004LL/A) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Apple iPod nano White (2 GB, MA004LL/A) MP3 Player lets you import single images or entire albums directly from your Mac or PC, and includes a slide show feature to put your pictures to music. Built-in back lighting makes it easy to see your screen indoors and out. Plus with 176 x 132-pixel resolution, clarity has never been better. With the calendar, to-do list and alarm clock/timer, you’ll never miss an appointment. It fast forwards, rewinds, plays or pauses music and so much more. “ Great sound, great selection menu, and lots of new features. I recommend it for all who love compact items with out lacking performance.”
Pros: Great sound, screen,battery, lightweight and portable. |
Cons: Expensive, battery life could be longer. |
Apple iPod nano White (2 GB, MA004LL/A) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Apple iPod nano White (2 GB, MA004LL/A) MP3 Player Review:
SanDisk Sansa m260 (4 GB) MP3 Player The SanDisk Sansa m260 (4 GB) MP3 Player comes with many great feature... Philips PSA612 (4 GB) MP3 Player The Philips PSA612 (4 GB) MP3 Player includes: MP3, 4 GB Hard Disc Dri... Samsung YP-C1Z (1 GB) MP3 Player The Samsung YP-C1Z (1 GB) MP3 Player features: 1GB Digital Player, Rad... Creative Labs Zen MicroPhoto (8 GB) white MP3 Player The Creative Labs Zen MicroPhoto (8 GB) white MP3 Player has 8GB capac...