Informatics

Information about various topics

Ads Here

7.11.17

JSON-LD: How to Implement Article JSON-LD Example

Article markup can yield a lot of good stuff. Properly used, Google might bless your site with featues like “in the news” as well as content carousels.
Before you go any further, make sure you know the difference between an article, a website, a blog, and a blog post.

<script type="application/ld+json">
{ "@context": "http://schema.org",
"@type": "Article",
"headline": "Extra! Extra! Read alla bout it",
"alternativeHeadline": "This article is also about robots and stuff",
"image": "http://example.com/image.jpg",
"author": "Patrick Coombe",
"award": "Best article ever written",
"editor": "Craig Mount",
"genre": "search engine optimization",
"keywords": "seo sales b2b",
"wordcount": "1120",
"publisher": "Book Publisher Inc",
"url": "http://www.example.com",
"datePublished": "2015-09-20",
"dateCreated": "2015-09-20",
"dateModified": "2015-09-20",
"description": "We love to do stuff to help people and stuff",
"articleBody": "You can paste your entire post in here, and yes it can get really really long."
}
</script>
view rawarticle.js hosted with ❤ by GitHub

google validated jsonld
This is a type that we just discovered called “TechArticle” and according to schema.org it is meant for “How-to (task) topics, step-by-step, procedural troubleshooting, specifications, etc.” It validates just fine on Google’s Structured Data Testing Tool, and we are really excited to see what type of results it can yield.
<script type="application/ld+json">
{ "@context": "http://schema.org",
"@type": "TechArticle",
"headline": "Extra! Extra! Read alla bout it",
"dependencies": "You must be at least a level 2 PRO to make this happen",
"proficiencyLevel": "Expert",
"alternativeHeadline": "This article is also about robots and stuff",
"image": "http://example.com/image.jpg",
"author": "Patrick Coombe",
"award": "Best article ever written",
"editor": "Craig Mount",
"genre": "search engine optimization",
"keywords": "seo sales b2b",
"wordcount": "1120",
"publisher": "Book Publisher Inc",
"url": "http://www.example.com",
"datePublished": "2015-09-20",
"dateCreated": "2015-09-20",
"dateModified": "2015-09-20",
"description": "We love to do stuff to help people and stuff",
"articleBody": "You can paste your entire post in here, and yes it can get really really long."
}
</script>
view rawtechparticle hosted with ❤ by GitHub

google validated jsonld

Results

Without a doubt this is one of the more popular types of JSON-LD markup. Results can yield a number of cool snippets in the search results. The great thing about this type of markup is that Google is always adding new features in the search results, so any future additions they add you are probably retroactively included.
schema markup articles

No comments:

Post a Comment