Friday, March 25, 2011

Validating your microformat pages

I posted some information about validating microformats over on the hRecipeHelper wiki but, I felt that it was worth a quick blog posting just to share with others that aren't likely to find a wiki page buried on Guthub!
I built a Chrome extension that will format recipes for blog postings using the hRecipe microformat and once done I wanted to test my results to make sure they were hRecipe friendly as well as to ensure that Google would find them tasty and digestible. To my surprise I did find a few very useful resources for the task.
The first handy resource is of course the microformat hRecipe where the specification is being defined. The format is a work in progress and currently I am supporting version 0.22 though I plan to continue to update the hRecipeHelper extension as the specification matures.
The second resource is a nice validation tool that Google has made available that will review your web page and try to parse out the hRecipe data as well as other microformats. It's simple to use, just paste any link into the form field on the page right here Rich Snippets Testing Tool and you'll see how it holds up. 
One cool thing about the testing tool is that not only will it validate your hRecipe formated pages but also many other microformats including hCard  which is the the markup spec for representing personal identification and hAtom, for blogs.
 Finally it you want to learn more about how Google interprets the hRecipe just take a look at their Recipe help page. If you cClick around a bit more and you'll find data element info for hCard as well. Happy microformatting, lets make a semantic web that's easier to discover and put to use!

No comments:

Post a Comment