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-21884384");
$keywords="Canon PowerShot Pro1 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 Pro1 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Canon PowerShot Pro1 is an 8 Megapixel digital camera with combination of design and high-end features.This is ergonomically designed and the grip is well contoured for comfort while holding with your palm. This sleek and compact camera features a 7x optical (28-200 mm)/3.2x digital zoom with a focal lenght of 7.2-50.8 mm. It has Autofocus and Manual controls, 2.0-inch (235,000 pixels) color LCD, digital viewfinder, video clips speed of 15 fps, exposure control at 2.5 FPS, 64 MB memory Card , built -in flash, speaker, microphone and powered by a Proprietary Lithium battery that can last up to 420 images. This camera has the right features for right price. “ Canon cameras simply take better pictures overall “.
Pros: Battery, Shutter-speed,LCD display, easy to use, high resolution |
Cons: Expensive, lens cap |
Canon PowerShot Pro1 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon PowerShot Pro1 Digital Camera Review:
Canon power shot A80 Digital Camera The Canon power shot A80 Digital Camera transfer of images to PC via R... Olympus EVOLT E-300 Digital Camera The Olympus EVOLT E-300 Digital Camera delivers excellent photographic... Sigma SD9 Digital Camera The Sigma SD9 is a 3-megapixel SLR/professional CMOS sensor digital c... Canon PowerShot S80 Digital Camera The Canon PowerShot S80 Digital Camera is a great camera. I have had s...