#indieweb 2020-11-08

2020-11-08 UTC
[tw2113_Slack_], workfrosty, [KevinMarks], a_chou, KartikPrabhu, wolftune, avalos, alex11, [chrisaldrich], [tantek], ShinyCyril, rawtext, archwizard, rEnr3n, gRegorLove, nickodd, stevestreza, jbove, ludovicchabant, rknLA, dietricha, peterrother, mattl, mitchell, danyao, themaxdavitt, willnorris, j4yav, craftyphotons__, jimpick, anarchivist, voxpelli, jmac, shakeel, ramsey, genehack, stacktrust, ecobos, robla, emilbayes, skalnik, myfreeweb, bigbluehat, schmudde, kensp, dhanesh, opal, vika_nezrimaya and thelounge244787 joined the channel
#
Zegnat
Good morning IndieWeb!
#
Zegnat
I keep dropping away from IndieWeb things even when I plan to do them whenever life suddenly surges up again :(
#
Zegnat
How is everyone?
#
Loqi
aww, cheer up
[Raphael_Luckom] joined the channel
#
[Raphael_Luckom]
[Zegnat] Doing good! how are you?
#
[Raphael_Luckom]
I'm trying to think through the appropriate access control for an incoming micropub notification endpoint. I'm starting with the IndieAuth spec--it seems like everything I need has been written up somewhere, which is really nice.
#
Zegnat
I am well :)
#
Zegnat
That is the idea of the separate building blocks, hopefully you can build whatever you need (notifications?) with existing blocks!
#
[Raphael_Luckom]
I'm trying to think through a design decision, and I think people here might be able to help. Right now, I have a static site. I'd really like to keep it that way, but I also want to support webmentions. The first way I think of to do that would be to set up a little system that tracks incoming notifications, plus a little script on the page that checks to see if there have been any notifications and displays them. However, that would mean
#
[Raphael_Luckom]
that the initial page html as returned by the server wouldn't contain a record of any specific mentions. Is there a disadvantage to that? Is there another way of combining webmentions with a static site?
#
[Raphael_Luckom]
If the only way way to do it that makes sense is to generate the html on request, I'll probably start moving in that direction, but I'd like to avoid it if possible.
#
sebbu
maybe you can just use a 3rd party script for webmentions (it's not related, but i know that for example discourse works great for comments on static pages)
#
sebbu
(iframe or js)
#
nolith
i have a static site with webmention. I have webmentions on webmention.io and a CI job that download them under my data folder so that I can generate each page with all the mentions
#
nolith
I started with js, then moved to a static generation
#
[Raphael_Luckom]
Oh that makes sense---just have the mention-receiving code rewrite the static html. I like that!
#
petermolnar
Zegnat: o/ - I'm trying to get myself to write content, as always. I have a travel entry in drafts since June 2019.
#
petermolnar
[Raphael_Luckom]: I'm doing the same as nolith: fetch webmentions pre-build, save them as frontmattered markdown, use it on build. Code in https://petermolnar.net/fetch.py
#
[Raphael_Luckom]
cool, thanks!
#
nolith
I don;t know which generator you are using, but I'm on middleman. In my case I can place yaml files under /data/ and they will be available as data structures at build time. I have 2 file, one for webmentions converted from json to yaml nad one for metadata where i store the last ID received. So I can fetch only new webmention, properly sorted and simply append them to the current file.
#
Zegnat
petermolnar: I still have the problem that I cannot write content without a system to write it in, and I will never be happy with any system ;)
#
[Raphael_Luckom]
I'm using hugo, but my site is simple enough that it's still an option to switch to something else. Since all of my other code is js and my site layout is very simple, I'm tempted to just use a basic html templating library.
#
petermolnar
I have a homebrew static generator.
#
petermolnar
Zegnat: take inspiration from rhiaro and from their https://apps.rhiaro.co.uk/no-ceremonies-are-necessary/
#
Zegnat
petermolnar: you mean https://licit.li/edit ? ;)
#
sebbu
we need an il. subdomain on that domain :D
#
Zegnat
I used to have that one ;)
nickodd, jeremycherfas and kensp joined the channel
#
GWG
Zegnat: li or il?
#
Zegnat
I used to have an il. subdomain
#
Zegnat
Also nice for symmetry
ambroisie, treora, wolftune and KartikPrabhu joined the channel
#
petermolnar
are we collecting session ideas for IWC East Coast somewhere?
#
petermolnar
thank you
toupain, opal, [snarfed], BigShip, rawtext, archwizard, zack1, schmudde, [jeremycherfas] and [KevinMarks] joined the channel; nickodd left the channel
#
[KevinMarks]
The other way is a separate webmention service and js embedding - we have multiple examples of those too. The most complete is probably webmention.herokuapp.com
[jgarber], ShinyCyril, anotheryou, alex11, a_chou, toupain and [chrisaldrich] joined the channel