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-Nikon_Coolpix_5000_Digital_Camera");
$keywords="Nikon Coolpix 5000 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 5000 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Nikon Coolpix 5000 is a 5 megapixels digital camera that delivers quality images up to 2560 x 1920 resolution. This camera jam packed with all the photographic things you need too work like a pro. From optics, resolution to performance, just name it. It comes with 3x optical(28-85 mm)/4x digital zoom lens, with Manual and Auto focus, capable of recording short video clips at 10 fps for 60 seconds, still shot speeds at 2 fps, IBM Microdrive memory, External and Built-in flash with five operating modes, 1.8 - inch (110,000)LCD panel with optical viewfinder, built-in microphone and speaker, USB connectivities and powered by LIthium battery. If you need pro-like features at a consumer price, this is your camera.
Pros: Fast, features, quality, powerful |
Cons: Pricey, a lot to learn |
Nikon Coolpix 5000 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Nikon Coolpix 5000 Digital Camera Review:
Olympus D-565 Zoom Digital Camera The Olympus D-565 Zoom is a 4 megapixel digital camera with wide array... Casio QV-R51 Digital Camera The Casio QV-R51 is a 5 Megapixel compact digital camera with wide ar... Nikon Coolpix 8800 Digital Camera The Nikon Coolpix 8800 is an 8.0 megapixel CCD that delivers images up... Canon PowerShot SD20 / IXUS i5 Digital Camera The Canon PowerShot SD20 / IXUS i5 Digital Camera features: 5-megapixe...