#microformats 2019-05-30

2019-05-30 UTC
[Khurt], brandur, snoe, KartikPrabhu, [Rose], [frank], [tantek], gRegorLove_, [tonz], [kevinmarks786], [grantcodes], [jgmac1106], mauz555, [xavierroy], [calumryan], jgmac1106, [jgarber], TallTed, [manton], [Ana_R], [eddie], [kim_landwehr], adactio, jackjamieson, [arush], [schmarty], indy and LUMIN1 joined the channel; jgmac1106 left the channel
#
[grantcodes]
Totally random question not related to very much but I couldn't find an answer to with a quick search: What is the difference between post type discovery and type=h-whatever?
mauz555 joined the channel
#
[grantcodes]
I get technical difference, but why isn't h-recipe just an h-entry with ingredients + steps (maybe not correct properties) and why are likes not h-like(s)?
#
KartikPrabhu
because there is no need to invent a h-* for every type of post
#
KartikPrabhu
so a like is a h-entry with a *-like-of property etc... the post type discovery algorithm is sort of a formalisation of that
#
[grantcodes]
Sure that makes sense, but then why h-resume, h-event, h-recipe etc, they seem like they would be easy to parse with discovery
#
KartikPrabhu
I think those preceded the discovery algorithm
#
KartikPrabhu
also they have a pretty specialised set of properties compared to h-entry
#
[grantcodes]
I could argue the properties reasoning for a like too 😛 literally the only thing that makes it a like is a specialised property
#
[grantcodes]
But it being older than the discovery algorithm makes sense
#
KartikPrabhu
yes. I am sure there is no conflict with including h-feed, h-event etc... into the discovery algorithm
#
KartikPrabhu
iirc tantek wrote the post-type discovery so he might know more about the rationale
#
[grantcodes]
Yeah I was thinking about it because I have a function that does ptd based off of the algorithm on the wiki, but I hadn't posted anything apart from h-entry until the other day, so when I posted an event, it got picked up as a photo!
#
KartikPrabhu
aah. if you figure out an algorithm you can try getting it added to PTD. I think one can use both the h-event and some special properties
chrisaldrich joined the channel
#
[grantcodes]
Well I just went for if not h-entry then post type = h-type (removing the h-) as the first rule
#
sknebel
the one at http://ptd.spec.indieweb.org/ includes event already - wiki appears not to be in sync
#
KartikPrabhu
aah possibly
#
KartikPrabhu
hopefully the spec is linked to
#
[grantcodes]
Oh that's basically what I did, but with any h-type
[tantek] joined the channel
#
[tantek]
grantcodes short answer is that likes, etc. are all just special kinds of posts, thus it makes sense to re-use h-entry for them, they all have in common that they're things written / actions taken at a particular point in time by an author, and those are the aspects that define them.
#
[tantek]
a recipe or review could arguably be done as an h-entry
#
[tantek]
a resume not really, it has *very* different important structure, and resumes don't usually have date of publication for example
#
[tantek]
similarly with a contact card, no date of publication typically
#
[tantek]
an event also is more about the date time of the event itself, than when it was published
#
[grantcodes]
I can kind of see that, but no published time seems like a kind of weak argument, I doubt that would be accepted as a reason for a new h-type.
#
aaronpk
I don't think he said it would
#
[grantcodes]
My personal conclusion from the explanations here would be that some h-types only exist because they are older than ptd. And others because they require a generally significantly different set of properties. (although the line of what makes a significant set of properties is not really defined)
#
aaronpk
I don't think age has anything to do with it
#
aaronpk
For example if we wanted to represent a new concept like upvotes and downvotes I think we'd use h-entry still
#
[tantek]
and if we wanted to represent a new type of information like a measurement, we'd like still develop h-measure (from previous hmeasure efforts)
#
[grantcodes]
Why though? As an example an upvote seems equivalent to a like to me? Just depends on the site it is being posted to?
#
[tantek]
grantcodes, that's aaronpk's point, upvotes and downvotes would re-use h-entry
#
[grantcodes]
Oh yeah I misread that
#
aaronpk
Whether or not upvote == like is a different issue :-)
#
[grantcodes]
For sure.
gRegorLove_ joined the channel
#
KartikPrabhu
I think [grantcodes] is asking for some rationale/criterion for when something is reusing h-entry using PTD to decipher post-type vs when a new h-* is used/developed
#
KartikPrabhu
maybe there isn't an over-arching rationale/principle
#
[grantcodes]
Was originally just me pondering about ptd vs h-types since it I couldn't quickly find reasoning for one vs the other 😛
#
[grantcodes]
On a different note - on the microformats.org site the "wiki" button doesn't take you to the wiki home if you are already viewing a wiki page
#
[tantek]
it's not a button, it's indicating where in the site you are
#
aaronpk
It's gotta be written on the wiki somewhere, and if it isn't, we should definitely write that
#
[tantek]
in general there's the microformat process for when to create a new microformat (and the work necessary to do so)
#
[tantek]
if that needs edits / updates, then we can capture issues, or add FAQs
#
[grantcodes]
But the blog button takes you to the blog archive, I think that should probably just be link, it can be be a link and an indication at the same time
#
[tantek]
no they are consistent
#
[tantek]
they each take you to an area of the site
#
[tantek]
and wherever you are within that area, they indicate that you are in that area
#
[tantek]
blog wiki discuss
#
[tantek]
they're consistent
#
[tantek]
the rest of them could be improved since we moved some site content to the wiki
#
[grantcodes]
How is wiki button to go to the home of the wiki when you are on wiki page different from the blog button going to a blog archive when you are viewing a blog post? Definitely not consistent
#
[tantek]
hmm from the wiki, the blog button goes to the home page of the blog, otherwise goes to blog archives, that's inconsistent
#
[tantek]
and discuss goes to the IRC page from the discuss page
#
[grantcodes]
I'm pretty sure the vast majority of people would expect what I expected, and nothing happened, so just feels pretty broken
#
[grantcodes]
I tried to register but the captcha (I guess) is broken, so I can't 😂
#
[grantcodes]
Just busy finding all sorts of problems tonight
#
tantek
edited /admin-to-do (+88) "/* wiki */ Process wiki-feedback"
(view diff)