我是Google Schema的首发,我跟着入门,但它不起作用......我已经改为另一个更简单的json-ld,简单的动作,但.... 我正在测试一个Django项目,在我的本地,django smtp配置到smpt.gmail.com。与电子邮件相同。我可以看到电子邮件,但我看不到行动.... 这是我原来的邮件:
Return-Path: <XX@gmail.com>
Received: from tomas-H55M-D2H (37.130.151.22.radiocable.net. [37.130.151.22])
by mx.google.com with ESMTPSA id n3sm2456222wix.1.2015.05.12.04.20.07
for <XX@gmail.com>
(version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Tue, 12 May 2015 04:20:07 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
Subject: Testing
From: XX@gmail.com
To: XX@gmail.com
Date: Tue, 12 May 2015 11:20:07 -0000
Message-ID: <20150512112007.23123.78164@tomas-H55M-D2H>
Reply-To: XX@gmail.com
<html>
<head>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"description": "Check this out",
"action": {
"@type": "ViewAction",
"url": "https://www.youtube.com/watch?v=eH8KwfdkSqU"
}
}
</script>
</head>
<body>
<p>
This a test for a Go-To action in Gmail.
</p>
</body>
</html>