|
The following code example illustrates
the use of
bibscope
to mark up this blog-post reference:
|
<td itemscope ="itemscope"
.... itemtype ="http://www.axeleratio.com/voc/bibscope#blogpost">
.. <span itemprop ="blog ">Trailing Ahead</span> Blog:
.. <span itemprop ="title ">A walk through plant chemistry:
.... actual and virtual trails through the
.... Cambridge University Botanic Garden (CUBG)</span>.
.. <span itemprop ="month ">March</span>
.. <span itemprop ="day-of-month ">13</span>,
.. (<span itemprop ="year ">2013</span>).
.. <br />
.. <a itemprop ="url "
..... href ="http://trailingahead.blogspot.com/2013/03/a-walk-through-plant-chemistry-actual.html "
..... title ="A walk through plant chemistry: actual and virtual trails through the Cambridge University Botanic Garden (CUBG) ">trailingahead.blogspot.com/2013/03/a-walk-through-plant-chemistry-actual.html</a>
.. (accessed: <span itemprop ="access-date ">Jan. 10, 2015</span>).
|
The semantically annotated text parts
are captured via span elements and, in the case
of the URL string, via an a element. In each case,
the itemprop attribute specifies the contained text.
All annotated elements are siblings of the
td element—the parent that encloses
them.
The itemtype attribute of the parent node
identifies its microdata-structured entry as a
bibscope-encoded blog-post reference.
|