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-23740136");
$keywords="Canon PowerShot SD400 / IXUS 50 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 SD400 / IXUS 50 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
With the Canon PowerShot SD400 / IXUS 50 Digital Camera it is easier to view in bright conditions. The SD400 has 5-megapixel CCD that captures enough detail for a great photo-quality 13 x 17-inch prints, 3x optical zoom; 2.0-inch LCD display; ultra-compact design (.8 inches thick), enhanced movie mode with fast 60-frame-per-second capture rate, DIGIC II Image Processor which provides fast, accurate image processing and is powered by rechargeable Lithium-ion battery. Plus it stores images on SD memory card. The latest technology has been added to ensure the very finest image quality. Nine sophisticated color-editing features include Color Swap, this gives the ability to replace one color with another; Color Accent, the ability to convert all but one color area of an image to monochrome, Vivid blue, green, and red ( this gives a better better tone). “ I highly recommend this camera, I'm having so much fun with it!”
Pros: It's sturdy, compact, fast operation, excellent picture quality, large bright LCD. |
Cons: No manual control and weak flash. |
Canon PowerShot SD400 / IXUS 50 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon PowerShot SD400 / IXUS 50 Digital Camera Review:
Fuji FinePix E500 Digital Camera The FujiFilm Finepix E500 is a 4 megapixels compact digital camera wi... Hewlett Packard Photosmart M22 Digital Camera The Hewlett Packard Photosmart M22 Digital Camera has many great featu... Nikon Coolpix 4600 Digital Camera The Nikon Coolpix 4600 Digital Camera's features are very good and eas... BenQ DC1300 Digital Camera The BenQ DC1300 is a 1.36 megapixel CCD sensor that captures up to 1...