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-27690780");
$keywords="Pentax *ist DL (W/18-55 LENS) 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 *ist DL (W/18-55 LENS) Digital Camera $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Pentax *ist DL (W/18-55 LENS) Digital Camera is easy to use and light. One of the features I love is the interchangeable lenses. This great little gem as many great features such as: simple, accessible operation, from the multi-function four-way controller to the large, easy-to-use mode dial, all switches and dials are efficiently and functionally positioned. It has a compact design with high-rigidity stainless-steel chassis Body measures just 4.9 x 3.6 x 2.6 inches. Large 2.5-inch LCD monitor remains easy to view, even on sunny days. Power saving mode extends battery life, 6.1 megapixel CCD and sophisticated 16-segment multi-pattern metering delivers outstanding image reproduction. Convenient SD media Card storage and High Speed USB 2.0 data transfer.Versatile multi-source power supply operates on AA batteries, 2CR-V3 lithium batteries, or optional AC adapter. “ I have recommended this to all my friends and now I would like to recommend it to you.”
Pros: It's lightweight, simple, compatible and a very good price. |
Cons: Menu hard to figure out. |
Pentax *ist DL (W/18-55 LENS) Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Pentax *ist DL (W/18-55 LENS) Digital Camera Review:
Olympus Camedia D-40 Zoom Digital Camera The Olympus Camedia D-40 is a 4 megapixel digital camera that delivers... Kodak EasyShare C643 Digital Camera The Kodak EasyShare C643 Digital Camera produces pictures are so clear... Sony Cyber-Shot DSC-H1 Digital Camera The Sony Cyber-Shot DSC-H1 Digital Camera stores images on Memory Stic... Sony Cyber-Shot DSC-W12 Digital Camera The Sony Cyber-Shot DSC-W12 Digital Camera features: 5-megapixel senso...