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-20713853");
$keywords="Panasonic SL-SX420 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;
?>
Panasonic SL-SX420 Personal CD Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Fred Fredricks Newbie Product Reviewer:
The Panasonic SL-SX420 Personal CD Player features: Thin, round-form design for optimal portability with round LCD on player lid, Plays standard CD, audio CD-R, audio CD-RW, and MP3/WMA CD (does not read ID3 tags), Hold prevents unintended commands (play, stop, etc.) and resume picks up exactly where the player left off. Includes stylish over-ear headphones, Up to 48 hours of MP3 playback from 2 AA batteries (not included). Overall, this MP3/CD player is a great value and probably works as well or better than others that you would be likely to pay twice as much for.
|
Pros: Low battery drain, good sound quality, good MP3 support. |
Cons: Cheap headphones |
Panasonic SL-SX420 Personal CD PlayerNewbie Rating
2 Thumbs UpReviews similar to our Panasonic SL-SX420 Personal CD Player Review:
GPX CDPM5004 Personal CD Player The GPX CDPM5004 Personal CD Player is a portable CD and MP3 player wi... Panasonic SL-SX330 Personal CD Player The Panasonic SL-SX330 Personal CD Player offers features and elegance... Sony Walkman D-SJ301 Personal CD Player The Sony Walkman D-SJ301 Personal CD Player feature CD-R/RW playback, ... Philips AX5210 Personal CD Player The Philips AX5210 Personal CD Player features: Rubberized edge, silve...