#dev 2021-12-13

2021-12-13 UTC
akevinhuang joined the channel
#
[tantek]
No worries! Good luck with setting up your personal site & domain!
Seirdy, KartikPrabhu, edburns[d], shaunix[d], xvx, illliak, KartikPrabhu1, Charlotteracracs, jjuran, corenominal[d], darkkirb and MarkJR84[d] joined the channel
#
darkkirb
Hi, I have a question regarding indieauth. Which party is supposed to fetch the client information from client_id? because fetching it from the client is unlikely to work unless the client enables CORS requests
kogepan joined the channel
#
@bact
Webmention เป็น W3C Recommendation จาก Social Web Working Group สำหรับให้เว็บไซต์ต่างๆ สามารถรู้กันได้ว่ามีใครลิงก์มาหาบ้าง (ทำนอง pingback/trackback) https://www.w3.org/TR/webmention/ ไอเดียคือพยายามจะทำให้เว็บมีความเป็นเครือข่ายสังคมมากขึ้น Wordpress plugin https://wordpress.org/plugins/webmention/
(twitter.com/_/status/1470319470816149506)
kogepan joined the channel
#
jamietanna[m]
Lol snarfed, turns out it wasn't fixed, it's that it wasn't sending them ata ll 🙃so sorry, still a bit longer for errors!
#
jamietanna[m]
darkkirb: it'd be the IndieAuth authorization server that would do this, likely server-side so it can perform validation on the metadata (i.e. to prevent XSS) before it's embedded in the HTML
#
darkkirb
thanks for the clarification
kogepan joined the channel
#
capjamesg[d]
Does anyone run any web services locally, including IndieWeb ones?
#
capjamesg[d]
I'm thinking of moving my Microsub and Micropub endpoints to a Pi.
tetov-irc and mlncn joined the channel
#
darkkirb
Yeah, i have a dedicated server for (currently) e-mail, nextcloud, matrix and storing large quantities of data. Would be nice to have better internet so that i can just have my server and not a cloud server acting as a reverse-proxy and hosting my homepage for speed reasons
kogepan and kimberlyhirsh[d] joined the channel
mlncn, Ramon[d] and kogepan joined the channel
#
darkkirb
my cloud server is from hetzner, yeah
[tw2113_Slack_] and akevinhuang joined the channel
#
petermolnar
Each of them has microformats with inlined h-card author, plus extra schema.org rdfa stuff, although parts if this is reference, because rdfa allows that. Still, this is rather shocking.
#
petermolnar
moving this over from -chat: apparently my 'photo' index page is over 1MB of HTML. All images are (in-browser, not JS) lazy-loaded and referenced, not base64 inlines, but there are 375 h-entries in that page, which means that each h-entry should be around 2.6KB each. So I copied one of them, and checked: 2682 chars.
#
petermolnar
paginating that page is not trivial, there are two things I could split it on: number of posts per page or year - I used to do one or the other a long time ago - but even then, some years are slim, others are much larger, so by numbers would probably be more considerate.
#
petermolnar
thoughts on size limits in 2021, anyone?
#
petermolnar
having a single author info for the page instead of each entry would also make it a lot slimmer
#
sknebel
you could move the microformats authorship to the feed
#
sknebel
or have just the url marked up on each entry
#
petermolnar
and would most libraries be happy with that?
#
petermolnar
are there examples for working markups like that?
#
sknebel
what is authorship?
#
Loqi
authorship is how to indicate who the author is for a post, and an algorithm that determines the author of a post https://indieweb.org/authorship
#
sknebel
what is authorship-spec?
#
Loqi
The Authorship specification is an algorithm for discovering and determining the author of a post https://indieweb.org/authorship-spec
#
sknebel
(also, nice example: network transfer for the HTML is 80kb, very gzippable
#
petermolnar
trying to test it; the linked authorship testing tool on glitch says code "CERT_HAS_EXPIRED"
#
petermolnar
which is probably my cert, which should be fine
#
aaronpk
oh no is glitch still using the old letsencrypt root?
#
sknebel
maybe it needs something done on the app level to fix it?
#
aaronpk
(assuming your cert is a letsencrypt cert)
#
petermolnar
long passed the days when I actually paid for an SSL cert
#
petermolnar
aaronpk: I fed https://monocle.p3k.io/preview my photo page and it's been thinking for a while
#
petermolnar
I hope I didn't break anything
#
aaronpk
lol oh dear
#
sknebel
180 hours until sknebel look at the authorship testing tools HTTS handling
#
Loqi
I added a countdown scheduled for 2021-12-21 7:34am CET (#6906)
#
petermolnar
re glitch it ate the http:// URL of mine, then returned a table with the author search logic with a "null" at the end
#
petermolnar
ping Zegnat I may have just created an edge case; this is supposed to be your speciality :P :D
#
petermolnar
oh, well. Adding a u-author instead of the inlined version shaved off nearly 200KB
#
petermolnar
still at 800kB, but better
#
sknebel
right, the tool doesnt do feeds
#
sknebel
thats the problem
#
sknebel
I think
#
sknebel
will try to look into that over the christmas break
#
petermolnar
it's not too important though
#
aaronpk
took a while but xray decided it was happy with your feed
#
sknebel
petermolnar: yeah, but these kind of small things are piling up and it might be a nice nudge to get at least something done on indieweb stuff
#
sknebel
(lots more in the overall microformats ecosystem, but hard to find motivation for me)
#
petermolnar
would you rather work on rdfa?
#
aaronpk
grr i just got an email that .io domain name prices are going up next year and i still haven't finished moving off those
#
sknebel
petermolnar: lol no.
#
petermolnar
see, there is always some motivation; you don't have to work on RDFa, you can work on microformats! ;)
KartikPrabhu joined the channel
#
[tantek]
petermolnar, your 1MB HTML example is a great example of why we work hard to keep microformats *micro*
akevinhuang2 joined the channel
#
[KevinMarks]
I assume it gzips a lot smaller
#
[KevinMarks]
also you have `u-photo u-featured` in the wrong place, it's not getting the img URL
#
[KevinMarks]
```<figure property="image" typeof="ImageObject">
#
[KevinMarks]
<a rel="license" property="license" href="https://spdx.org/licenses/CC-BY-NC-ND-4.0.html"></a>
#
[KevinMarks]
<span property="acquireLicensePage" content="https://petermolnar.net"></span>
#
[KevinMarks]
<span property="name" content="lanzarote-view"></span>
#
[KevinMarks]
<img src="lanzarote-view/lanzarote-view.jpg" property="contentUrl" alt="A view of Lanzarote" loading="lazy" width="720" height="476">
#
[KevinMarks]
<a href="lanzarote-view/index.html" title="A view of Lanzarote" class="u-photo u-featured" property="url">
#
[KevinMarks]
</figure>```
#
Loqi
[Peter Molnar] Peter 's Homepage
#
[KevinMarks]
should be:
#
[KevinMarks]
```<figure property="image" typeof="ImageObject">
#
[KevinMarks]
<a rel="license" property="license" href="https://spdx.org/licenses/CC-BY-NC-ND-4.0.html"></a>
#
[KevinMarks]
<span property="acquireLicensePage" content="https://petermolnar.net"></span>
#
[KevinMarks]
<span property="name" content="lanzarote-view"></span>
#
[KevinMarks]
<a href="lanzarote-view/index.html" title="A view of Lanzarote" property="url">
#
[KevinMarks]
<img src="lanzarote-view/lanzarote-view.jpg" class="u-photo u-featured" property="contentUrl" alt="A view of Lanzarote" loading="lazy" width="720" height="476">
#
[KevinMarks]
</figure>```
#
Loqi
[Peter Molnar] Peter 's Homepage
#
[tantek]
there's no reason to include u-featured on the only photo in a post like that
#
[tantek]
in a *photo post
#
[tantek]
based on that markup, I bet the entire h-entry could be made A LOT smaller, I'm guessing at least 50%
#
[tantek]
I wonder if "h-entry" optimizing would be a useful feature for IndieWebify.me
#
[KevinMarks]
With that many entries having separate h-feed and rdfa versions may make sense. Though I'm sure they gzip well, given the repetition.
#
[tantek]
I'd ask the question about who/what is actually consuming the extra markup
#
petermolnar
that markup is because I want google to know the image license.
#
petermolnar
on the other hand, I'm about to strip most of the RDFa out again, for the 4th? time, because I'm tired of google only supporting a tiny, undocumented subset of it
#
petermolnar
however, the image license stays
#
[tantek]
that's useful to know. licensing of images etc. has long been a challenge
#
[tantek]
what is image license
#
Loqi
It looks like we don't have a page for "image license" yet. Would you like to create it? (Or just say "image license is ____", a sentence describing the term)
mlncn joined the channel
[Joe_Crawford] and [aciccarello] joined the channel
#
[aciccarello]
I was just looking at image license markup this week 😞
jeremy joined the channel
#
petermolnar
actually, it seems like I might be able to strip the html part for licence, if I update certain arcane XML tags inside the image
#
[tantek]
this is definitely worth documenting as it's quite non-obvious (also which consuming services / code does what with them)
#
[tantek]
what is license
#
Loqi
license is terms under which you are allowed to (re)use a piece of work; in the context of the IndieWeb, for source code such as in open source projects, or content, like the IndieWeb wiki itself which has a specific Copyright https://indieweb.org/license
#
petermolnar
I'm fairly sure I documented this already somewhere
#
[tantek]
do you remember if you participated in any IWC sessions on the topic?
#
petermolnar
not documented; just talked about the same thing once before: https://chat.indieweb.org/dev/2020-11-03#t1604432311159900
tetov-irc and mlncn_ joined the channel