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-20816120");
$keywords="Olympus E-1 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;
?>
Olympus E-1 Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Olympus E-1 is a 5 Megapixel, digital camera with 4/3-type Super Latitude Full Frame Transfer CCD for improved dynamic range, better color, and less noise. This SLR/Professional digital camera combined high performance and durability in a well-designed magnesium alloy body. Features include a 2X or double conversion ratio and making a 35 mm lens to be 70 mm in focal length, 1.8 inch (134,000 pixels) LCD monitor with anti reflective coating, image resolution up to 2560 x 1920 pixels, Continuous shooting 3 frames per second up to 12 frames, Dual USB 2.0 (full 480 Mb/s speed) and IEEE 1394 (Firewire) connectivity and powered by Lithium battery. For extra performance and features, this procam is a great buy.
Pros: Quality, performance, durability, Low noise, Powerful battery |
Cons: Pricey, No Built-in flash |
Olympus E-1 Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Olympus E-1 Digital Camera Review:
Kodak EasyShare LS743 Digital Camera The Kodak EasyShare LS743 Digital Camera has awesome battery life. It ... Sony Cyber-Shot DSC-P51 Digital Camera The Sony Cyber-Shot DSC-P51 is a 2.0 megapixel digital camera that de... Panasonic Lumix® DMC-FZ4 Digital Camera The Panasonic Lumix® DMC-FZ4 Digital Camera great picture quality espe... Canon PowerShot SD30 Digital Camera The Canon PowerShot SD30 Digital Camera is an easy-to-use features in ...