Amp html 404:那';Google AMP缓存中有一个错误
我不明白为什么我得到了404:这是一个错误,即使是由放大器供电的Amp html 404:那';Google AMP缓存中有一个错误,amp-html,google-amp,Amp Html,Google Amp,我不明白为什么我得到了404:这是一个错误,即使是由放大器供电的⚡ HTML–版本1456440290687 <!doctype html> <html amp lang="en"> <head> <meta charset="utf-8"> <title>Hello, AMPs</title> <link rel="canonical" href="http://www.mmdroid.b
⚡ HTML–版本1456440290687
<!doctype html>
<html amp lang="en">
<head>
<meta charset="utf-8">
<title>Hello, AMPs</title>
<link rel="canonical" href="http://www.mmdroid.biz/myjobs/index.html" />
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "NewsArticle",
"headline": "Open-source framework for publishing content",
"datePublished": "2015-10-07T12:02:41Z",
"image": [
"imgs/logo.jpg"
]
}
</script>
<style amp-custom>
/* any custom style goes here */
body {
background-color: white;
}
amp-img {
background-color: gray;
border: 1px solid black;
}
</style>
<script async src="https://cdn.ampproject.org/v0.js"></script>
你好,AMPs
{
“@context”:”http://schema.org",
“@type”:“新闻文章”,
“标题”:“发布内容的开源框架”,
“发布日期”:“2015-10-07T12:02:41Z”,
“图像”:[
“imgs/logo.jpg”
]
}
/*这里有任何定制款式*/
身体{
背景色:白色;
}
amp-img{
背景颜色:灰色;
边框:1px纯黑;
}
以上是我编码的一部分。AMP缓存仅包含有效的AMP页面。您的页面无效,因为有很多联机样式,所以它不在缓存中,因此尝试通过缓存访问会导致404错误。访问以下站点,打开控制台以在开发模式下运行,并显示需要修复的错误: 访问: 您还需要有效的新闻文章结构化日期(包括图像):
不需要有效的新闻文章结构化数据(这仅适用于出现在顶部新闻传送带中的AMP)。