Snippets tagged “meta-tags”
1 snippet uses this tag.
- Getting title and meta tags from external websitePHP
In PHP, you can use the file_get_contents() function to retrieve the HTML code of a website, and then use regular expressions or a DOM parsing library to extract the title and meta tags.