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-20827068");
$keywords="Sony DAV-S500 System";
$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 DAV-S500 System $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Frank the Couch Potato Newbie Product Reviewer:
The Sony DAV-S500 System has Dolby Digital, DTS and Dolby Pro Logic decoding, plays DVD Video discs, CD Audio, Super Audio CD (SACD), CD-R and CD-RW discs, VCD. There is also a tuner with 20 FM and 10 AM presets. features two slow motion speeds (Panasonic DVD players have five) and only three fast scan speeds (five for Panasonic). The system plays SACD discs and decodes Dolby Digital, DTS and Dolby Pro Logic.
|
Pros: Picture; sound; SACD replay; speakers size. |
Cons: Slow load speed |
Sony DAV-S500 SystemNewbie Rating
2 Thumbs UpReviews similar to our Sony DAV-S500 System Review:
Sony DAV-FC7 System The Sony DAV-FC7 System features a 5-Disc Slot Loading DVD/SACD/CD Cha... Sony DAV-FC8 System The Sony DAV-FC8 System sleek system offers both start-of-the-art des... Yamaha YHT-450 System The Yamaha YHT-450 System comes with 100 Watts x 6 Channels @ 8 Ohms (... JVC TH-M55 System The JVC TH-M55 System includes Receiver, DVD Player, Speakers, Radio T...