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-24357607");
$keywords="Toshiba gigabeat® MEG-F40S (40 GB) 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;
?>
Toshiba gigabeat® MEG-F40S (40 GB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Toshiba gigabeat® MEG-F40S (40 GB) MP3 Player holds up to 10,000 songs for your listening pleasure. Download and play MP3, WMA or WAV files, plus much more. It is compatible with PlaysForSure™ and Napster To Go™ to give you a lot of optional downloads.SRS® WOW® simulated surround sound lets you enjoy music to the max. You can even choose and download your favorite album cover. Some features include: Numerous equalizers to fit music tempo/mood, great Sound quality, fast upload via the cradle, picture capability, pictures in sync with songs,'A' button is customizable and more. “ The pictures is a neat added feature and many other things make this a great buy. I highly recommend it for performance and quality.”
Pros: Easy to use , good battery life, stylish and features. |
Cons: Some minor software problems. |
Toshiba gigabeat® MEG-F40S (40 GB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Toshiba gigabeat® MEG-F40S (40 GB) MP3 Player Review:
Apple iPod mini Pink Second Gen. (6 GB - M9805LL/A) MP3 Player The Apple iPod mini Pink Second Gen. (6 GB - M9805LL/A) MP3 Player fea... Sony Network Walkman NW-E505 (512 MB) MP3 Player The Sony Network Walkman NW-E505 (512 MB) MP3 Player features battery ... iRiver H10 (20 GB) MP3 Player The iRiver H10 (20 GB) MP3 Player feature: Plays up to 600 hours of di... Apple iPod nano Black (2 GB, MA099LL/A) MP3 Player The Apple iPod nano Black (2 GB, MA099LL/A) MP3 Player has 2GB interna...