I have a medic weblog. My first page only has some data and top posts.
So I use this:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebPage",
"name": "website name",
"description": "website description",
"publisher": {
"@type": "WebPageMedic",
"name": "my company name"
}
}
</script>
Now for another page, how can I write JSON-LD format?
I try this:
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "WebPage",
"name": "website name",
"description": "website description",
"publisher": {
"@type": "WebPageMedic",
"name": "my company name"
},
"mainEntity":{
"@type":"BlogPosting",
"headline":"BlogPosting",
"datePublished":"2015-03-09T13:08:00-07:00",
"articleBody": "articleBody"
}
}
</script>
I think I must write website information (WebPage
) in all pages and then in mainEntity
I can write BlogPosting
and other things.
Am I right?