Reputation: 121
$tags = get_meta_tags('http://www.example.com/');
echo $tags['keywords'];
This code is really slow for a simple page and more for 50 or more.
Is there any alternative to reacieve and URL and get the meta tags in this way? Maybe in 2 steps or more
Thanks
Upvotes: 0
Views: 262
Reputation: 146
Hello you can use curl for that.
getting meta tags info using curl and get_meta_tags()
After you get the results cache them or save to dataBase for future use.
Upvotes: 0