Re: Parsing HTML documents
| From: | F�bio Ottolini | Date: | Sun, 03 Dec 2000 20:47:33 +0000 |
| Subject: | Re: Parsing HTML documents | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-28465@lists.php.net to get a copy of this message | ||
Sorry if my answer is a little bit stupid, but don't you think it's easier
to create pages with the names of the titles you need? Then you could skip
step 3.
Best regards,
Fábio Ottolini
----- Original Message -----
From: "Patrick Dunford" <pdunford.webs@clear.net.nz>
To: <php-general@lists.php.net>
Sent: Sunday, December 03, 2000 6:27 PM
Subject: [PHP] Parsing HTML documents
> I want to write a script that:
> * Reads a directory on the website
> * List the names of the HTML files in the directory
> * Reads the Title tag from each file and generates a hyperlink with it.
>
> Is there a simpler way other than manually searching each HTML file for
the
> <TITLE> tag?
>
> =======================================================================
> Patrick Dunford, Christchurch, NZ -
> http://pdunford.godzone.net.nz/
>
> Therefore I tell you that no one who is speaking by the Spirit
> of God says, "Jesus be cursed," and no one can say, "Jesus is
> Lord," except by the Holy Spirit.
> -- 1 Corinthians 12:3
> http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20001203
> =======================================================================
> Created by Mail2Sig -
> http://pdunford.godzone.net.nz/software/mail2sig/