Goodreads Developers discussion

19 views
bugs > review microdata

Comments Showing 1-2 of 2 (2 new)    post a comment »
dateUp arrow    newest »

message 1: by Ed (new)

Ed Summers (edsu) I just happened to notice that the schema.org Review HTML5 microdata exposed on the book detail pages is using an undocumented "publishDate" property. For example take a look at this page: http://www.goodreads.com/book/show/83... I think you want to use "datePublished" instead.

Also you should use a <span> tag to markup the date, instead of putting it directly on the <a> since it the processing rules for microdata will result in the link being extracted for the datePublished instead of the text of the date.

So, for example, you'll want to change your templates so that something like:

<a href="/review/show/344707855" class="greyText createdAt" itemprop="publishDate" rel="nofollow">Jun 08, 2012</a>

turns into something like:

<a href="/review/show/344707855" class="greyText createdAt" rel="nofollow"><span itemprop="datePublished">Jun 08, 2012</span></a>


message 2: by Brian (new)

Brian (bper) | 24 comments Thanks for the heads up, Ed!


back to top