Re: How can I strip the code from HTML pages to extract the contents of a HTML page.
| From: | DL Neil | Date: | Wed, 28 Aug 2002 14:14:54 +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-114368@lists.php.net to get a copy of this message | ||
Carlos,
I'm sorry, but am just leaving... If you check the PCRE RegEx pages of the
annotated manual, there are contributed examples that will help in this
situation (probably under preg_match_all() )
Regards,
=dn
> 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