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-23081088");
$keywords="Apple iPod Photo (40 GB, M9585LL/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 (40 GB, M9585LL/A) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Apple iPod Photo (40 GB, M9585LL/A) MP3 Player is compatible with Mac OS X or Windows 2000 with SP4 and XP; FireWire and USB 2.0 interface for fastest digital transfer that is available. Comes with iPod photo dock, earbud headphones, a carrying case, an AC adapter, a FireWire cable, a USB 2.0 cable, and an AV cable. Holds 25,000 photos and displays them on a 2-inch diagonal 65,536-color LCD screen with LED backlight. This iPOD supports AAC (16 to 320 Kbps), MP3 (32 to 320 Kbps), MP3 VBR, Audible, AIFF, Apple Lossless and WAV. “ The performance and pictures and sound comes out great! I recommend this for those who love quality.”
Pros: Good features, storage capacity, light, compact, elegant and more. |
Cons: Scratches easily and expensive. |
Apple iPod Photo (40 GB, M9585LL/A) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Apple iPod Photo (40 GB, M9585LL/A) MP3 Player Review:
Samsung Yepp YP-T7JZ 1 GB MP3 Player The Samsung Yepp YP-T7JZ 1 GB MP3 Player holds 1 GB of information, pl... 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... Kanguru Micro Pro (512 MB) MP3 Player The Kanguru Micro Pro (512 MB) MP3 Player provides up to 1GB of intern... 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...