A library to implement microdata semantics.



A Google Summer of Code 2013 project for Joomla! CMS and JPlatform.
Opened On:
25 Aug 2013, 11:48 by Alexandru Pruteanu
Closed On:
23 Aug 2014, 7:56


Posted on 25 Aug 2013, 12:23 by Elin Waring

Could you give some instructions for how people should test?

Also can you make an actual pull request please.
Posted on 26 Aug 2013, 5:40 by Alexandru Pruteanu

A Gist with documentation for JMicrodata usage:


In the test file you can find all usage examples cases
Posted on 26 Aug 2013, 10:15 by Nick Savov

Thanks Alexandru! Could you send us a pull request too? Please send it to the master branch at 
Posted on 28 Aug 2013, 5:27 by Alexandru Pruteanu

I've made a pull request on master branch, should I make another request to master branch?

Posted on 28 Aug 2013, 8:04 by Michael Babker

Yes, it needs to go to the master.  The one on the projects repo is just a mirror of the main CMS master.
Posted on 28 Aug 2013, 10:01 by Alexandru Pruteanu

Pull request send:
Posted on 29 Aug 2013, 12:11 by Elin Waring

I did some testing. The enabling/disabling works fine and if i look at my articles in the front end  and go to view source I can see the additional markup when it is enabled.  This is really nice, I can see a lot of  work to be done adding markup in components and moduels and also making a number of plugins such as for authorship or entering markup in an article.
Posted on 29 Aug 2013, 13:32 by Alexandru Pruteanu

* If you are not familiar with structured data (microdata) please take a look here:
* Make sure you have all files from the pull request
or simply clone the repository:
git clone
git checkout gsoc-semantics
* Make sure you have installed everything and Joomla! CMS runsJOOMLA CMS TESTING
1) Enter in Joomla administrator panel and login
2) In administration panel, top menu, select: Content -> Article Manager
and Edit any article or create a new one
3) When editing the article select from tab options: Article Options
Scroll down the page and at the end you should find two new microdata options
(Enable Microdata radio button, Microdata Type dropdown list)
4) Press 'Yes' on 'Enable microdata' radio button in order to enable the semantics
then select a type from the 'Microdata type' dropdown list (for the moment there are only two options),
Now save the article.
5) Go to the live site on the article page you've edited before and open the page source code:
if you are using Firefox press CTRL+u
if you are using Chrome press F12
6) Now you should see microdata semantics in the source code of the page,
example of what you should find: itemscope itemtype=''DEVELOPMENT TESTING AND USAGE
If you wanna use the new microdata library for developing your components/modules/plugins/templates
* You can find the usage documentation of JMicrodata here:
* The library files are in /libraries/joomla/microdata
* Examples of usage in test file:
in a real implementation in com_content
Posted on 31 Aug 2013, 12:38 by Emerson Rocha Luiz

Tested and works.


Output a valid HTML5 HTML:

<div class="item-page" itemscope itemtype="">
<span itemscope itemtype=""><span itemprop="name">Joomla</span>



Posted on 31 Aug 2013, 13:27 by Alexandru Pruteanu


I've created a live site for testing:

For testing you can use the google rich snippets parser tool:

Try with this pages:

* com_content

* com_contact
Posted on 3 Sep 2013, 19:05 by Stefania Gaianigo

Feature tested, working fine both with contacts and contents.
Posted on 3 Sep 2013, 22:24 by Nick Savov

Thanks everyone! I'm moving this to Ready for Review.
Posted on 21 Sep 2013, 19:17 by Michael Babker

The library is now merged
Posted on 24 Sep 2013, 6:20 by George Wilson

As merged marking as implemented in trunk
Posted on 24 Sep 2013, 7:17 by Michael Babker

This one should stay open as it's for testing the implementation of the library, which was merged in a separate item.
Posted on 12 Oct 2013, 9:16 by David Hurley

This should not be merged at the moment. There have been some updates that need to be implemented.

Discussed with P.Alex at JDay Italy.
Posted on 18 Oct 2013, 4:10 by Erick Boileau

3) When editing the article select from tab options: Article OptionsScroll down the page and at the end you should find two new microdata options(Enable Microdata radio button, Microdata Type dropdown list)

there is no microdatas in my tab/options J3.2 
is there any plugin to install or activate  to get the microdatas ?


thank you
Posted on 20 Oct 2013, 11:24 by Alexandru Pruteanu

Hi Erick Boileau,

Are you sure that you have the version of Joomla installed?

Thx, let me know.
Posted on 7 Nov 2013, 2:17 by Kristoffer Sandven

I tried to find this in the release version of 3.2, but it's nowhere to be found.
Posted on 10 Mar 2014, 22:28 by Carlos Rodriguez

Feature tested, working fine with contents item.
Posted on 12 Mar 2014, 4:51 by Javier Gómez

Tested and working.

I would like to add a proposal. I guess microdata is part/ or could be understood as metadata, what do you think about moving it from "article options" to "metadata options" tab in the article editor?
Posted on 12 Mar 2014, 6:35 by Alexandru Pruteanu

@Javier to be honest I've decided to add the toggle button in the "article options" because I didn't known where to add it, so maybe it makes sense to move it in the "metadata options" :)

What do you think if I close the current PR and JoomlaCode Tracker, and start to make smaller PRs and JCTrackerss for each plugin/module/component with the implementation of JMicrodata in the CMS, because the actual PR is a big mess and difficult to test. Will that be evil?
Posted on 13 Mar 2014, 10:12 by Javier Gómez

Sounds like a good plan indeed Alexandru, thanks 
I'm aware that Ruth will contact you for doing some additions.
Posted on 13 Mar 2014, 15:12 by Alexandru Pruteanu

@Javier Ok, I start working, the Pull Request should go to the 'staging' branch or '3.3-dev'?
Posted on 13 Mar 2014, 15:28 by Michael Babker

Please send pull requests for the microdata patches to the 3.3-dev branch for now.
Posted on 18 Mar 2014, 18:07 by Alexandru Pruteanu

Please take a look at this Pull Request
Posted on 23 Mar 2014, 10:19 by Niraj Pandey


Joomla 3.2.3. The patch works as expected. Thanks
Posted on 24 Mar 2014, 9:16 by Matt Thomas

@test of (which references this issue as well) tests good to me at I've also left a couple of notes for improvements.

Personally, I like the idea of implemtneing microdata as an easy to understand way as #3358 does.
Posted on 24 Mar 2014, 9:23 by Matt Thomas

@test of looks good to me
Posted on 18 Apr 2014, 6:19 by Lara Petersen

@test works as expected works as expected
Posted on 23 Aug 2014, 7:56 by Brian Teeman

Closing this feature request as it is outdated and replaced