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-22773807");
$keywords="Nikon Coolpix 4800 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;
?>
Nikon Coolpix 4800 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Nikon Coolpix 4800 is a 4 megapixels digital camera with combined features and longer zoom for consumers. This lightweight and a simple point and shoot camera offers higher CCD for images up to 2288x1712 pixel. It features a 8.3x optical (36 - 300 mm) /4x digital zoom lens, a 1.8-inch-118,000 pixels color LCD monitor with digital viewfinder, capability of video recording short clips at 15 fps, still shot exposure control of 1.5 fps, built-in flash, microphone and USB connectivity and powered by Lithium batteries with battery life up to 240 images. Great as an entry level camera.
Pros: Features, compact, lightweight, easy to use |
Cons: Battery, low memory card, |
Nikon Coolpix 4800 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Nikon Coolpix 4800 Digital Camera Review:
Canon PowerShot A540 Digital Camera The Canon PowerShot A540 Digital Camera has a high-quality 4x optical ... Panasonic Lumix® DMC-FX01 Digital Camera The Panasonic Lumix® DMC-FX01 Digital Camera features a Leica DC Vario... EasyShare C360 Digital Camera The EasyShare C360 Digital Camera is easy to use and fast. It has been... Konica Minolta DiMAGE A1 Digital Camera The Konica Minolta DiMAGE A1 is a 5 megapixel camera, with point and s...