Re: How can I strip the code from HTML pages to extract the contents of a HTML page.
| From: | Andrew Brampton | Date: | Wed, 28 Aug 2002 14:26:20 +0000 |
| Subject: | Re: How can I strip the code from HTML pages to extract the contents of a HTML page. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114371@lists.php.net to get a copy of this message | ||
the striptag function is what I think you want, it just removes all HTML
tags and returns whatever is left
php.net/striptag
Andrew
----- Original Message -----
From: "Charles Fowler" <charlie@rahinston.com>
To: <php_howto@p2p.wrox.com>; <php-general@lists.php.net>
Sent: Wednesday, August 28, 2002 2:58 PM
Subject: [PHP] How can I strip the code from HTML pages to extract the
contents of a HTML page.
> This may be an interesting challenge for someone or has it been done
> before
>
> Can some one help me.
>
> I am looking for a laboursaving method of extracting the contents of a
> web page (Text only) and dumping the rest of the html code.
>
> I need the contents to rework the pages and put the contents into flat
> file database. Large but only two columns of data. Simple to work with
> (no need for DB) - They are just alot of links on a links page.
>
> Scripts would be welcome.
>
> Ciao, Carlos
>
>
>
>
--------------------------------------------------------------------------
------
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php