Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A drop-in script for testing and browsing HTML5 microdata

tree: 056d7a8f40

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

HTML5 microdata testing tool

To see this tool in action, visit http://krofdrakula.github.com/microdata-tool.

This tool was written to aid in debugging and browsing HTML5 microdata.

To use this tool, simply include the script anywere after the inclusion of the jQuery library. When you view the page, a list will appear in the bottom left listing all the microdata objects detected on the page.

In addition, you need to provide the schemas to validate against; some are already implemented in schemas.js which is to be included immediately after the jquery.microdata.js script. To add your own, you can use the $.microdata.addDefinition(url, fields) function as used in schemas.js.

This tool is a work-in-progress and still doesn't adhere to the full specs (yet). Plans to support the full microdata spec + data vocabulary validation are on the drawing board. ;)

Thanks to @peterhost we now have a bookmarklet available (source: https://gist.github.com/1397528) for your use without having to modify your page's source code! Simply drag this link,a("https://github.com/KrofDrakula/microdata-tool/raw/master/schemas.js",function(){return typeof $.microdata=="undefined"?msg="Sorry, but schema.js wasn't able to load":msg="schema.js loaded "})})();) to your bookmarks bar and you're set to go.

Something went wrong with that request. Please try again.