-
Notifications
You must be signed in to change notification settings - Fork 1
/
JSON-LD_Photograph
32 lines (32 loc) · 1.29 KB
/
JSON-LD_Photograph
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Photograph",
"mainEntityOfPage": "<txp:permlink escape="json" />",
"headline": "<txp:title escape="json" />",
"datePublished": "<txp:posted gmt="1" format="iso8601" />",
"dateModified": "<txp:modified gmt="1" format="iso8601" />",
"description": "<txp:if_description><txp:meta_description escape="json" format="" /><txp:else /><txp:if_excerpt><txp:excerpt escape="json" /><txp:else /><txp:title /></txp:if_excerpt></txp:if_description>",<txp:if_article_category>
"keywords": ["<txp:category1 title="1" link="0" />"<txp:if_article_category number="2">, "<txp:category2 title="1" link="0" />"</txp:if_article_category>],</txp:if_article_category><txp:if_article_image>
"image": [<txp:images limit="10" break=",">{
"@type": "ImageObject",
"url": "<txp:image_url escape="json" />",
"height": <txp:image_info type="h" />,
"width": <txp:image_info type="w" />
}</txp:images>],
</txp:if_article_image>"author": {
"@type": "Person",
"name": "<txp:author title="1" escape="json" />"
},
"publisher": {
"@type": "Organization",
"name": "<txp:site_name escape="json" />",
"logo": {
"@type": "ImageObject",
"url": "http:\/\/cdn.ampproject.org\/logo.jpg",
"width": 600,
"height": 60
}
}
}
</script>