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-23755895");
$keywords="Sony Network Walkman NW-E505 (512 MB) 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;
?>
Sony Network Walkman NW-E505 (512 MB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Sony Network Walkman NW-E505 (512 MB) MP3 Player features battery life: up to 50 hours of playback on one full charge. Features: plays MP3 and ATRAC3 formats, converts WMA and WAV files to ATRAC3 format for playback. Has a 512MB embedded memory holds approximately: 8 hours of music at 128 Kbps - 16 hours of music at 64 Kbps - other bitrates also supported. Has FM tuner with 30 presets, three-line, backlit LCD display, repeat and random play, high-speed USB interface, earbud headphones, belt clip included, SonicStage® software - transfers music from CD into ATRAC3 format - converts WMA and WAV files to ATRAC3 for playback on NW-E505. “ The sound is very good and I have had no skips no matter what I am doing. I do recommend giving this a try, so far no real problems for me.”
Pros: It is very durable, quality sound, and work great. |
Cons: Software problems at times. |
Sony Network Walkman NW-E505 (512 MB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Sony Network Walkman NW-E505 (512 MB) MP3 Player Review:
Archos Gmini 402 (20 GB) Digital Media Player The Archos Gmini 402 (20 GB) Digital Media Player comes with a with a ... Apple iPod Third Gen. (40 GB, MAC/PC - M9245LL/A) MP3 Player The Apple iPod Third Gen. (40 GB, MAC/PC - M9245LL/A) MP3 Player has m... Samsung Yepp YP-MT6X (512 MB) MP3 Player The Samsung Yepp YP-MT6X (512 MB) MP3 Player features: 512MB portable ... Samsung Yepp YP-T7X (512 MB) MP3 Player The Samsung Yepp YP-T7X (512 MB) MP3 Player features: CSTN Color LCD (...