[tantek], nitot, tantek, [cleverdevil], [eddie], [benatwork], [manton], aaronpk, [jeremycherfas], mickael, [Vincent], [kevinmarks], [svandragt] and jgmac1106 joined the channel
#@psd↩️ Indeed. Microformats were onto something; they work best with such publishing tools and quick feedback from other people consuming the data. (twitter.com/_/status/1093825488399798272)
#Loqi[Zegnat] Does it become significantly harder to change properties after “flipping the switch”? If so (I am not fledged in the Microformats processes) we might need to do some changes to h-event first.
The current draft specification does not adress usi...
#sknebelZegnat: didn't see any reference to that from the wiki page, which is what i looked at
#[jgmac1106]and i would assume p-orgainzer goes into an h-card but this would be different than post author h-card
#ZegnatYou could have an h-card as the value of the organizer, yes
#Zegnatyou could even have both author and organizer, and have both be an h-card. Or even multiple h-cards for multiple organizers (or multi authors, though we have no published examples of that)
#jgmac1106yes I would assume two h-cards, unless author and organzier the same but stil my default to two just to make temoplating easier
barpthewire joined the channel
#jgmac1106I think it would be either p-organization or p-organizer or would the h-card for an organization who organized be<div class="p-organizer"><p class="h-card"><span class="p-organization">IjndieWeb</span></p>?
#ZegnatWould be if I authored the event post, and am the organiser
#ZegnatMight want to swap to u-author and u-organizer
#@jasonopus↩️ I’ve been playing around with post formats and layouts to achieve a microblogging look/feel and I’m using microformats where I can. Unfortunately, no webmentions since there’s currently no plugin for them in #craftcms. (twitter.com/_/status/1093877374062612483)
bradenslen, [kevinmarks], [schmarty], [frank], [eddie], [tantek], [jgmac1106], [jeremycherfas], [tmiller] and [Coty_Beasley] joined the channel
#[jgmac1106]yeah I find I have to start with all the divs take time and channel my inner zegnat to get down to fewest elements and properties possible
#Zegnat[jgmac1106], or you just start with the markup and content, rather than starting with what microformats you want to put in there. Let the content dictate the data :D
#LoqiZegnat has 21 karma in this channel over the last year (168 in all channels)
#[jgmac1106]but I still have hardest time grasping the rules around u- vs p- in your minimal h-card you adding properties to the a element and I alays think link=u and text =p but that is p
[kevinmarks] joined the channel
#[jgmac1106]and I messed up trying to do "u-url h-card"
Zee and nitot joined the channel
#[tantek]aaronpk the mf2 spec already says all properties are plural. no reason to repeat that in every single property description.
#[tantek](moving generic mf2 discussion from indieweb dev to here)
#sknebelfor the vocabulary it makes sense to limit some IMHO, but it probably also makes sense to assume plural by default
#Zegnat[jgmac1106], the big one to remember about is that if you are putting properties (u-*, p-*, etc) on an element that also is an object (h-*) those are properties of its _parent_ object. So <div class="h-entry"><a class="h-card u-author"></a></div> means the h-card is the author of the h-entry. If you want properties within the h-card, those have to be on nested elements.
#ZegnatProperties must be on child elements of h-* objects, always
#Loqi[Tantek Çelik] h-entry is a simple, open format for episodic or datestamped content on the web. h-entry is often used with content intended to be syndicated, e.g. blog posts. h-entry is one of several open microformat standards suitable for embedding data in HTML.
...
[schmarty] joined the channel
#aaronpk"p-name - entry name/title" implied there is only one name
#aaronpkas an author, you need to know whether you should be putting p-name on only one element or if it's okay to have multiple
#aaronpk"p-category - entry categories/tags" clearly more than one is allowed
#aaronpkthere are many cases where the description there does not match the in-the-wild usage as well
[tmiller] joined the channel
#[tantek]it's literally possible to always publish multiple values for a property for any vocab
#[tantek]even if that just means looking at the first item in the array and ignoring the rest
#[tantek]implying singularity from the property descriptions is a deliberate misreading IMO
#[tantek]I'd like to reduce the chance of that though
#[tantek]maybe every "Properties" section in every vocab needs a short sentence.
#[tantek]"All properties are multivalued. Implementations may treat the first value for a property as special if their use-case or semantics require it."
#[tantek]that way as a spec reader you must pay attention such explicit wording, instead of trying to guess at something by "implied" wording
#aaronpksomething somewhere needs to decide whether multiple values are allowed
#aaronpkI really don't even care where that is anymore, but we need to write it down
#aaronpkthat's why this was an #indieweb-dev discussion not a microformats discussion
#[tantek]no we tried that in mf1 and it resulted in breaking changes
#[tantek]vcard3 also got that wrong and had to be fixed in vcard4
#[tantek]turns out vocab usage evolves, and if you assert singularity, you most of the time get it wrong
#aaronpkwhen you are building software, you ultimately are going to make a decision about whether you will use the first value of the list or use all the values. right now that is not written anywhere and is going to lead to a mess.
#[tantek]in the end I think it's a UI-specific-to-your-consuming-app problem. not a format problem.
#ZegnatFor interop between specific consumer cases, I agree it is nice to decide that all readers will work with the first dt-published even if multiples are defined on the h-entry. The question is if you want to bake this into the mf2 vocab or not.
#[tantek]if your UI only allows for one value, show one
#aaronpkif we don't put it in the spec, then it will go in libraries
#aaronpkif the libraries are making their own decisions things will be incompatible ultimately
#aaronpkagain this is why this was in #indieweb-dev
#Zegnat(Readers just being an example of the type of apps the end user would probably expect to be in sync.)
#[tantek]TBH better in a library than a spec, because libraries are more expected to make breaking changes
#aaronpki'm not necessarily advocating for this being in either microformats vocab or in libraries or in jf2. it just needs to be somewhere.
#[tantek]I'm saying it's not a format issue at all. It's a UI issue. so it belongs in the UI design of each app
#aaronpkand i'm saying I dont want to leave it to every app author to have to figure out what the heck to do
#[tantek]similarly with the possibility of 0 values
#[tantek]the deeper you bake-in those decisions, the greater the chance of a bigger breaking change in the future
KartikPrabhu, mickael, [Rose], [manton], nitot, [jgmac1106], [eddie], [schmarty], [frank], [tantek], Zee, [cleverdevil] and [kevinmarks] joined the channel
#[kevinmarks]I get both halves of this discussion. Maybe the answer is instead of jf2 being multiple different things, do a document for the microsub case and one for the webmention.io case
#[kevinmarks]I'd like to converge mention.tech output with webmention.io output (and webmention.herokuapp.com output too ideally).
#[kevinmarks]Then we can have a place to discuss cardinality with that focus.
#aaronpkI don't see why those are different cases, especially since I use the same code for both
#[tantek]I am kinda ok with a one-off feed format that makes more stringent assumptions
#[tantek]however I am willing to bet some of those assumptions are already wrong
#aaronpkwell until there's a good story for localized data in mf2 JSON i feel like that's not a good argument
#[tantek]questions: 1. does your consuming client care about a UX that handles showing "note" posts? evidence would seem to suggest most feed readers don't care about being dumb about note posts. 2. does your consuming client care about showing translations of a post title/name? again, evidence would suggest no (none that I know of).
#[tantek]yet should a format omit those just because current clients are lazy? no.
#aaronpkalso I never said "name" is required, where did that come from