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-23755901");
$keywords="Aiptek AX4 MP3 Player";
$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;
?>
Aiptek AX4 MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Aiptek AX4 MP3 Player combines great sound quality with a stylish, portable design. The built-in Li-Polymer battery fully charges via your USB port in 2 hours and supplies 8 hours of continuous MP3 music. Removable Hard Disk: store any type of data on the SD card and take it with you. Easy-to-Use: plug and play without driver. You can easily upload MP3 Files for hours of music on a Windows or Mac Operating System. “ What a find I love it! I recommend it highly!”
Pros: Features, quality and performance. |
Cons: Only supports MP3 |
Aiptek AX4 MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Aiptek AX4 MP3 Player Review:
Epson P-2000 (40 GB) Digital Media Player The Epson P-2000 (40 GB) Digital Media Player features: 3.8-inch high-... Samsung YP-U1 (1 GB) MP3 Player The Samsung YP-U1 (1 GB) MP3 Player has 512MB memory with support for ... Toshiba gigabeat® MEG-F40S (40 GB) MP3 Player The Toshiba gigabeat® MEG-F40S (40 GB) MP3 Player holds up to 10,000 s... Apple iPod 4 GB (MAC/PC - M9800B/A) MP3 Player The Apple iPod 4 GB (MAC/PC - M9800B/A) MP3 Player holds up to 1000 sk...