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-23626623");
$keywords="Canon PowerShot A520 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;
?>
Canon PowerShot A520 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Canon PowerShot A520 Digital Camera has very good power for the price. So far I have not had any major problems with this camera. The A520 has 4x optical zoom lets you get up close before you take your shot; this makes the picture more clear. Plus has an additional 3.6x digital zoom lets you enlarge the details before or after shooting. Some of the features include: easy printing and downloads with the Print/Share button, uses SD or MultiMedia Cards (MMC) to store images, powered by 2 AA batteries, 4.0 MP CCD captures enough detail for photo-quality 11" x 15" inch prints, 4x optical zoom, 9-point AiAF and 13 shooting modes,1.8-inch display and it uses DIGIC image processor. All of this and so much more. “ With the price I paid for this camera I could have not gotten a better camera. I recommend this highly!”
Pros: It has optical zoom; compact; lightweight; manual controls. |
Cons: Nothing that I can think of. |
Canon PowerShot A520 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon PowerShot A520 Digital Camera Review:
Olympus Camedia C-3000 Zoom Digital Camera The Olympus Camedia C-3000 Zoom is a 3 megapixels digital camera that ... Panasonic Lumix® DMC-LZ3 Digital Camera The Panasonic Lumix® DMC-LZ3 Digital Camera includes: Two AA batteries... Panasonic Lumix DMC-FZ15 Digital Camera The Panasonic Lumix DMC-FZ15 is a 4 Megapixel CCD digital camera that ... Sony Cyber-Shot DSC-T1 Digital Camera The Sony Cyber-shot DSC-T1 is a typical point-and-shoot camera, well-b...