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-23537599");
$keywords="Canon PowerShot A510 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 A510 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
Canon PowerShot A510 Digital Camera creates excellent fool-proof pictures. The A510 offers still photo settings that range from a small 640 x 480 photo size. This is great for emailing pictures to friends and family. Prints of 4 x 6 and 5 x 7 inches are excellent. Some of the features include: 3.2 MP CCD captures enough detail for photo-quality 10 x 14-inch prints, 4x optical zoom, 9-point AiAF, 13 shooting modes, Large 1.8-inch display; D!GIG Image Processor for faster speed and vibrant colors. Also includes: Print/Share button for easy direct printing and downloads, plus ID Photo Print and Movie Print with Canon CP printers and stores images on SD or MultiMedia Cards; and is powered by 2 AA batteries. “ This camera is exceptionally easy to use, I love it and recommend it!.
Pros: It has full manual controls, very good photo quality, and faster operation. |
Cons: Slow flash cycle. |
Canon PowerShot A510 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon PowerShot A510 Digital Camera Review:
Pentax Optio S40 Digital Camera The Pentax Optio S40 is a 4 megapixel digital camera full range of fea... Canon power shot A80 Digital Camera The Canon power shot A80 Digital Camera transfer of images to PC via R... Canon PowerShot A60 Digital Camera The Canon Powershot A60 is a 2 megapixels digital camera that has easy... Leica D-LUX 2 Digital Camera The Leica D-LUX 2 Digital Camera is fun to use and produces extremely...