Something like this? (media_view)
Code:
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@type":"MediaObject",
"mainEntityOfPage": {
"@type":"WebPage",
"@id":"{xen:link 'canonical:xengallery', $media, 'page={$page}'}"
},
"headline":"{$media.media_title}",
"image": {
"@type":"ImageObject",
"url":"{xen:link 'canonical:xengallery/full', $media}"
},
"datePublished":"{xen:date $media.media_date, 'Y-m-dTh:m:s+01:00'}'}",
"interactionStatistic": {
"@type":"InteractionCounter",
"interactionType":"http://schema.org/CommentAction",
"userInteractionCount": "{xen:number $media.comment_count}"
}
}
</script>
Last edited:
Upvote
0