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-20691241");
$keywords="Sony Cyber-Shot DSC-V1 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-V1 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Sony Cyber-Shot DSC-V1 is an ultra-compact 5 Megapixel Digital camera with features and functions housed in a solid magnesium alloy material. This ultra-compact camera comes with features including a 4x / 4x digital zoom using Carl Zeiss lens, a 1.5 inch (123,000 pixels) LCD panel, MPEG video format, Memory Stick , USB port, XD Card, built -in flash ,speaker, microphone, 10 sec self-timer, and powered by a Proprietary Lithium battery that could take 150 images. It delivers great picture quality and easy to use. It’s excellently sculptured that it fits well into the palm of y our hand. It’s not as robust as any digital SLR, however it has features for use in professional photography.
Pros: High resolution, manual exposure, very low noise levels, Carl Zeiss lens |
Cons: Pricey, a little heavier and bulkier, short battery life |
Sony Cyber-Shot DSC-V1 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Sony Cyber-Shot DSC-V1 Digital Camera Review:
Canon PowerShot A60 Digital Camera The Canon Powershot A60 is a 2 megapixels digital camera that has easy... Mustek Gsmart D35 Digital Camera The Mustek Gsmart D35 is a 5 megapixel CCD sensor that captures up to... Sony Cyber-Shot DSC-R1 Digital Camera The Sony Cyber-Shot DSC-R1 Digital Camera has great image quality, lot... Olympus Stylus 800 / µ 800 Digital Camera The Olympus Stylus 800 / µ 800 Digital Camera has the latest technolog...