【发布时间】:2016-01-10 00:56:50
【问题描述】:
我想将 JSON-LD 用于 SEO,但不知道如何防止自动电子邮件收集器从源头获取地址。
在email schema 中,您提供一个电子邮件地址。我总是以某种方式混淆电子邮件地址,要么使用 JS 来显示它们,要么使用其他方法。到目前为止,这有助于阻止垃圾邮件。
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Person",
"address": {
"@type": "PostalAddress",
"addressLocality": "Seattle",
"addressRegion": "WA",
"postalCode": "98052",
"streetAddress": "20341 Whitworth Institute 405 N. Whitworth"
},
"colleague": [
"http://www.xyz.edu/students/alicejones.html",
"http://www.xyz.edu/students/bobsmith.html"
],
"email": "mailto:jane-doe@xyz.edu",
"image": "janedoe.jpg",
"jobTitle": "Professor",
"name": "Jane Doe",
"telephone": "(425) 123-4567",
"url": "http://www.janedoe.com"
}
</script>
我能想到的唯一方法是使用 JS 动态创建上述内容,我希望收割者在大多数情况下无法解释 ,但那很可能打破搜索引擎支持。有什么解决办法吗?
【问题讨论】:
标签: email schema.org spam-prevention json-ld