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-28520182");
$keywords="Nikon D50 Digital Camera with 18-55mm and 55-200mm Lenses";
$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;
?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Nikon D50 Digital Camera with 18-55mm and 55-200mm Lenses has great scene mode including: auto, portrait, landscape, child, close up, sports or night portrait. It has a new easy-to-view, easy-to-understand menu. You can crop images and still maintain clarity or blow up images to poster-size with the 6.1-megapixel resolution. You get outstanding image quality, the power to interchange lenses, and the duality with the SLR. Includes great shooting modes and large memory. We have taken over 7o0 pictures on the first charge of the battery. “ I have not went wrong buying this camera. I'm getting another for my friend for her birthday.”
Pros: Everything is good. |
Cons: Nothing as I can see. |
Nikon D50 Digital Camera with 18-55mm and 55-200mm LensesNewbie Rating
2 Thumbs UpReviews similar to our Nikon D50 Digital Camera with 18-55mm and 55-200mm Lenses Review:
Gateway DC-T50 Digital Camera The Gateway DC-T50 is a 5 megapixel CCD sensor that captures up to 2... Panasonic Lumix DMC-FZ3 Digital Camera The Panasonic Lumix DMC-FZ3 is a 3.2-Megapixel CCD digital camera tha... Pentax Optio S Digital Camera The Pentax Optio S is a 3-megapixel digital camera that is capable of... Samsung Digimax V5 Digital Camera The Samsung Digimax V5 is a 5 megapixel CCD sensor that captures up t...