我能够使用Google收件箱操作实施反馈审核按钮。但是,反馈的提交按钮显示“在gmail.com上发布”。我怎么能改变呢?我尝试在“@type”:“HttpActionHandler”之后添加“名称”:“发表评论”,但没有任何帮助。
以下是我正在使用的JSON-LD
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"action": {
"@type": "ReviewAction",
"review": {
"@type": "Review",
"name": "test",
"itemReviewed": {
"@type": "Product",
"name": "Feedback"
},
"reviewRating": {
"@type": "Rating",
"bestRating": "5",
"worstRating": "1"
}
},
"handler": {
"@type": "HttpActionHandler",
"url": "http://test.com/Feedback/Submit?EntityID=55e832685cd44e8ba6da1524",
"requiredProperty": {
"@type": "Property",
"name": "review.reviewRating.ratingValue"
},
"optionalProperty": {
"@type": "Property",
"name": "review.reviewBody"
},
"method": "http://schema.org/HttpRequestMethod/POST"
}
},
"description": "We hope you liked our service. Please tell us about it."
}
</script>
答案 0 :(得分:0)
我假设您正在通过个人Gmail帐户向自己发送电子邮件。为了改变&#34;发布在gmail.com&#34;在您的偏好域中,您必须从该域发送。
例如,如果亚马逊向orders@amazon.com发送了一封Review Action电子邮件,那么它会在Amazon.com上发布&#34; Publish。&#34;所以,遗憾的是,除非您的电子邮件(例如ravi@mycompany.com)列入审核操作白名单,否则您无法获得此功能,一旦您将其列入白名单,您就会看到&#34;发布在mycompany.com上。&#34;
您可以在此处找到有关注册Gmail图式列入白名单的更多信息:
https://developers.google.com/gmail/markup/registering-with-google?hl=en
希望这可以帮助你解决拉维。