<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Organization",
"name" : "Веб-аналитика и результат",
"url" : "http://web-analytics.me/",
"logo": "http://or.kiev.ua/wp-content/uploads/2013/05/logo-e1369321186875.png",
"contactPoint" : [{
"@type" : "ContactPoint",
"telephone" : "+1-401-555-1212",
"contactType" : "customer service"
}],
"sameAs" : [
"https://www.facebook.com/WebAnalyticsResult",
"http://www.twitter.com/snegir",
"https://plus.google.com/u/0/+OrKievUa"
]
}
</script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebSite",
"url": "https://www.example.com/",
"potentialAction": {
"@type": "SearchAction",
"target": "https://query.example.com/search?q={search_term_string}",
"query-input": "required name=search_term_string"
}
}
</script>
<script>
(function(){
var data = {
"@context": "http://schema.org",
"@type": "NewsArticle",
"headline": {{title}},
"alternativeHeadline": "",
"image": {{Page URL}},
"datePublished": {{MicroDate}},
"description": {{MicroDesc}},
"articleBody": {{MicroBody}}
}
var script = document.createElement('script');
script.type = "application/ld+json";
script.innerHTML = JSON.stringify(data);
document.getElementsByTagName('head')[0].appendChild(script);
})(document);
</script>