trwnhalso in #indieweb-dev use cases some apps seem to require one over the other. for example i was using an h-feed tester that wouldn't accept .u-author.h-card and would only accept .p-author.h-card
trwnhi don't remember which one exactly, it was a while ago :/ the larger point is that microformats2 could be more clear on recommending a specific pattern when it comes to embedded h-nodes since the p- vs u- difference could bite people in practice
gRegorThe nested `value` is a convenient shorthand, but (I think) a consumer should ideally be looking into the nested object to find the properties it wants
trwnhwell there's a practical difference between p-foo and u-foo here, right? say for parsing an h-feed author or an h-entry author. you get multiple possible different representations that all have to be accounted for
gRegorIf the consumer only wants to look at the e.g. `author.value` property and expects it to always be either a string, or a URL, then yeah it's an issue.
gRegorBut what I'm suggesting is a more robust consumer should look at the author property, see it's an h-card, then look for h-card.name, h-card.url, etc.
trwnhright -- looking at the h-card if it's used should sidestep the issue. but otherwise it's at least 3 cases to account for. step 1 try the h-card, else try the p-author or u-author, else try the other one
trwnheither it's an object and you parse the h-card stuff, or it's an object and you parse the value without knowing if it's a url or not, or it's a string and you parse the string without knowing if it's a url or not
gRegorRight, with that specific markup, since there is a u-* inside the h-card, it will not run implied parsing to get the URL. An example with implied URL parsing working is `<a href="/a" class="h-card">Author</a>`
gRegorIf you start adding more properties inside the h-card, it probably (usually) makes sense to change the wrapping element from an `a` to something else, like a `div`
gRegorThe main advantage of an `h-card` class on the link itself is if you're doing the minimal parsing with implied properties. When you start publishing more properties inside like the photo, another wrapping element probably makes sense