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-23494066");
$keywords="Mustek PVR-H140 (40 GB) Digital Media 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;
?>
Mustek PVR-H140 (40 GB) Digital Media Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Mustek PVR-H140 (40 GB) Digital Media Player includes: digital video player/recorder, digital photo player, MP3 player and voice recorder and more. Supports JPEG, ASF, MPEG-1, MP3, WMA and WAV formats all in 1 portable device. Connects to your PC through USB port so you can store your movies, music and photos. The unit includes a built-in microphone and speaker, an SD/MMC card slot, an AV input and output, a USB port and an earphone jack. Also comes with the PVR-H140 are is Video Studio SE for editing your videos, as well as Photo Express SE. “ Everything works flawlessly and I am very pleased and I highly recommend it.”
Pros: Large storage capacity, good screen, speaker, plays mp3,jpeg and asf video and has very good hardware quality. |
Cons: Battery is not replaceable. |
Mustek PVR-H140 (40 GB) Digital Media PlayerNewbie Rating
2 Thumbs UpReviews similar to our Mustek PVR-H140 (40 GB) Digital Media Player Review:
Apple iPod mini Blue (4 GB - M9436LL/A) MP3 Player The Apple iPod mini Blue (4 GB - M9436LL/A) MP3 Player's playback mode... iRiver PMP-120 (20 GB) Digital Media Player The iRiver PMP-120 (20 GB) Digital Media Player features: Built-in FM... Apple iPod nano White (1 GB, MA350LL/A) MP3 Player The Apple iPod nano White (1 GB, MA350LL/A) MP3 Player features: 1GB e... Apple iPod Photo (60 GB, M9586LL/A) MP3 Player The Apple iPod Photo (60 GB, M9586LL/A) MP3 Player has 60GB that holds...