Setting up a personal hCard for myself
So why have I done this? As part of my move towards greater integration with the IndieWeb, I'm looking to use more open standards for data markup on my sites. This is where microformats2 comes in, making it easier for automated parsers to discover content on my site using well-structured markup. This means that you won't need to necessarily parse all the HTML you need, but can instead put it through a microformats2 parser and it'll come out on the other side with all the relevant metadata.
This has been in progress for quite some time while I've been trying to write some automated tooling to ensure I always have a well formed hCard for my personal details.
I did this for a few reasons:
- not just because I'm a Quality Engineer, but because I am a huge fan of quality-driven software
- I don't want to accidentally break my hCard and cause external consumers to be unable to parse my site
- I want to be able to use Test Driven Development to drive in new hCard functionality
- I wanted to extend HTML-Proofer, which I already use with my site, to perform the verification. This was a great chance to play around with it and build something into the tooling I already use
Expect to see more announcements in the future as I complete issues tagged with the