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-21078036");
$keywords="Canon Digital Rebel / EOS-300D (with 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;
?>
Newbie Review by Yousef Persons Newbie Product Reviewer:
The Canon Digital Rebel / EOS-300D is a 6.0 megapixel professional digital SLR that offers higher resolutions pictures in an inexpensive consumer price. It has loads of features including the 1.8 -inch( 118,000 pixel) LCD size, Auto focus & Manual Focus and Built-in flash, microphone and speaker, and fast exposure control at 2.5 frames per sec and more. It needs BP-511 Lithium Ion battery to start-up and can shoot up to 600 image before it drains. It is capable of outstanding 12 ' x 18" picture quality. This is basically and excellent camera at a price you can afford. “ The Digital Rebel isn't absolutely perfect, but is is the best digital SLR on the market for this price, in my opinion. I love this camera”.
Pros: Price, 6.3 megapixels, excellent image quality, ease of use, fast focus |
Cons: Bulky body, limited wide angle lens, No preview in the LCD |
Canon Digital Rebel / EOS-300D (with Lens) Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon Digital Rebel / EOS-300D (with Lens) Digital Camera Review:
Nikon Coolpix 4300 Digital Camera The Nikon Coolpix 4300 is a 4 megapixels compact digital camera with p... Canon EOS-20D Digital Camera The Canon EOS-20D Digital Camera is a professional digital SLR that of... Canon Digital Rebel / EOS-300D Body only Digital Camera The Canon Digital Rebel / EOS-300D Body only Digital Camera features: ... Kodak EasyShare Z730 Digital Camera The Kodak EasyShare Z730 Digital Camera is easy to use and is a good 5...