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-23081133");
$keywords="Canon Digital Rebel / EOS-300D (Body only) 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 EOS 300D is a 6 megapixels SLR/professional digital camera is a great entry level camera for aspiring professionals. It is capable of taking pictures up to 3072 x 2048. This is rich in features which are common to most advanced cameras and these include 6.3MP CMOS digital sensor (22.7 x 15.1mm), 1.8-118,000 pixels, 35 metering zones, Shutter speeds 30 - 1/4000. 1/200 sync, ISO 100-1600, 2.5 fps with 4 shot buffer, six creative zone modes, seven programmed image control modes ( PIC modes) and powered by Lithium battery capable up to 600 images. This is an excellent camera at a remarkably low price compared to other DSLRs. A great entry level Digital SLR, many features, reliable, and great quality.
Pros: Quality, features, price, easy to use |
Cons: Shutter lag, AF systems |
Canon Digital Rebel / EOS-300D (Body only) Digital CameraNewbie Rating
2 Thumbs UpReviews similar to our Canon Digital Rebel / EOS-300D (Body only) Digital Camera Review:
Hewlett Packard Photosmart M22 Digital Camera The Hewlett Packard Photosmart M22 Digital Camera has many great featu... Olympus Camedia C-740 Ultra Zoom Digital Camera The Olympus Camedia C-740 Ultra Zoom is a 3.2 Megapixel professional d... Hewlett Packard Photosmart R817 Digital Camera The Hewlett Packard Photosmart R817 Digital Camera has a 5 megapixel r... Pentax Optio 33WR Digital Camera The Pentax Optio 33WR is a 3 megapixels digital camera offers a broad ...