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-27591886");
$keywords="Sony Cyber-Shot DSC-R1 Digital Camera";
$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 Cyber-Shot DSC-R1 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Sony Cyber-Shot DSC-R1 Digital Camera has great image quality, lots of real resolution, and good low-noise level performance. Some of the features include: 10.3-megapixel recording, large APS-C class CMOS image sensor for greater sensitivity, low noise, and high resolution, Carl Zeiss Vario-Sonnar T* lens with wide-angle capability, 35mm equivalent lens focal length: 24-120mm, 5X optical/2X digital/10X total zoom (also, 3X Smart Zoom/15X total Smart Zoom, when shooting at 1296 x 864 resolution), manual focus ring, 2" color LCD with Free-angle Rotation, high-resolution electronic viewfinder with diopter adjustment, live preview of exposure and depth-of-field with 100% full-frame accuracy in viewfinder and LCD screen, top JPEG resolution: 3888 x 2592, autofocus assist lamp, film speed eqivalent (ISO) settings: Auto, 160, 200, 400, 800, 1600, 3200 and so much more. “This camera is loaded with many great features to enhance your photo performance. I recommend this little gem!”
Pros: Dual memory cards, easy to use and great picture quality. |
Cons: No movie mode |
Sony Cyber-Shot DSC-R1 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Sony Cyber-Shot DSC-R1 Digital Camera Review:
Olympus Camedia E-20N Digital Camera The Olympus Camedia E-20N is a 5 megapixel digital camera that has exc... Canon PowerShot A85 Digital Camera The Canon PowerShot A85 is a 4.0-megapixel CCD camera that delivers hi... Panasonic Lumix DMC-LC20 Digital Camera The Panasonic Lumix DMC-LC20 is a 2.1 megapixels digital camera that d... Sony Cyber-Shot DSC-P93 Digital Camera The Sony Cyber-Shot DSC-P93 is a 5.0 megapixels digital camera that of...