extract/replace the content of html pages
| From: | JLake | Date: | Fri, 02 Jan 2004 22:42:35 +0000 |
| Subject: | extract/replace the content of html pages | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173656@lists.php.net to get a copy of this message | ||
Hello
I have a folder full of html pages that I need to extract the content from.
They all have <!-- content start --> and <!--content end --> comment tags
surrounding the content. I need an easy way (not one at a time) to extract
that content and place it in a new template.
Any ideas are appreciated. Im assuming it will have to be some sort of
strpos and substr thing, but I'm not sure how to automate my process
Thanks,
J.