0
我想從外部URL獲取元標記。不幸的是,我網站上的meta標籤放在標籤後面。 我使用get_meta_tags($url)
但它沒有工作。 這是外部網址來源,我的元標記說明最後存在。PHP獲得meta標記<head>標記
<html><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<head><title>Tools</title>
</head>
<body><h2>Sitemap Notification Received</h2>
<br>
Your Sitemap has been successfully added to our list of Sitemaps to crawl. If this is the first time you are notifying Google about this Sitemap, please add it via <a href="http://www.google.com/webmasters/tools/">http://www.google.com/webmasters/tools/</a> so you can track its status. Please note that we do not add all submitted URLs to our index, and we cannot make any predictions or guarantees about when or if they will appear.</body></html>
<meta name='description' content='200'>
你錯過了共享代碼,它增加了meta標籤。 – zyexal