#dev 2020-07-08

2020-07-08 UTC
[tantek], geoffo, nickodd and [Nishant_Mendir] joined the channel
#
[Nishant_Mendir]
↩️ Very informative.
jacky, geoffo, [chrisaldrich] and [schmarty] joined the channel
#
[schmarty]
jacky: i agree google is probably going to some effort to keep that info from leaking to the containing page. but unless it's an iframe, i don't see how they can prevent that leakage. 😐
#
dansup
CORS is a nightmare for monoliths
#
Ruxton
"CORS is a nightmare for monoliths" <-- what kind of nightmare problems?
#
jacky
okay going back to making my homepage more dynamic; I wrote up how I was thinking about it and just pushed it out
#
jacky
is trying to stick to writing on his site first more
#
aaronpk
Whoa what is that site
#
aaronpk
this is good
#
aaronpk
jacky++
#
Loqi
jacky has 29 karma in this channel over the last year (109 in all channels)
#
jacky
I came across it from lobsters
#
jacky
gets an e-mail for every new post in his "mailing list" folder
#
jacky
ooh union types look dope
#
jacky
that'll give a javascript-y/ruby-y feel for values
[pfefferle] joined the channel; nickodd left the channel
#
[pfefferle]
[jacky] I subscribed to your atom feed but every time I click a headline I am redirected to https://v2.jacky.wtf/feeds/atom/
#
jacky
that is definitely a bug
#
[pfefferle]
I thought so ;)
#
jacky
I can ping you when it's fixed but it's sadly not high on my list
#
[pfefferle]
No problem, I can still read it in my app for now
KartikPrabhu, deathrow1, [tantek], vilhalmer, [tw2113], [KevinMarks], cweiske, dckc, [itsjustk] and moppy joined the channel
#
petermolnar
Is anyone using micropub with static sites? If yes, how?
#
jacky
I'm absolutely certain this is how [schmarty] gets it done
#
jacky
who is [schmarty]
#
Loqi
Marty McGuire is a web developer in New York, NY, USA https://indieweb.org/User:Martymcgui.re
#
jacky
oh man that worked lol, I didn't think it would lol
[Murray], kingpapa, KartikPrabhu, swentel, [KevinMarks] and paulrobertlloyd joined the channel
#
paulrobertlloyd
Is it a safe assumption to assume that `mp-photo-alt` would only ever be supplied to a Micropub server as url-encoded or multipart form data (not as JSON)?
#
Loqi
paulrobertlloyd: [grantcodes] left you a message on 2019-10-01 at 8:25am UTC: here is an express example of using the indieauth helper library (in a basic form) https://glitch.com/~indieauth-lib-wip
kingpapa, KartikPrabhu, swentie, swentel, [jgmac1106], [KevinMarks], dckc, geoffo, [Erik]1 and [schmarty] joined the channel
#
[schmarty]
petermolnar: yep, i have ~3 static sites that i manage w/ micropub
#
[schmarty]
they're all pretty much based on https://github.com/skpy/micropub/
#
[schmarty]
my main site ended up having some different needs so i forked and made a mess of it: https://github.com/martymcguire/micropub-1/
#
[schmarty]
the micropub endpoint basically translates incoming new micropub posts into a new hugo file and runs a script to build the site. i replaced the build script with a script to do a git commit and push.
#
[schmarty]
a lot of the work in the endpoint comes from translating mf2 json into hugo properties, and converting between filenames and URLs.
#
[schmarty]
my build and publish steps are handled by a separate system that gets notified whenever there are new git commits. it checks for new and changed files, does extra work like fetching reply contexts, running hugo, deploying the site, and sending WMs and websub pings.
#
[KevinMarks]
hm, hugo supports multiple formats for post properties. I wonder how much work it would be to add mf2 json as one?
#
petermolnar
I see. That's not really a useful solution for me; I'd rather have/make something like webmention.io, that stores micropub until I manually run a "build"
#
[KevinMarks]
well, we have a few of those
#
[schmarty]
petermolnar: that's essentially what skpy's micropub does. it writes files.
#
[schmarty]
any build step or git step is optional.
KartikPrabhu, geoffo, [tantek], kingpapa, flex14, nickodd, gRegorLove and [KevinMarks] joined the channel
#
[tantek]
welcome back paulrobertlloyd!
#
[tantek]
paulrobertlloyd, you should join us on Zoom *right now* at the HWC London! https://events.indieweb.org/2020/07/online-homebrew-website-club-europe-london-eIf6VfMWuhLY
#
Loqi
LIVE NOW: ONLINE: Homebrew Website Club Europe/London
[Erik]1, [Ana_Rodrigues], jmac, cjav_dev, KartikPrabhu, willnorris, [schmarty], kitt, shakeel, danyao, genehack, myfreeweb, jimpick, ludovicchabant, mitchell, dietricha, jbove, peterrother, themaxdavitt, mattl, zootella, swentel, voxpelli, kingpapa and [jgmac1106] joined the channel; nickodd left the channel