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-23626624");
$keywords="Cyber-Shot DSC-W5 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;
?>
Cyber-Shot DSC-W5 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Cyber-Shot DSC-W5 Digital Camera is packed with features such as: 5.1-megapixel recording, Carl Zeiss® Vario-Tessar® lens, 3X optical zoom (2X digital/12X total zoom with lower-res photos only), 35mm equivalent lens focal length: 38-114mm, Real Imaging Processor™ for high-quality images and faster camera response, 2-1/2" color LCD, JPEG options: resolution up to 2592 x 1944; 2048 x 1536; 1280 x 960; 640 x 480, MPEG Movie VX with audio, 14-bit DXP A/D conversion, five-area multipoint autofocus, 7 Scene modes, including Twilight, Candle, and Beach. Also includes: shutter speed: 30 – 1/1000 sec. » variable ISO (sensitivity) settings, macro mode (for shooting in-focus shots as close as 2-3/8" from subject), built-in flash » built-in mono mic and speaker, USB 2.0 interface (backwards-compatible with older USB 1.1 interfaces). Plus more great features including a 32MB built-in flash memory holds approximately 12 shots at highest resolution and is compatible with Memory Stick or Memory Stick PRO™, PictBridge-compatible, Exif 2.2-compliant. And a audio/video output for connection to a TV. “ I have had some fun with this camera, I recommend it highly!'
Pros: Great resolution, build quality, picture quality and features. |
Cons: Limited Manual Modes and lack of controls. |
Cyber-Shot DSC-W5 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Cyber-Shot DSC-W5 Digital Camera Review:
Samsung Digimax V800 Digital Camera The Samsung Digimax V800 Digital Camera has DIGIMAX V800 technology so... Sony Cyber-Shot DSC-P10 Digital Camera The Sony Cyber-Shot DSC-P10 is a 5 megapixel digital camera that deli... Fuji FinePix E900 Zoom Digital Camera The Fuji FinePix E900 Zoom Digital Camera comes with 2 x AA batteries,... Vivitar ViviCam 3755 Digital Camera The Vivitar ViviCam 3755 is a 3.2 megapixel capable of image resolutio...