validators: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (added link to parsers for usability)
(more details for Google Rich Snippets tool, put after Optimus since it checks fewer microformats and properties than Optimus)
Line 2: Line 2:
== general purpose validators ==
== general purpose validators ==
The following validators will validate multiple microformats on a page:
The following validators will validate multiple microformats on a page:
== Google Rich Snippets Testing Tool ==
[http://www.google.com/webmasters/tools/richsnippets Google Rich Snippets Testing Tool] it can parse microformats from URLs and output the eventual errors found in the same page. Does not support all microformats data but is in a continuous updating process.


===Optimus===
===Optimus===
Line 14: Line 11:


Please add issues to the [[optimus-issues]] page.
Please add issues to the [[optimus-issues]] page.
=== Google Rich Snippets Testing Tool ===
The [http://www.google.com/webmasters/tools/richsnippets Google Rich Snippets Testing Tool] can parse several microformats from a given URL and produces reports showing errors and a preview of what properties it detects. It supports a subset of properties on some microformats, however is continuously updated with more support.
microformats: [[hCard]], [[hCalendar]], [[hReview]], [[hRecipe]], [[hProduct]]


== specific microformats validators ==
== specific microformats validators ==
Line 28: Line 30:
* [https://addons.mozilla.org/firefox/4106/ https://addons.mozilla.org/firefox/4106/]
* [https://addons.mozilla.org/firefox/4106/ https://addons.mozilla.org/firefox/4106/]


microformats: hCard, hCalendar
microformats: [[hCard]], [[hCalendar]]


Operator does a good job of compliant parsing for microformats in general, and includes a debug mode that can help identify errors in the structure.
Operator does a good job of compliant parsing for microformats in general, and includes a debug mode that can help identify errors in the structure.

Revision as of 15:13, 3 October 2011

<entry-title>microformats validators</entry-title>

general purpose validators

The following validators will validate multiple microformats on a page:

Optimus

Main article: Optimus

Optimus is a microformats transformer and validator that supports numerous microformats including hCard, hCalendar, hReview, hAtom (note: hAtom validation issues).

Get the Optimus microformats validator favelet. Blog post: validator browser button.

Please add issues to the optimus-issues page.

Google Rich Snippets Testing Tool

The Google Rich Snippets Testing Tool can parse several microformats from a given URL and produces reports showing errors and a preview of what properties it detects. It supports a subset of properties on some microformats, however is continuously updated with more support.

microformats: hCard, hCalendar, hReview, hRecipe, hProduct

specific microformats validators

hCard Validator

Operator Debugger

Main article: Operator

microformats: hCard, hCalendar

Operator does a good job of compliant parsing for microformats in general, and includes a debug mode that can help identify errors in the structure.

rel-lint

Rel-Lint provides linting and inspection of rel-tag and XFN (by Drew McLellan)

validator project

There has been a suggestion to host an "official" microformats validator at microformats.org.

Ideas:

  • hCard validator is open-source (BSD-licensed) and extensible enough to support other microformats (it's mostly a matter of hooking up XSLT templates that extract microformat data and find errors). The codebase is pretty clean, UI is internationalized.

Who wants to help make this happen, and what do you need?

related