barnabywaltersI'm way overcommitted at the mo, but when I get round to it (and the markup is finalised) I'll be rolling it out all over my site, and in indieweb @anywhere
barnabywaltersaaronpk: I am no expert, but tantek_'s comment above suggests that "it should always just have class="h-card" at the top, and no other class names"
barnabywalterse.g. if we are creating minicards and microcards based on the root element of the h-card, a microcard might not have a url associated, and so the root element can't be an <a>
aaronpktantek_: How about this as the most minimal h-card? <a href="http://aaronparecki.com" class="h-card"><img src="http://aaronparecki.com/images/aaronpk.png" alt="" /> Aaron Parecki</a>
tantekedited /microformats-2-implied-properties (+1247) "/* additional markup patterns to consider */ provide finer grouping / explanation, and add root element with one child and text based on Barnaby Walters's example in the wild" (view diff)
tantek_then you can drop class names vcard url u-url u-photo photo and the <span class="p-name fn">, assuming you like the markup pattern I *just* documented for barnabywalters
tantekedited /microformats2 (+291) "/* h-entry */ drop p-entry-title (p-name is more reflective of actual use), switch to p-summary and e-content. "entry-" is no more." (view diff)
tantek_any auto-generated markup is something my code is doing automatically on my server and something I may update (like we are right now on all our sites with the h-cards!)
tantek_for use cases where you only have the Twitter alias (often a nickname), consider indicating that explicitly in the markup as well: <a class="h-card" href="http://twitter.com/dreev">@<span class="p-name p-nickname">dreev</span></a>
tantek_because then a smarter higher level application can reason better about it - and realize, oh, you just have a placeholder p-name because you only know their p-nickname which happens to be the same thing.
tantek_I think I'd rather almost assume that feed parsers / feed readers are "dumb" and will do the wrong thing with auto-generated markup (links, embeds, people references)
tantek_so I'm thinking a structure like <p class="e-content"><span class="p-name p-summary">sentence 1. sentence 2 up to 120 chars.</span> rest of the note content maybe with an h-card like <a class="h-card" href="http://aaron.pk">Aaron Parecki</a>. Even more content.</p>
tantek_where the p-summary literally only has whole sentences up to ~120 characters, and that's both what gets syndicated to Twitter (due to their content limits), and likely works better as a working name for the post.
tantek_<p class="e-content"><span class="p-name p-summary">sentence 1 refers to @<a class="h-card" href="http://aaron.pk"><abbr title="Aaron Parecki">aaronpk</abbr></a>. sentences 2…n up to 120 chars.</span> more text note content / markup… </p>
tantek_that pattern has the nice effect of allowing the transmission of the Twitter @-name reference in plain text, while linking to Aaron's indieweb site in both the indieweb original of the note, and in the h-entry syndicated copies.