Skip to content

Instantly share code, notes, and snippets.

@warnakey
Last active April 15, 2019 17:24
Show Gist options
  • Save warnakey/1884b4857ac5c0995c7d8c462388f0c8 to your computer and use it in GitHub Desktop.
Save warnakey/1884b4857ac5c0995c7d8c462388f0c8 to your computer and use it in GitHub Desktop.
WebPage Speakable Schema Example in JSON-LD
<script type="application/ld+json"> {
"@context": "https://schema.org/",
"@type": "WebPage",
"name": "Article with important information a voice searcher needs to know",
"speakable": {
"@type": "SpeakableSpecification",
"xpath": "/html/head/meta[@name='description']/@content"
},
"url": "https://www.example.com/blog/example-article/"
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment