#dev 2021-12-13
2021-12-13 UTC
akevinhuang joined the channel
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
# petermolnar rent one from hetzner? https://www.hetzner.com/sb
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
# petermolnar and would most libraries be happy with that?
# petermolnar are there examples for working markups like that?
# 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
# Loqi The Authorship specification is an algorithm for discovering and determining the author of a post https://indieweb.org/authorship-spec
# 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
# petermolnar it is
# 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
# 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
# petermolnar it's not too important though
# petermolnar would you rather work on rdfa?
# petermolnar see, there is always some motivation; you don't have to work on RDFa, you can work on microformats! ;)
KartikPrabhu joined the channel
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] </a>
# [KevinMarks] </figure>```
# [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] </a>
# [KevinMarks] </figure>```
# [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.
# 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
# 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
# [KevinMarks] your summary blocks are getting the Continue » bit in too http://www.unmung.com/mf2?url=https%3A%2F%2Fpetermolnar.net%2Fphoto%2Findex.html&html=&pretty=on
[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
# 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
# petermolnar not documented; just talked about the same thing once before: https://chat.indieweb.org/dev/2020-11-03#t1604432311159900
# Loqi [petermolnar] this is the script https://gist.github.com/petermolnar/244316be6a739815644542865fa82185 using exiftool
tetov-irc and mlncn_ joined the channel