Skip to content

Instantly share code, notes, and snippets.

@patrickcoombe
Last active August 12, 2021 14:59
Show Gist options
  • Save patrickcoombe/b567eca375c24dbd2b47 to your computer and use it in GitHub Desktop.
Save patrickcoombe/b567eca375c24dbd2b47 to your computer and use it in GitHub Desktop.
Tech Article
<script type="application/ld+json">
{ "@context": "https://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>
@peterstavrou
Copy link

peterstavrou commented Jan 7, 2020

Great stuff!
I noticed that this JSON also needs mainEntityOfPage included.

"@type": "TechArticle",
 "mainEntityOfPage": {
   "@type": "WebPage",
   "@id": "https://URL-To-Blog-Post.com"
 }

Also Publisher needs...

 "publisher": {
  "@id": "https://www.domain.com",
  "@type": "Organization",
  "name": "Peter Stavrou",
  "logo": {
  "@type": "ImageObject",
  "url": "https://www.logo-url.com"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment