Skip to content

Instantly share code, notes, and snippets.

@HoussenMoshine
Created October 3, 2017 05:13
Show Gist options
  • Save HoussenMoshine/0cea66d4601cd08c1a3be38920ad7c07 to your computer and use it in GitHub Desktop.
Save HoussenMoshine/0cea66d4601cd08c1a3be38920ad7c07 to your computer and use it in GitHub Desktop.
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "NewsArticle",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://example.org/article"
},
"headline": "Article headline",
"image": "https://example.org/thumbnail1.jpg",
"datePublished": "2025-02-05T08:00:00+08:00",
"dateModified": "2025-02-05T09:20:00+08:00",
"author": {
"@type": "Person",
"name": "John Doe"
},
"publisher": {
"name": "The Exemplary Times",
"@type": "Organization",
"logo": {
"@type": "ImageObject",
"url": "https://example.org/logo.jpg"
}
},
"description": "A most wonderful article",
"isAccessibleForFree": "False",
"hasPart":
{
"@type": "WebPageElement",
"isAccessibleForFree": "False",
"cssSelector" : ".paywall"
}
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment