← Back to team overview

mahara-contributors team mailing list archive

[Bug 1295373] 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

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1295373

Title:
  Add schema.org microdata

Status in Mahara ePortfolio:
  New

Bug description:
  To support schema.org processors, such as Google, Bing, and Yandex,
  structure our data so that it has machine-readable attributes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1295373/+subscriptions


References