Comment 1 for bug 1295373

Revision history for this message
Chris Cormack (chris-bigballofwax) wrote : Re: Add schema.org microdata

 <div class="center imageblock">
<div class="image"><a href="http://mahara/view/artefact.php?artefact=11&amp;view=8"><img src="http://mahara/artefact/file/download.php?file=11&amp;view=8" alt="this a photo of a dog"></a></div>
<div class="detail">this a photo of a dog</div>
</div>

After schema.org
<div class="center imageblock" itemscope itemtype="http://schema.org/ImageObject">
<div class="image"><a href="http://mahara/view/artefact.php?artefact=11&amp;view=8"><img src="http://mahara/artefact/file/download.php?file=11&amp;view=8" alt="this a photo of a dog" itemprop="contentURL"></a></div>
<div class="detail" itemprop="description">this a photo of a dog</div>

This is what google (et al) gets from that data
Item
type: http://schema.org/imageobject
property:
contenturl: http://mahara/artefact/file/download.php?file=11&view=8
description: this a photo of a dog