#dev 2023-11-23

2023-11-23 UTC
#
[jacky]
hm dang now this does kinda pose another problem
#
gRegor
maybe can discuss some on Friday's create day
#
gRegor
happy to experiment
#
[jacky]
heh yeah I think I'm going to noodle on this tbh
#
[jacky]
but will bring it up!
#
GWG
[jacky], gRegor: Three way breakout session?
#
gRegor
I'm game. Yeah zoom has Breakout rooms now which can be handy
#
GWG
[jacky]++
#
Loqi
[jacky] has 6 karma in this channel over the last year (40 in all channels)
#
GWG
gRegor++
#
Loqi
gRegor has 20 karma in this channel over the last year (72 in all channels)
#
[jacky]
_one_ thing I think about with Wordpress is the difficulty of integration (because it requires theme editing and that requires someone having a site to know more beyond their Wordpress panel)
#
[jacky]
and that's not necessarily unique to it - it's the papering over the IndieWeb specs and interactivity that http://micro.blog provides as well tbh
#
[jacky]
this makes me think about /sidefiles again because that _could_ help one make a plugin that served either MF2+JSON or MF2+HTML pages for Wordpress sites
#
[jacky]
and would help people transition if _they_ could (would be a pluralistic approach to how people engage one of the requirements of IW engagement)
#
gRegor
I think the indieweb WP plugin does offer a sidefile url for parsed mf2
#
[tantek]
what is text/mf2+html
#
Loqi
text/mf2+html is an experimental MIME type for an HTML file with microformats2 https://indieweb.org/text/mf2%2Bhtml
#
[jacky]
hm then I prob need to do more fetching for that
#
[tantek]
^ should be discoverable with rel=alternate
#
[tantek]
same as feed discovery
#
[jacky]
I know this is the space of conneg++
#
Loqi
conneg has -24 karma in this channel over the last year (-32 in all channels)
#
[jacky]
omg lol
#
[tantek]
nope nope nope conneg--
#
Loqi
conneg has -25 karma in this channel over the last year (-33 in all channels)
#
[tantek]
this is a separate file
#
[jacky]
I was not expecting -24 haha
#
gRegor
what is rel-alternate
#
[tantek]
separate URL
#
Loqi
rel=alternate is a way to indicate that a hyperlink links to an alternate representation of the current page https://indieweb.org/rel-alternate
#
[tantek]
not same URL but different mimetype (which is what conneg does)
#
[jacky]
but okay, I'm def in favor of a separate file too
#
gRegor
It will be negative as long as [snarfed] is around XD
#
[jacky]
separate URL
#
[tantek]
that's how we avoid conneg
#
Loqi
[preview] [Aaron Parecki] Pretty great to see a new self-hosted IndieAuth server! Congrats @nilshauk, and great project name! https://twitter.com/nilshauk/status/1017485223716630528
#
gRegor
what is application/mf2+json
#
[jacky]
then that's something for readers (or anything attempting to parse a page for mf2) to consider - checking for rel=alternative
#
Loqi
application/mf2+json is an experimental MIME type for the canonical JSON output of a microformats2 parser that is explicitly consumed by at one implementation (XRay), and published by at least two (Granary, WordPress mf2 feed plugin) https://indieweb.org/application/mf2%2Bjson
#
gRegor
That's what I was looking for
#
gRegor
Advertising the parsed mf2 json, not just mf2 HTML
#
GWG
[jacky]: We have a better solution than a sidefile.
#
[jacky]
oh yeah that'd be _way_ better, just parsing JSON
#
aaronpk
the downside of consuming json from a site is you have to do a ton more error checking to validate that it is even remotely valid mf2 json, vs consuming the html with your own microformats parser where you know the result is valid mf2 json even if the data might still be wrong
#
Loqi
aaronpk: [schmarty] left you a message 2 days, 4 hours ago: looks like p3k/xray needs a new packagist release? v1.12.0 is current but tied to mf2/mf2 ^0.4. that conflicts w/ indieweb/indieauth-client-php which requires mf2/mf2 ^0.5. p3k/xray dev-main is up-to-date on deps tho'
#
aaronpk
oh yeah there's a bunch of stuff in xray after 1.12, i wonder why i didn't do a release
#
[jacky]
I'm going to ask a question and it's okay to say "no don't ask that again" lol
#
[jacky]
but would having a jsonschema for mf2 help here?
#
rubenwardy
Zod is nice
#
[jacky]
I haven't used it in any prod context so I wouldn't know if doing that would be a perf hit
#
rubenwardy
Zod is a Ts library for validating data and getting types
#
Loqi
[preview] [Zegnat] microformats2-json-schema: A JSON Schema for verifying microformats2 JSON parser output / documents.
#
[jacky]
oh interesting and this is pretty flexible too
#
[jacky]
well I'll keep this for a rainy day; if I do end up parsing the JSON, I could optionally run this and do some numbers for folks
#
[jacky]
_or_ I could use commoncrawl
#
GWG
[jacky]: WordPress has a built in API
#
[jacky]
oh right, I was thinking of something that was agnostic from Wordpress but could be used/advertised by Wordpress to encourage adoption elsewhere
#
[jacky]
but I could be focusing a bit too much on _adoption_)
geoffo joined the channel
#
GWG
[jacky]: Webmentions on WordPress now goes, MF2, Rest API, JSON-LD, and Meta tags
#
GWG
So, no one on a WordPress site necessarily has to worry we won't get any citation level data
#
[tantek]
that is a really good reason aaronpk (for looking for mf2 instead of mf2json
bterry, alephalpha0, jonnybarnes, win0err, gRegorLove_ and [schmarty] joined the channel
#
[jacky]
another protocol with ambition https://willowprotocol.org/
gRegorLove_ joined the channel
#
Loqi
Sorry, I couldn't find a page named "sidenotes" or similar
#
[jacky]
this is something I'll need because once I start writing more long form, I _need_ them lol
#
[jacky]
but #indieweb
[tantek], geoffo, CRISPR, sebbu, Ayesha, gRegor, gRegorLove_, captain1, [aciccarello] and angelo joined the channel