semantic markup - Preferred approach for marking up a blog with Schema.org -


background/context

as schema.org relatively new, perhaps question promote more discussion definitive answer. either way, learning others' application/experience can gained.

having studied http://schema.org documentation pages – , whilst there seems extensive array of properties (read: itemprop attributes) available enrich blog post, there seems inconsistencies , 'grey areas' regard best approach mark blog comments. let me provide example:

the schema.org documentation blogs can found on within thing > creativework > blog , reference, blog post lives within thing > creativework > article > blogposting

so far, documentation , markup examples on aforementioned pages provide enough reference format blog index page, , bulk of content within individual post (author, pubdate, articlebody, interactioncount, etc.)

the problem: applying userinteraction schema individual blog comments

it when start @ individual userinteraction elements (blog comments) within interactioncount things little vague. documentation leads through thing > event > userinteraction > usercomments, , described 'user interaction: comment item.' of suggested properties of userinteraction geared towards physical event.

the property appears relevant blog comment in schema's documentation description; could used comment body. feels lacking specific context user comments blog post. there's no evidence of example markup said comments, search 'comments' on site doesn't seem yield clarity.

has marked blog using schema.org – , how did approach/solve this?

i'll raise matter via schema.org feedback form , update post if comes light.

have @ examples here http://schema.org/webpage , notice how reviews used books.

you can same comments in article, here's example:

 <div itemscope itemtype="http://schema.org/article">        <-- article content -->       <div itemprop="comment" itemscope itemtype="http://schema.org/usercomments">             <meta itemprop="discusses" content="a masterpiece of literature" />                     <span itemprop="creator">john doe</span>           <time itemprop="commenttime" datetime="2011-05-08t19:30">may 8, 7:30pm</time>             <span itemprop="commenttext">i enjoyed book. captures essential          challenge people face try make sense of lives.</span>          </div>       <div itemprop="comment" itemscope itemtype="http://schema.org/usercomments">             <meta itemprop="discusses" content="a masterpiece of literature" />                     <span itemprop="creator">john doe</span>           <time itemprop="commenttime" datetime="2011-05-08t19:30">may 8, 7:30pm</time>             <span itemprop="commenttext">i enjoyed book. captures essential          challenge people face try make sense of lives.</span>          </div>   </div> 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -