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-23480238");
$keywords="Pentax OptioWP 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 OptioWP Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Pentax OptioWP Digital Camera comes with: rechargeable lithium-ion battery, battery charger D-BC8, AC plug cord, AV cable, USB cable, I-USB7 software, CD ROM strap and a operating manual. It features 5.0 megapixels plus a 3X zoom. Interfaces/Ports: 1 x USB, 1 x Audio/Video Output and a 1 x DC Power Input. The WPi features JIS Class 8 waterproof performance for 30 minutes of continuous operation at an underwater. Also includes: 3X optical zoom performance, multiple shooting or playback options simultaneously, three color modes (full-color, B&W, sepia) for versatile movie recording. Clock Mode function that displays the time even when the camera is off. SD memory card compatibility; approximately 10.5MB built-in memory and a standard image viewer, ACDSee for Pentax software. “ The picture quality is pretty good and overall I am very satisfied with this camera. Great pictures under the water, a wow!”
Pros: Good features, waterproof, nice LCD screen, easy to use. |
Cons: No viewfinder, no lens cover. |
Pentax OptioWP Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Pentax OptioWP Digital Camera Review:
Nikon D70s Digital Camera with 18-70mm Lens TheNikon D70s Digital Camera with 18-70mm Lens has a proven track reco... Nikon Coolpix S3 Digital Camera The Nikon Coolpix S3 Digital Camera is a solid quality camera. The S3 ... Canon PowerShot SD200 The PowerShot SD200 is a solid 3.2 MP digital camera in ultra slim-com... Sony Cyber-Shot DSC-F828 Digital Camera The Sony Cyber-Shot DSC-F828 is an 8 Megapixel D-SLR digital camera w...