-
Guus
I missed a board meeting, but so did everyone else?
-
pep.
Apparently
-
MattJ
Ha, yes, seems so
-
pep.
Any pressing matters?
-
Guus
no - and I'm actually quite busy with work
-
MattJ
None from me
-
Guus
I alt-tabbed through me calendar by accident 🙂
-
MattJ
My phone notified me 10 minutes before the meeting, but 10 minutes it just long enough for me to forget that a notification happened
-
MattJ
Ok, so assuming we're skipping, I have a different topic
-
Zash
You need Zeno's Calendar Reminder
-
MattJ
Does anyone with semantic leanings have a suggestion on how to say "This HTML page is a representation of $URI"?
-
pep.
What does that mean
-
MattJ
(and yes, we're talking xmpp: URIs specifically)
-
Zash
alternate?
-
MattJ
Zash, I thought so too, but it wants a type (MIME)
-
pep.
it?
-
Zash
IT
-
MattJ
pep., http://microformats.org/wiki/rel-alternate#With_type
-
Zash
I've done `<link href="xmpp:jid" rel="alternate"/>` in a bunch of places
-
MattJ
Otherwise, it's the closest so far
-
MattJ
I would too, but I don't think that's clean enough to spec (or is it?)
-
MattJ
I feel like it deserves an explicit type rather than just sniffing the URI
-
MattJ
But I may be wrong
-
pep.
isn't there a mime type already?
-
pep.
0081
-
Zash
Can URIs have MIME types?
-
MattJ
Ha what
-
pep.
Zash, not URIs but what URIs refer to
-
Zash
What
-
MattJ
Retracted though
-
MattJ
"in favor of draft-saintandre-xmpp-iri."
-
pep.
ah
-
MattJ
I sense a rabbit hole
-
Zash
What's the type of the thing that `mailto:user@host` refers to?
-
Zash
To me this question is nonsense.
-
MattJ
That latter draft agrees with you
-
pep.
Zash, well https://foo.bar can be any mime type. https: doesn't really matter
-
MattJ
"Because the resource identified by an XMPP IRI/URI does not make available any media type (see [MIME]) and therefore (in the terminology of [URI]) no representation exists at an XMPP resource, the semantics of the fragment identifier component in XMPP IRIs/URIs are to be "considered unknown and, effectively, unconstrained" (ibid.)."
-
pep.
So yeah mimetypes are for the things pointed at, not the pointers
-
MattJ
Right
-
MattJ
Which brings me back to the beginning... MIME doesn't make sense
-
Zash
Exactly
-
pep.
Ok I didn't get the question then. Missing context
-
MattJ
But is rel=alternate with no explanation good enough?
-
pep.
Doesn't it make sense still to have application/xmpp+xml btw? Just like there is application/json, to designate the serialization format
-
pep.
(unrelated to the issue at hand)
-
Zash
I don't think so
-
pep.
So it doesn't make sense to have application/json?
-
Zash
The resource in question isn't data, but a communications endpoint.
-
pep.
hmm
-
Zash
Maybe if you're referencing a specific stanza or pubsub item or something
-
pep.
Right ok so I guess we agree
-
Zash
But that kinda puts you into URL territory
-
pep.
I wasn't thinking about the endpoint thing
-
pep.
Not sure I have an answer to that though
-
MattJ
It might be ok to just rel="xmpp"?
-
Zash
Bit redundant with the scheme in the href tho?
-
pep.
Yeah I was gonna say redundant with the schema✎ -
pep.
Yeah I was gonna say redundant with the scheme ✏
-
pep.
rel="chat" or similar? :/
-
pep.
rel="thethingyoucancommunicateto"
-
Zash
I still think 'alternate' is the closest currently existing thing
-
Zash
At least for things where that URI is equivalent to the page, such as with a web chat
-
pep.
So we'd have to guess from the URI if it's a communication endpoint, an identity, a document, etc. :p
-
pep.
(identity as used by say Mastodon with rel="me")
-
Zash
If you understand XMPP URIs then you'll know what to do with it based on the ?action thing
-
MattJ
http://microformats.org/wiki/rel-crush - suddenly rel="xmpp" doesn't seem so bad :)
-
pep.
:D
-
Zash
@rel is a space-separated list, so you can technically just shove in whatever words make sense to you
-
pep.
As it was specified in the question to have semantic leanings, I have to nit a bit here :P "xmpp:foo@bar?pubsub;node=meh" doesn't exactly convey an actionable meaning. I could just want to say such a node exists, I could invite you to publish there (and I'm wondering where that list of query actions is now)
-
pep.
https://xmpp.org/extensions/xep-0147.html there's this but it doesn't seem to include pubsub for example(?)
-
pep.
Surely ?subscribe or ?message are much more explicit
-
pep.
Maybe the issue is just pubsub
-
pep.
Ah it's the registry
-
pep.
https://xmpp.org/registrar/querytypes.html#pubsub Ah wait is it supposed to be xmpp:foo@bar?pubsub;action=subscribe;node=meh ?
-
pep.
TIL XFN, XHTML Friends Network.
-
arc
A popular explanation of codecs https://youtu.be/-dwLs9juzWw