W3C home > Mailing lists > Public > public-vocabs@w3.org > April 2013

Trying to mark up news items with schema.org

From: Giorgio Marrale <info@visualsense.nl>
Date: Wed, 10 Apr 2013 10:40:48 +0200
Message-Id: <3541AED0-F63F-4C67-AE74-79CEE0503143@visualsense.nl>
To: public-vocabs@w3.org
Hi,

I am trying to markup the news items (snippets on my homepage) with schema.org; and this is what I got:

<div itemscope="itemscope" itemtype="http://schema.org/Blog">

<article itemprop="blogPosts" itemscope="itemscope" itemtype="http://schema.org/BlogPosting">
	<div itemprop="datePublished">01-01-2013 09:00:00</div>
	<h1 itemprop="headline">
		<a itemprop="url" href="/">
			<span itemprop="name">Title</span>
		</a>
	</h1>
    <span itemprop="author" itemscope="itemscope" itemtype="http://schema.org/Person"><span itemprop="name">Giorgio</span></span>
	<div itemprop="articleBody">
		<p>Bla bla bla</p>
		<p>Bla bla bla... <a href="/">Lees verder</a></p>
	</div>
	<a itemprop="discussionUrl" href="/#comments">Comments</a> - Updated <span class="updated" itemprop="dateModified">01-01-2013 09:00:00</span>
</article>

</div>

Would it be alright to mark it up as above or would you suggest using http://schema.org/NewsArticle instead of http://schema.org/Blog.

Thanks,

Giorgio
Received on Wednesday, 10 April 2013 08:41:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:27 UTC