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-21884387");
$keywords="Canon PowerShot S410 / Digital IXUS 430 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;
?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Canon PowerShot S410 is a 4 Megapixel upgrade of Powershot 400 digital camera with more improved features in a sleek compact design. It offers easy manual controls and special features to deliver high quality pictures. It is equipped with features including 3x ( 36 - 108 mm) optical/ 3x digital zoom lens, a 1.5inch (118,000 pixels) LCD panel, can capture short video clip speed at 15 fps and still pictures at a speed of 2.2 fps, Program Auto and Best Shot exposure modes , USB port, built -in flash, speaker, microphone and powered by a Proprietary Lithium battery that can last up to 440 images. This is ideal for photographers who want an more value for their money in an ultra-compact design. “ Great camera for first time digital purchases (color quality) and good enough for a pro's take anywhere camera “.
Pros: Very fast, Ultra- Compact, ease of use, longer battery life, quality,price |
Cons: Weak flash, small viewfinder |
Canon PowerShot S410 / Digital IXUS 430 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon PowerShot S410 / Digital IXUS 430 Digital Camera Review:
Kodak EasyShare C330 Digital Camera The Kodak EasyShare C330 Digital Camera takes good picture as well as ... Canon PowerShot A610 Digital Camera The Canon PowerShot A610 Digital Camera has low noise in a 5-Mp digica... DXG Technology DXG-328 Digital Camera The DXG Technology DXG-328 is a 3 megapixel CCD sensor with image res... Konica Minolta DiMAGE Z10 Digital Camera The Konica Minolta DiMAGE Z10 Digital Camera stores images on Secure D...