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-22462399");
$keywords="Hewlett Packard PhotoSmart R707 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;
?>
Hewlett Packard PhotoSmart R707 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The HP Photosmart R707 is a 5 megapixels digital with elegant and ergonomic design for that delivers quality images up to 2612x1968. This compact camera snaps images that can be enlarge up to a poster-size. Its features include a 3x optical (39-117 mm) l/3x digital zoom lens, a 1.5-inch-119,548 pixels color LCD monitor with optical viewfinder, capability of video recording short clips at 30 fps, continuous shooting of 3 fps, built-in flash, microphone, speaker and powered by Lithium battery. With amazing features, its a great point and shoot camera. This is a great, affordable, easy to use camera that gives good quality pictures
Pros: Features, quality, ease of use, price |
Cons: Battery |
Hewlett Packard PhotoSmart R707 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Hewlett Packard PhotoSmart R707 Digital Camera Review:
Canon PowerShot SD600 Digital Camera The Canon PowerShot SD600 Digital Camera gives great image quality eve... Canon PowerShot SD300 / IXUS 40 Digital Camera The Canon PowerShot SD300 / IXUS 40 Digital Camera gives you a creativ... Fuji FinePix A200 Digital Camera The Fuji FinePix A200 is a 2 megapixel CCD sensor digital camera that... Nikon Coolpix 3100 Digital Camera The Nikon Coolpix 3100 is a 3 megapixels digital camera is a good star...