They Might be Giants are giving away* a live version of Flood. It’s a fun listen.
*actual cost: email address
As I work on patterns for my site redesign, I generated two templates without consideration for microformats. The two templates I created were for a WordPress archive template and an article/page template.
Microformats add structured data to a web site. Using microformats allow machines reading a site to know find information such as the:
Working out the basic HTML before adding structured markup is the right thing to do. It ensures content is the focus of your basic HTML structure. If at all possible, this is the ideal structure for your web page.
Big Search (Google, Bing, etc) use version one of microformats when reading structured data for your site, so I consider it must have.
Webmentions use microformats2 to determine the type of mention sent, the title of the post sending it, and a bunch of other stuff. I accept webmentions, so this becomes a must have.
I’d added structured data to the page, posts, comments, comment authors, and taxonomy data and was happy with the way things were looking good. Aaron Parecki’s mf2 parser was showing decent results.
Google’s structured data testing tool on the other hand, was less than optimal. Google was crediting my posts to my first commenter.
As a single author blog, I hadn’t included any author information. The author is inferred, an inference that needs to be reflected in the structured data.
To get Google’s structured data reader to parse the author data correctly, I had to add an h-card as a child of the post’s h-entry.
Within the meta information, I added to following markup:
<span style="util-Display-None" aria-hidden="true"> <span class="EntryMeta_Detail vcard h-card"> <a href="#" class="fn url u-url p-name">Peter Wilson</a> </span> </span>
I hide the content, both visually and from screen readers as the data serves no purpose for visitors to the site.
My initial attempt to mark up the logo with an h-card failed, as it sits outside the post, so Google parsed it a separate structured markup, unrelated to the post’s h-entry.
Too hard to contribute.
I was discussing one click indieweb for WordPress with David Shanske on the IRC channel. The aim is to make it as easy as possible for a WordPress user – not a developer – to implement an indieweb site.
I’ve decided to put it up as a brain dump.
There are two aspects to consider: features and data attributes. Continue reading One click indieweb for WordPress