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-23768214");
$keywords="Apple iPod Photo (30 GB, M9829LL/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 Photo (30 GB, M9829LL/A) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Apple iPod Photo (30 GB, M9829LL/A) MP3 Player lets you transfer tunes, photos, and album art fast from your Windows PC via the included USB 2.0 cable, organize it with Apple® iTunes3, then transfer back to your iPod. You can even charge the battery while transferring data between your PC and iPod. Holds up to 15 hours of continuous music; or up to 5 hours of continuous slide shows with music. Connects to your notebook, MP3 player, game system, CD player and more. It is great for putting pictures on and showing them to my friends at work. With 30GB that holds up to 7,500 songs, full-color album art and up to 12,500 photos, the new iPod makes the most of your music and more. I like all the features and the quality and sound of this iPOD and I recommend it to all my friends.”
Pros: It has high capacity, sounds good and it is very easy to use. |
Cons: Scratches easily. |
Apple iPod Photo (30 GB, M9829LL/A) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Apple iPod Photo (30 GB, M9829LL/A) MP3 Player Review:
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... Creative Labs MuVo Mix (256 MB) MP3 Player The Creative Labs MuVo Mix (256 MB) MP3 Player lets you choose how you... Apple iPod nano Black (1 GB, MA352LL/A) MP3 Player The Apple iPod nano Black (1 GB, MA352LL/A) MP3 Player has 1 GB model ... Cowon Systems iAUDIO U2 (1 GB) MP3 Player The Cowon Systems iAUDIO U2 (1 GB) MP3 Player supports MP3, MP2, WMA, ...