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-21192516");
$keywords="Canon PowerShot SD10 / Digital IXUS I 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 SD10 / Digital IXUS I is a 4 Megapixel Ultra-compact digital capable of capturing high quality images, ideal for printing snapshots as large as 8x10 inches or for email transmission or web applications. It is bundled with features including 5.7x digital zoom, Autofocus with all focus range of 4-inches and up, 1.5 inch (78,000 pixels) LCD panel, 320 x 240 -180 seconds movie with AVI format, auto white balance, SD Card, USB connectivity, built -in flash, speaker and microphone and powered by a Lithium Battery battery that could last up to 480 images. This is a good camera available in silver, white and black at a good price. If you are going for size and style, the SD10 is the camera to buy. It takes great quality 4 mega-pixel pictures in a sleek, very small body.
Pros: Quality , features, small size 4 MP camera, price |
Cons: No optical zoom, no optical viewfinder no remote control |
Canon PowerShot SD10 / Digital IXUS I Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon PowerShot SD10 / Digital IXUS I Digital Camera Review:
Olympus Camedia C-770 Digital Camera The Olympus Camedia C-770 Digital Camera gives extremely versatile sho... Konica Minolta DiMAGE A200 Digital Camera The Konica Minolta DiMAGE A200 Digital Camera is packed with great fea... Canon PowerShot S1 IS Digital Camera Man, I am no expert in digital cameras, but this thing is the BOMB!!! ... Nikon COOLPIX L2 Digital Camera The Nikon COOLPIX L2 Digital Camera has several great features that I ...