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-24000935");
$keywords="Sony FWD-42PV1 42 in. EDTV-Ready Plasma TV PV 1 42 ED FWD";
$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 Harry Vernola Newbie Product Reviewer:
The Sony FWD-42PV1 42 in. EDTV-Ready Plasma TV features full screen saver functions including auto dimmer functions and on/off timer and so much more. Offers picture-in-picture / picture-and-picture capabilities for stunning visual impact and has dual expansion slot so you and I can add optional input cards, TV tuner cards and more. It features 42" Plasma Monitor: 852 x 480 Resolution 16:9 panel (viewable area, measured diagonally). Digital Video Input (DVI-D HDCP): The DVI input function offers a high picture quality when used with a DVI-equipped PC, ultra-high panel brightness and contrast(10,000:1 contrast ratio). Lower power consumption at only 260W and a full screen saver functions including auto dimmer function and on/off timer and so much more. Also has Video Signal System: NTSC, PAL, SECAM, NTSC4, 43, PAL60, PAL-M, PAL-N, Picture-and-Picture, Digital Video Input(s): Composite (BNC), Y/C (Mini Din 4), Component (HD-15) Digital (DVI-HDCP). “ Gives great performance and has a very cool style. I recommend it highly.”
|
Pros: Style, features quality and sound. |
Cons: Nothing |
Sony FWD-42PV1 42 in. EDTV-Ready Plasma TV PV 1 42 ED FWDNewbie Rating
2 Thumbs UpReviews similar to our Sony FWD-42PV1 42 in. EDTV-Ready Plasma TV PV 1 42 ED FWD Review:
Syntax LT-42HVi 42 in. LCD TV The Syntax LT-42HVi 42 in. LCD TV delivers all the video and sound enh... Sharp LC-37D6U 37 in. LCD TV The Sharp LC-37D6U 37 in. LCD TV features: 37" low-reflective flat-pan... Samsung LN-R469D 46 in. LCD TV The Samsung LN-R469D 46 in. LCD TV features: Premium Samsung LCD Panel... Panasonic TH-37PHD8UK 37 in. Plasma TV The Panasonic TH-37PHD8UK 37 in. Plasma TV features: Up to 3,000:1 con...