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-28808182");
$keywords="Pentax Optio A10 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;
?>
Pentax Optio A10 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Pentax Optio A10 Digital Camera features: 8 megapixels, 3x optical zoom, 4x digital zoom, autofocus, auto exposure, JPEG file format, ISO 50-800, D-Li8 lithium ion battery, movie mode w/sound, 2.5" LCD screen. “ I love the 15 shooting modes and 15 playback modes. They are great!” The great features include: 8.0-megapixel CCD captures enough detail for photo-quality, 16 x 22-inch prints 2.5-inch LCD display; 3x optical zoom with Shake Reduction technology. This helps in the quality by reducing the chances of shaking hands while shootings. Mode Palette on LCD lets you navigate and select from 15 shooting modes and 15 playback modes. Lets you record movies with sound in Divx MPEG-4 movie format (movie playback is not supported on Macintosh operating systems). Plus it is powered by D-LI8 lithium-ion battery; stores images on SD memory cards. “ This camera is amazing and I love all the features.”
Pros: Style, compact, quality, easy to use. |
Cons: None that I can see. |
Pentax Optio A10 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Pentax Optio A10 Digital Camera Review:
Canon PowerShot A300 Digital Camera The Canon Powershot A300 is a 3 megapixels digital camera ideal for bu... Sony Cyber-Shot DSC-T1 Digital Camera The Sony Cyber-shot DSC-T1 is a typical point-and-shoot camera, well-b... Canon PowerShot SD300 / IXUS 40 Digital Camera The Canon PowerShot SD300 / IXUS 40 Digital Camera gives you a creativ... Canon PowerShot S500 / Digital IXUS 500 Digital Camera The Canon PowerShot S500 is a compact, sleek and stylish camera that d...