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-28060195");
$keywords="Philips GoGear SA261 (512 MB) 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;
?>
Philips GoGear SA261 (512 MB) MP3 Player $info[32]"; } else{ echo"
"; echo ""; echo" "; } ?>
Newbie Review by James Francis Newbie Product Reviewer:
The Philips GoGear SA261 (512 MB) MP3 Player features: built-in microphone for voice recording, FM radio and line-in recording, White backlit LCD display, SD expansion slot, you can quickly find songs by track, artist or playlist by the SuperScroll navigation. Also has MP3 and WMA playback, Built-in mini SD memory slot for memory expansion. Record your favorite tunes and make voice recordings. Record directly to MP3 via analog or digital line-inputs and more. You can use the microphone for voice recordings or line-in to record from any source directly to MP3. “ This mp3 player is very durable and the performance is very good. I'm satisfied in my purchase.”
Pros: Solid audio performance and features. |
Cons: None, as of yet |
Philips GoGear SA261 (512 MB) MP3 PlayerNewbie Rating
2 Thumbs UpReviews similar to our Philips GoGear SA261 (512 MB) MP3 Player Review:
Apple iPod U2 Special Edition (20 GB, M9787LL/A) MP3 Player The Apple iPod U2 Special Edition (20 GB, M9787LL/A) MP3 Player comes ... Apple iPod Photo (20 GB, MA079LL/A) MP3 Player The Apple iPod Photo (20 GB, MA079LL/A) MP3 Player lets you play your ... SanDisk Sansa e130 (512 MB) MP3 Player The SanDisk Sansa e130 (512 MB) MP3 Player includes a SD Card Slot whi... Apple iPod nano Black (4 GB, MA107LL/A) MP3 Player The Apple iPod nano Black (4 GB, MA107LL/A) MP3 Player offer you great...