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-28515315");
$keywords="SanDisk Sansa m260 (4 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;
?>
SanDisk Sansa m260 (4 GB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The SanDisk Sansa m260 (4 GB) MP3 Player comes with many great features such as: 4GB of memory plays back over 64 hours of MP3 (128 hours of WMA) music (over 960 MP3/1920 WMA songs), supports Microsoft PlaysForSure Downloads and Subscription, has up to 19 hours continuous playback using one AAA Battery, Support for MP3, WMA, and DRM WMA file formats, FM tuner, voice recording w/built-in microphone. You can even create folders to make multiple custom playlists. Choose to play your favorite track repeatedly, in random sequence, or play all the songs continuously. Has a Hi-speed USB 2.0 connects to almost any computer for hi-speed music transfer and so much more. It’s easy to navigate by title, album, genre and playlist on the indigo backlit LCD. The Sansa m260 digital audio player come with an included case and armband to protect your player and keep your hands free.” Wow it has jusdt about everything I'm glad I was prompted to get this one.”
Pros: Easy to use, good battery life, good sound, many good features. |
Cons: can't play video games |
SanDisk Sansa m260 (4 GB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our SanDisk Sansa m260 (4 GB) MP3 Player Review:
Samsung Yepp YP-T7JX (512 MB) MP3 Player The Samsung Yepp YP-T7JX (512 MB) MP3 Player has 512MB that gives 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 ... Apple iPod Video Black (60 GB, MA147LL/A) Digital Media Player The Apple iPod Video Black (60 GB, MA147LL/A) Digital Media Player can... Apple iPod mini Blue Second Gen. (6 GB - M9803LL/A) MP3 Player The Apple iPod mini Blue Second Gen. (6 GB - M9803LL/A) MP3 Player has...