validators: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(22 intermediate revisions by 7 users not shown)
Line 3: Line 3:
The following validators will validate multiple microformats on a page:
The following validators will validate multiple microformats on a page:


===Optimus===
=== microformats2 validator ===
{{main|Optimus}}
{{new}} Test your microformatted web page with:
* http://pin13.net/ (where it says "Microformats Parser")
 
Barnaby Walters has a hosted version of the open source php-mf2 [[parser]] where you can enter your markup into a textarea:
* http://waterpigs.co.uk/php-mf2/
 
It currently supports parsing and displaying the canonical JSON for:
* [[microformats2]]
* [[hCard]]
* [[hAtom]] - "hentry" microformats in particular
 
=== Bing Markup Validator ===
The [http://www.bing.com/toolbox/EntityExtraction Bing Markup Validator] tests for various microformats support, including [[hCard]], [[hCalendar]], and others. Note: 2012-02-03 launch announcemnt: <cite>[http://www.bing.com/community/site_blogs/b/webmaster/archive/2012/02/03/webmaster-tools-markup-validation-tool.aspx Bing Webmaster Center blog: Webmaster Tools Markup Validation Tool]</cite>
 
=== Google Structured Data Testing Tool ===
The [https://search.google.com/structured-data/testing-tool Google Structured Data 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]], [[rel-author]] (and indirectly [[rel-me]])
 
=== Yandex microformats validator ===
The [http://webmaster.yandex.ru/microtest.xml Yandex microformats validator] parses several microformats from a URL and shows what properties it detects and/or needs.


[[Optimus]] is a microformats transformer and validator that supports numerous microformats including [[hCard]], [[hCalendar]], [[hReview]], [[hAtom]] (note: [[optimus-issues#hAtom_validation|hAtom validation issues]]).
microformats: [[hCard]], [[hRecipe]], [[hReview]], [[hProduct]]


Get the [http://tantek.com/favelets/#optimus-validator Optimus microformats validator favelet]. Blog post: [http://microformats.org/blog/2009/05/27/placemaker-optimus-validator/#optimus-favelet validator browser button].
== browser microformat readers ==
{{main|browsers}}
=== Mozilla Firefox ===
{{main|firefox}}
Mozilla [[Firefox]] has several add-ons you can use with microformats, such as Operator.
==== Operator ====
{{main|operator}}
[https://addons.mozilla.org/en-US/firefox/addon/operator/ Operator] automatically detects many of the more common microformats as you browse the internet. 
Microformats: [[hCard]], [[hEvent]], [[adr]], [[rel-author]]


Please add issues to the [[optimus-issues]] page.
=== Google Chrome ===
{{main|chrome}}
[https://chrome.google.com/webstore/detail/oalbifknmclbnmjlljdemhjjlkmppjjl Microformats for Google Chrome] automatically detects most of the common microformats as you browse.
Microformats: [[hCard]], [[hCalendar]], [[hReview]], [[hReview-aggregate]], [[hRecipe]], [[geo]]


== specific microformats validators ==
== specific microformats validators ==


=== hCard Validator ===
=== hCard Validators ===
<ul><li>'''[http://hcard.geekhood.net/ The unofficial hCard Validator]'''
* '''[http://indiewebify.waterpigs.co.uk/validate-h-card/ indiewebify.me h-card validator]''' parses [[h-card]] markup and makes suggestions for things to add, with code samples
<p>
 
It's [http://github.com/pornel/hCardValidator open-source] and contributions are welcome! Please join the project and extend it to support more microformats.
<ul id="hCard_Validator"><li>'''[http://hcard.geekhood.net/ The unofficial hCard Validator]'''
</p>
<div class="discussion">
*It's [http://github.com/pornel/hCardValidator open-source] and contributions are welcome! Please join the project and extend it to support more microformats.
</div>
</li></ul>
</li></ul>
* '''[https://foursquare.com/business/brands/offerings/savetofoursquare/tester Save to foursquare tester]''' checks your hCard to see what it can parse from it.
=== h-entry Validators ===
* '''[http://indiewebify.waterpigs.co.uk/validate-h-entry/ indiewebify.me h-entry validator]''' parses [[h-entry]] markup, finds common errors and makes suggestions for things to add, with code samples


===Operator Debugger===
===Operator Debugger===
Line 25: Line 63:
* [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.
Line 38: Line 76:


Ideas:
Ideas:
* ...
* [https://github.com/pornel/hCardValidator 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?
Who wants to help make this happen, and what do you need?
* ...
*
 
== past validators ==
===Optimus===
{{main|Optimus}}
 
[[Optimus]] is a microformats transformer and validator that supports numerous microformats including [[hCard]], [[hCalendar]], [[hReview]], [[hAtom]] (note: [[optimus-issues#hAtom_validation|hAtom validation issues]]).
 
Get the [http://tantek.com/favelets/#optimus-validator Optimus microformats validator favelet]. Blog post: [http://microformats.org/blog/2009/05/27/placemaker-optimus-validator/#optimus-favelet validator browser button].
 
====Optimus validator is not working for the moment====
Therefore any page you will check through will return the message: "Microformats at this page have no errors. Congratulations." which is a false message. We will update this message when (and if) Optimus will work again.
 
Please add issues to the [[optimus-issues]] page.
 
== see also ==
* [[validator-brainstorming]]


== related ==
== related ==
* [[parsers]]
* [[debugging-tools]]
* [[debugging-tools]]
* [[implementations]]
* [[implementations]]
* [[tests]]
* [[tests]]
* [[test-suite]]
* [[test-suite]]

Revision as of 14:42, 23 February 2017

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

general purpose validators

The following validators will validate multiple microformats on a page:

microformats2 validator

new! Test your microformatted web page with:

Barnaby Walters has a hosted version of the open source php-mf2 parser where you can enter your markup into a textarea:

It currently supports parsing and displaying the canonical JSON for:

Bing Markup Validator

The Bing Markup Validator tests for various microformats support, including hCard, hCalendar, and others. Note: 2012-02-03 launch announcemnt: Bing Webmaster Center blog: Webmaster Tools Markup Validation Tool

Google Structured Data Testing Tool

The Google Structured Data 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, rel-author (and indirectly rel-me)

Yandex microformats validator

The Yandex microformats validator parses several microformats from a URL and shows what properties it detects and/or needs.

microformats: hCard, hRecipe, hReview, hProduct

browser microformat readers

Main article: browsers

Mozilla Firefox

Main article: firefox

Mozilla Firefox has several add-ons you can use with microformats, such as Operator.

Operator

Main article: operator

Operator automatically detects many of the more common microformats as you browse the internet. Microformats: hCard, hEvent, adr, rel-author

Google Chrome

Main article: chrome

Microformats for Google Chrome automatically detects most of the common microformats as you browse. Microformats: hCard, hCalendar, hReview, hReview-aggregate, hRecipe, geo

specific microformats validators

hCard Validators

h-entry Validators

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?

past validators

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.

Optimus validator is not working for the moment

Therefore any page you will check through will return the message: "Microformats at this page have no errors. Congratulations." which is a false message. We will update this message when (and if) Optimus will work again.

Please add issues to the optimus-issues page.

see also

related