Given an url to a website, how can i retrieve the meta tags from that website (description, ...) ?

Comments

EliseVanLooij’s picture

Unfortunately, it involves reading out the header information of the page residing under that particular url. I've recently done some of that and found one particular tool to be absolutely essential: a Firefox add-on name HttpFox. It's not particularly user-friendly but it will show you everything contained in a particular header. You can then use javascript (read up on JSON) or php to parse the information as is needed.