Re: Grabing Meta Tag information.
| From: | Lars Torben Wilson | Date: | Tue, 05 Feb 2002 03:27:08 +0000 |
| Subject: | Re: Grabing Meta Tag information. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83510@lists.php.net to get a copy of this message | ||
On Mon, 2002-02-04 at 19:21, Philip J. Newman wrote:
> Is someone able to point me into the right direction.
>
> I have a disire to make a database of hyperlinks. At the moment the process is, some what
> slow, as I have to input all the data by hand. I would like some way that I can just put the URL in
> and it fetches the META TAG information.
>
> If you can help (o;
Something like this? ;) Works with fopen wrappers, too.
http://www.php.net/manual/en/function.get-meta-tags.php
Quick test:
<?php
error_reporting(E_ALL);
$foo = get_meta_tags('http://www.thebuttlesschaps.com');
print_r($foo);
?>
Hope this helps,
Torben
> Philip J. Newman
> Philip's Domain - Internet Project.
> http://www.philipsdomain.com/
> info@philipsdomain.com
> Phone: +64 25 6144012
--
Torben Wilson <torben@php.net>
http://www.thebuttlesschaps.com
http://www.hybrid17.com
http://www.inflatableeye.com
+1.604.709.0506