validators: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(move Optimus to past validators until it's fixed, add Yandex microformats validator)
m (Replace <entry-title> with {{DISPLAYTITLE:}})
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<entry-title>microformats validators</entry-title>
{{DISPLAYTITLE:microformats validators}}
== 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:
=== microformats2 validator ===
{{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 ===
=== 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>
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 Rich Snippets Testing Tool ===
=== Google Structured Data 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.
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]])
microformats: [[hCard]], [[hCalendar]], [[hReview]], [[hRecipe]], [[hProduct]], [[rel-author]] (and indirectly [[rel-me]])
Line 20: Line 32:
=== Mozilla Firefox ===
=== Mozilla Firefox ===
{{main|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.   
[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]]
Microformats: [[hCard]], [[hEvent]], [[adr]], [[rel-author]]
Line 30: Line 45:
== 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
 
<ul id="hCard_Validator"><li>'''[http://hcard.geekhood.net/ The unofficial hCard Validator]'''
<div class="discussion">
<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.
*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>
</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 72: Line 94:


Please add issues to the [[optimus-issues]] page.
Please add issues to the [[optimus-issues]] page.
== see also ==
* [[validator-brainstorming]]


== related ==
== related ==

Latest revision as of 16:33, 18 July 2020

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