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-23645842");
$keywords="Sony D-NE920 Personal CD 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 D-NE920 Personal CD Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Fred Fredricks Newbie Product Reviewer:
The Sony D-NE920 Personal CD Player features incredibly long battery life (up to 100 hours with one NH-14WM rechargeable battery and one "AA" battery). It has a 5-Line Negative/Positive Backlit LCD, giving you the ability to view track, title, album and artist information. Plus, you can fit up 490 songs on one CD, and it'll play back your CD-R/RW discs. Player The D-NE920 ATRAC CD Walkman playback modes give you multiple listening choices: Hearing one track over and over to hearing tracks in preset order, random and more. “ This player has worked great for me every time”.
|
Pros: Long battery and quality |
Cons: No problems so far. |
Sony D-NE920 Personal CD PlayerNewbie Rating
2 Thumbs UpReviews similar to our Sony D-NE920 Personal CD Player Review:
Sony Walkman D-SJ301 Personal CD Player The Sony Walkman D-SJ301 Personal CD Player feature CD-R/RW playback, ... JVC XLPG300A Personal CD Player The JVC XLPG300A Personal CD Player Features: Plays CD, CD-R and CD-RW... Panasonic SL-SV550 Personal CD Player The Panasonic SL-SV550 Personal CD Player Features: Thin, round-form d... GPX CDP4504DT Personal CD Player The GPX CDP4504DT Personal CD Player has 60-second anti-skip protectio...