[Htmlparser-user] Help on extracting clean body content from web page
Brought to you by:
derrickoswald
From: cash c. <ca...@ya...> - 2007-11-13 06:07:44
|
Hi all, I am new to htmlparser. have download it and tried a few examples. However, i am having problem knowing the" correct way" to achieve my goal. I'm looking for a way to extract body content from web page, exclude all script sections. For example, using the following text <html> <head><title>title</title> <style> css style </style> </head> <body> Hello world <?php phpinfo() ?> </body> The correct code should only extract Hello world. Can any one help me on this? Thanks in advance. ____________________________________________________________________________________ Be a better sports nut! Let your teams follow you with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ |