Extract meta tags from a website
By: Daniel
Have you ever wanted to get the meta tags from any website in an easy to manage way? There is a built in PHP function called get_meta_tags. This extracts all meta tags from the website and places them in an array. This array contains the tag name as the key, then the value is the data for the meta tag.
echo '<pre>'; // Make the tags easier to read with <pre> // Get meta information of "http://www.wlscripting.com" $metaTags = get_meta_tags('http://www.wlscripting.com'); // Print the array print_r($metaTags); echo '</pre>';
This would produce an output of:
Array
(
[keywords] => wlscripting, white lake scripting, whitelake, scripting, php, classes, code, counters, mysql, data validation, csv, free
[description] => PHP Tutorials
[author] => Daniel Kassner
[robots] => ALL
)You can then easily loop through the $metaTag variable to do anything you wished with the data.
**Note: You may also use the path to a file instead of a web address to achieve the same results.




















(6 votes, average: 4.67 out of 5)
July 26th, 2010 at 9:32 pm
i’ve had my pure for per week now and that i still dont know what to do… like changing the message alert tone to whatever i want it not just the fundamental ones on the phone… every little thing about this phone is complicating.. i additionally needed to change to that android software program as a result of home windows is just too slow and someone please help me how to do this
March 13th, 2011 at 5:20 am
Undeniably believe that which you stated. Your favorite justification seemed to be on the net the easiest thing to be aware of. I say to you, I certainly get irked while people think about worries that they plainly don’t know about. You managed to hit the nail upon the top and defined out the whole thing without having side-effects , people can take a signal. Will likely be back to get more. Thanks
March 17th, 2011 at 4:37 am
I don’t generally reply to blogposts but I shall in this situation. Helpful article. Where did you’ve got many of the information from? Anyways many thanks for this superior posting! My best wishes.
May 28th, 2011 at 5:13 am
Great blog!
June 14th, 2011 at 4:54 am
It’s a shame you don’t have a contribute button! I’d undoubtedly contribute to that outstanding blog page! I suppose for the time being i’ll accept bookmarking and including your Rss to my Google account. I look forward to fresh upgrades and will share this blog with my Facebook crew: )
June 17th, 2011 at 4:09 am
Hey There. I found your blog using msn. This is a very well written article. I will be sure to bookmark it and return to read more of your useful information. Thanks for the post. I will certainly return.
June 19th, 2011 at 4:21 am
Hello! I’ve been reading your weblog for a long time now and finally got the bravery to go ahead and give you a shout out from Kingwood Texas! Just wanted to tell you keep up the good work!
June 22nd, 2011 at 4:10 am
Fantastic information and facts in regards to the Pregnancy… In fact am seeking week by week pregnancy info for safety of my newborn child… here are I discovered some beneficial details to me. keep posting pregnancy information and facts, I’m subscribing your rss feed for long term posts.
June 23rd, 2011 at 4:06 am
Miss America 2011…
[...]here are a handful of links to online sites which I link to because we think they’re seriously worth browsing[...]…
June 23rd, 2011 at 4:17 am
Temazepam really should not be utilised in pregnancy, as it may bring about harm to the fetus. Cheap Restoril rx drug.
June 25th, 2011 at 4:24 am
tu avais déifié google gratuit referencer un site internet Pandaranol ras hors referenceur web blog referencement. énormément vous approfondissiez pro naturel seo pandaranol de jure moyennant site site gratuit. ils apercevaient site referencer son blog Pandaranol auprès de discount google map. matériellement je consultai site web gratuit international Pandaranol au-delà de professionnel tuto referencement.
http://www.seotonsdotcom.com/pandaranol/
June 26th, 2011 at 11:26 pm
It’s ethical to buy an essay about this decorous topic. Likeable article, very beneficial
June 29th, 2011 at 4:15 am
cute! thank you.
you can also read it in מלון דן פנורמה חיפה מלון דן כרמל מלון סי הוטל נווה אילן
June 29th, 2011 at 4:22 am
Ambien can lead to facet results that may well impair your considering or reactions. You may possibly even now really feel sleepy the morning right after using the medication. Cheap Ambien online.
July 1st, 2011 at 4:22 am
There may be noticeably a bundle to know about this. I assume you made sure good points in options also.
July 3rd, 2011 at 4:07 am
I indigence until show gratitude on behalf of theo – season you have contributed inside composition this stud . I am hoping theo – changeless finest blogpost from you inside theo – upcoming as well. In fact your productive letter abilities receive inspired me over start my own blog nowadays . Truly the blogging is spreading its badge quickly . Your jot increase is a competent imitation of it.
July 6th, 2011 at 4:33 am
Thanks for another informative web site. Where else could I get that kind of information written in such an ideal way? I have a project that I am just now working on, and I’ve been on the look out for such information.
July 9th, 2011 at 4:41 am
I just learned about your website the other day and that i happen to be reading through it often. You really have a ton of practical information on the site and I benefit from the particular style of the site also. Keep up the great function!
July 11th, 2011 at 1:19 am
I basically enjoy that impression , then experience been meditating about that gentle of location on behalf of a though presently (tips on how over ample better leverage personalised connections for on the net relationship ). The upon the web relationship house is damaged. It truly is equivalent impersonal purchasing , plus it toilet be a piece of land order that is definitely grossly overdue since every tune up that integrates group connections interior a clean then victorious way. Leveraging Facebook into allot individuals on frisk matchmaker , helps create a net ton of sense. If you have tempo . Please get in my blog better laptop .
July 11th, 2011 at 4:22 am
Superb guide and additionally simple to make sure you recognize description. Exactly how can Document keep performing obtaining authorization to make sure you publish component for the post into my approaching e-newsletter? Providing correct credit scores in your direction all the article writer and additionally website to website wouldn’t deemed a dilemma.
July 12th, 2011 at 8:17 am
Very cool.
This tool does miss meta http-equiv though.
It also does not catch the new “Facebook” Open Graph Meta Tags.
Somehow they got this site to get them:
http://www.MetaTagGenerator.org
There is an analyzer there that catches them but it sometimes misses other stuff.
July 12th, 2011 at 9:49 am
Thank you for sharing some good data. Saw your website in Google . Your website is very great and useful. I am a bit blase and lonesome and require somebody to talk to, if you are free, fun , and wants to have a good entertainment . call me now @ 712-432-2207.
July 14th, 2011 at 4:12 am
Some genuinely nice and utilitarian info on this web site , too I think the design holds excellent features.
July 14th, 2011 at 4:16 am
Excellent content and easy to understand story. How do I go about getting agreement to post part of the article in my upcoming newsletter? Offering proper credit to you the writer and website link to the site will not be a problem.
July 14th, 2011 at 4:26 am
Your site is nice. When is the next post about this topic comming?
July 15th, 2011 at 4:13 am
I would like to consider the opportunity of saying thanks to you for the professional direction I have enjoyed checking out your site. We are looking forward to the commencement of my university research and the whole groundwork would never have been complete without coming to your web blog. If I could be of any assistance to others, I’d be thankful to help as a result of what I have learned from here. Rent A Bedroom
July 15th, 2011 at 4:16 am
Exceptional document and even quick to help you recognize justification. Exactly how can As i continue acquiring concur to help you place component belonging to the post inside new newssheet? Getting right credit standing you that publisher and even web page link with the internet site won’t even be a concern.
July 17th, 2011 at 4:12 am
היי שמעתם על אתר עם הסדרי חובות לעסקים, הפחתה גדולה בהוצאות המימון, מתן סוגי האשראי לצורכי בית העסק והכול במינימום מתן בטחונות.
July 19th, 2011 at 4:14 am
Hands down, Apple’s app store wins by a mile. It’s a huge selection of all sorts of apps vs a rather sad selection of a handful for Zune. Microsoft has plans, especially in the realm of games, but I’m not sure I’d want to bet on the future if this aspect is important to you. The iPod is a much better choice in that case.
July 19th, 2011 at 4:23 am
Hi! This is my 1st comment here so I just wanted to give a quick shout out and tell you I genuinely enjoy reading through your blog posts. Can you recommend any other blogs/websites/forums that go over the same subjects? Thanks a ton!
July 19th, 2011 at 4:27 am
I’m speechless. This can be a superb website and incredibly enticing also. Good perform! That’s no more in point of fact a lot originating from an newbie author much like me, nevertheless it surely’s almost all I might just point out following scuba diving in your content. Fantastic sentence structure and language. No longer like different blogs. You in reality determine what a person?lso are talking around as well. So much that you just helped me want to investigate much more. The blog site offers turn into the stepping stone personally, my pal.
July 21st, 2011 at 4:16 am
Staining, Sanding and at great low prices.
July 22nd, 2011 at 4:12 am
Simply additional this web site in order to my personal favorites. I like reading through your own blogs as well as we do hope you have them arriving!
July 22nd, 2011 at 4:25 am
Would you care basically post some of this on my site basically incorporate a reference to this website?
July 22nd, 2011 at 4:32 am
I will be pleased with regard to leaving comments to enable you to realize from the beneficial encounter my buddy’s child enjoyed checking yuor internet weblog. She recognized a good number of concerns, such as what it’s enjoy having a fantastic instructing design to create other individuals basically understand numerous complicated subject matter. An individual undoubtedly would greater than visitors needs. Many thanks for exhibiting these effective, reliable, instructive and also easy tips on this kind of matter to Julie.
July 31st, 2011 at 4:56 am
Reebok Pittsburgh Steelers #92 James Harrison White Premier Jersey
July 31st, 2011 at 5:12 am
Howdy just wanted to give you a quick heads up and let you know a few of the pictures aren’t loading properly. I’m not sure why but I think its a linking issue. I’ve tried it in two different internet browsers and both show the same results.
July 31st, 2011 at 5:18 am
???? ?????????? ??????????? ????????????? ?????????? ? ????????
July 31st, 2011 at 5:18 am
Websites you should visit…
[...]below you will find links to sites we think you will like[...]…
August 6th, 2011 at 6:20 am
PDASmart is a bossman in Apple iPhone repair. If you got your iPhone fog, dont panic. Were authoritatively practised in adulterate working order, and can performed any congenial of damaged repair. Weve been round crave tolerably to fool seen it all. Well beget with you to lessen you know what we can establish, and if it is economical to do so. From backlight renew to LCD renew, our technicians can get it done. We can uncover you a boob tube rivet, an LCD put, or any other parts repair. Our milieu includes a unencumbered diagnostic evaluation to keep from decide what parts are needed and the estimated expense, and if you stock-still organize questions, amuse fondle open-handed to ask.
August 6th, 2011 at 9:26 am
Great – I should definitely pronounce, impressed with your website. I had no trouble navigating through all tabs as well as related info ended up being truly simple to do to access. I recently found what I hoped for before you know it in the least. Reasonably unusual. Is likely to appreciate it for those who add forums or anything, web site theme . a tones way for your client to communicate. Excellent task.
August 6th, 2011 at 8:54 pm
Aw, this was a really nice post. In idea I would like to put in writing like this additionally – taking time and actual effort to make a very good article… but what can I say… I procrastinate alot and by no means seem to get something done.
August 20th, 2011 at 5:31 pm
*Nice post. I learn something more challenging on different blogs everyday. It will always be stimulating to read content from other writers and practice a little something from their store. I’d prefer to use some with the content on my blog whether you don’t mind. Natually I’ll give you a link on your web blog. Thanks for sharing.
August 20th, 2011 at 5:37 pm
I as well as my buddies have been analyzing the good key points from the blog and immediately developed an awful suspicion I had not thanked the blog owner for those techniques. All of the young boys are already so passionate to see all of them and have now definitely been taking pleasure in these things. Appreciate your truly being simply accommodating and also for figuring out this sort of marvelous subjects millions of individuals are really wanting to learn about. Our sincere regret for not expressing gratitude to earlier.
September 6th, 2011 at 9:43 pm
no offense but i dont really see how peyton has ever been there for brooke
September 7th, 2011 at 9:12 am
moncler-jacketsale.org is a famous Moncler outlet online shop which sell directly Moncler Coats, Tee-Shirt, Shoes, and other Moncler Clothing For women and Men Moncler Jackets Onsale 50-80% off, Directly Factory Delivery. Non-tax, Free World Shipping! Buy Now !!!
September 8th, 2011 at 8:59 am
The president and first lady are not concerned about being invited to those children’s wedding. How ludicrous to have made up “sources say”.
September 10th, 2011 at 4:42 am
Nice blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple tweeks would really make my blog shine. Please let me know where you got your design. Appreciate it
September 10th, 2011 at 9:33 pm
Splendid, as a gentleman would say. Brilliant function on this writing. I sincerely adore it .
September 11th, 2011 at 6:34 pm
Good post. I learn one thing more difficult on totally different blogs everyday. It can at all times be stimulating to read content material from other writers and observe a little something from their store. I’d favor to use some with the content on my blog whether you don’t mind. Natually I’ll provide you with a hyperlink on your internet blog. Thanks for sharing.
September 12th, 2011 at 2:33 pm
Maintain posting stuff similar to this i definitely like it! Beneficial task friend!
September 12th, 2011 at 2:35 pm
Hi,Don’t stop blogging! It’s nice to read a sane commentary for once….
September 12th, 2011 at 2:37 pm
You definitely know how to bring an issue to light and make it important. I cant believe youre not more popular because you definitely have the gift.
September 12th, 2011 at 2:38 pm
I am often blogging and i really appreciate your content. The article has really peaked my interest. I am going to bookmark your site and keep checking for new information.
September 12th, 2011 at 2:49 pm
The very crux of your writing whilst appearing reasonable at first, did not really settle well with me personally after some time. Someplace throughout the paragraphs you managed to make me a believer but only for a while. I nevertheless have a problem with your jumps in logic and you might do nicely to fill in all those gaps. In the event you can accomplish that, I could undoubtedly be impressed.
September 12th, 2011 at 2:58 pm
I definitely enjoy every little bit of it and I have bookmarked your blog.
September 12th, 2011 at 2:58 pm
Appreciate it for sharing WLScripting.com » Extract meta tags from a website with us keep update bro love your article about WLScripting.com » Extract meta tags from a website .
September 15th, 2011 at 9:26 am
Has anyone tried facegamers? they seem pretty good
October 8th, 2011 at 3:03 pm
It was a real excitement coming across your site last night. I got here today hoping to discover something new. I was not upset. Your ideas with new techniques on this subject matter were topical and an excellent help to my family. Thank you for leaving out time to write down these things and for sharing your notions.
October 8th, 2011 at 3:17 pm
And lastly an ideal write-up in connection with the topic, maintain your fantastic operate even I have to continue reading from your site sooner.
October 30th, 2011 at 6:45 pm
Sup, I want to ask you one thing. Is this site a wordpress webpage? We’re planning on shifting my website from Blogger to wordpress, you think this is feasible? Additionally did you construct the following theme yourself some how? Thank you for your help!
October 30th, 2011 at 7:33 pm
I’ll immediately grasp your rss as I am unable to to locate your email subscription hyperlink or e-newsletter service. Do you’ve any? Kindly allow me know to ensure that I might just subscribe. Thanks.
November 8th, 2011 at 5:04 am
This site is really a walk-by way of for all of the information you needed about this and didn’t know who to ask. Glimpse here, and also you’ll positively discover it. Patek Philippe Replica
November 14th, 2011 at 2:47 pm
I could not locate too much various information on this piece of substance, so it was great to find his one. I will get back again to overlook next postings that you have another time.
November 14th, 2011 at 2:59 pm
I concede, I have not been on this blog for a long time, however, it was another delight to see such an excellent factors and overpass it. Thanks for assisting making people more aware of fantastic points.
November 14th, 2011 at 3:07 pm
Great post Please keep me updated on this
November 14th, 2011 at 3:12 pm
goodto see you make postings on this issue, I should bookmark this web site. Just keep up the good job.
November 14th, 2011 at 3:30 pm
I generally consent with your opinions. We all benefit from this good article. This internet site is good. I have discovered much things from here. Many thanks.
November 14th, 2011 at 3:36 pm
It seems too complicated and very broad for me. I am awaiting for your next submission, and I am going to try to acquire it! In fact the posting is spreading its wings promptly, trying to find it…
December 4th, 2011 at 10:11 am
lycqdxmtdsjqujoh, 3 star hotels in lonavala, fRGGCeD, [url=http://hotelslonavala.net/]hotels in lonavala with price[/url], eaUBXNI, http://hotelslonavala.net/ 3 star hotels in lonavala, tPNJYVj.
December 4th, 2011 at 10:27 am
wolafxmtdsjqujoh, Diet patch, CcaPznK, [url=http://www.reductilweightlossguide.com/]Fast weight loss tips[/url], rEIiPgt, http://www.reductilweightlossguide.com/ Extreme weight loss, PAYdRSv.
December 5th, 2011 at 12:10 am
Excellent posting. Thanks designed for sharing these details. It’s truly of great help to me. From your current article, I know even more in this respect. I could continue watching your document.
December 5th, 2011 at 5:45 am
uytbexmtdsjqujoh, Male Edge, BvvyfOc, [url=http://maleedge4all.com/]Male Edge[/url], gwVMZGu, http://maleedge4all.com/ Male edge review, YecaIlO.
December 5th, 2011 at 9:06 am
xepcgxmtdsjqujoh, Cooper pharma tadalafil, KkrVWef, [url=http://www.tadalafilpricer.com/]Tadalafil 20 mg best price[/url], FXnQpmc, http://www.tadalafilpricer.com/ Tadalafil canada, CZHOVIv.
December 5th, 2011 at 9:06 am
If anyone is interested there are links and it can be googled.
December 5th, 2011 at 11:15 am
aesdwxmtdsjqujoh, Reverse phone number lookup free, tCzKyGS, [url=http://onlinereversephonelookupservice.com/]Reverse Look up[/url], xrTENSI, http://onlinereversephonelookupservice.com/ Canada 411 reverse lookup, rukMQbp.
December 5th, 2011 at 6:54 pm
ixjmyxmtdsjqujoh, Annotate buy propecia comments e-mail name comment [b][/b] – [i][/i] – [u][/u]- [quote, OSfgVTJ, [url=http://malepropecia.com/]Altimeter buy propecia comments e-mail name comment [b][/b] – [i][/i] – [u][/u]- [quot[/url], dJwfOcE, http://malepropecia.com/ Breakdown buy propecia comments add comment name e-mail website country powered b, oFprOJM.
December 5th, 2011 at 7:55 pm
Nice blog right here! Also your site lots up fast! What host are you using? Can I am getting your associate hyperlink on your host? I want my website loaded up as quickly as yours lol