我想爲搜索引擎優化目的使用JSON-LD,但不知道如何防止自動電子郵件收集器從源頭獲取地址。是否有可能從電子郵件收割機保護JSON-LD?
在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:[email protected]",
"image": "janedoe.jpg",
"jobTitle": "Professor",
"name": "Jane Doe",
"telephone": "(425) 123-4567",
"url": "http://www.janedoe.com"
}
</script>
我能想到這樣做的唯一方法是使用JS動態創建上面,這是我所期望的收割機無法解釋大部分,但那麼這將極有可能突破搜索引擎支持。有沒有解決這個問題的方法?