#dev 2022-03-06

2022-03-06 UTC
tetov-irc, angelo, ShinyCyril, jacky and prologic joined the channel
#
prologic
When receiving websub notifications on your callback URI, why is this bit important at all?
#
prologic
> The notification will also contain two Link headers with the rel=self and rel=hub URLs from the subscription.
#
jacky
disambiguation, I believe?
#
prologic
from what?
#
prologic
If I've received a valid notification at this point
#
prologic
why do I care what the self/rel links are from the perspective of the hub?
#
prologic
I can't think of why I'd need to write code for (extract Link headers from inbound notification request, do something with them?)
#
prologic
Oh wait a second, light bulb moment
#
prologic
I think the WIki page is missing something impmortant here?
#
prologic
I can use the rel=self and rel=hub Links on the inbound request to prevent abuse of the callback itself
#
prologic
And ensure that a) we are in fact subscribed to that hub and the topic and b) it came from that hub in teh first place
#
prologic
Right?
#
prologic
Otherwise respond with 404 Fuck off
#
jacky
That'd be the disambiguation :)
#
prologic
that's not disambiguation, that's security and abuse prevention :D
#
prologic
But sure :)
#
prologic
Q: Should I verify the subscription request in-process or asynchronously?
#
prologic
> If the hub accepted the subscription request, it will return 202 Accepted and will then attempt to verify the subscription request.
jacky, Seirdy and ShinyCyril joined the channel
#
prologic
Is anyone able to and willing to review my WebSub hub and client implemtnation?
cygnoir[d], Darius_Dunlap[d], Jeremiah[d], Murray[d], barryf[d], Seb[d], edburns[d], hans63us[d], wackycity[d], tracydurnell[d], Nezteb[d], rattroupe[d], daiyi[d], corenominal[d], aspenmayer[d], hoenir, marksuth[d], Eddy04[d], dovedozen[d], Christian_Olivie, johnnrs[d], indieweb-irc-bri, shaunix[d], capjamesg[d], ChengduLittleA, YimingWu[d], sayanarijit[d], mro, petermolnar, tetov-irc, barnaby and [jgmac1106] joined the channel; prologic left the channel
#
[jgmac1106]
jeremycherfas know anything about this: https://github.com/danpros/htmly seems to have pretty decent reviews and actively maintained. peaking at the templates microformats would not be hard to add (remember your client doesn't care)
jarkad1 joined the channel
#
sknebel
!tell prologic afaik that stuff is for wildcard subscriptions etc - the spec is a bit vague/confusing on this kind of thing, because as I understand it it wants to enable flexibility for that without explicitly specifying it
#
Loqi
Ok, I'll tell them that when I see them next
#
[jgmac1106]
a json format for splot too zegnat: https://splot.ca/splots/the-permutator/
hans1 joined the channel
#
Zegnat
That HTMLy one looks pretty fun clicking through the demo
#
Zegnat
Looks like it does not have any sort of plugin support? That’s too bad
ShinyCyril joined the channel
#
[jgmac1106]
could be a feature and not a bug.
#
Zegnat
Oh for sure, just always hurts extendibility between updates when people need to modify core files
#
[jgmac1106]
they have themes based on wp themes but agree, for that option we were talking Kirby
ShinyCyril, mro, franklen[d] and toby3d[d] joined the channel
#
YimingWu[d]
Saw the htmly... Thoughtmight be interesting to share my own blog back end as well: https://github.com/ChengduLittleA/laMDWikiV4
#
Loqi
[ChengduLittleA] laMDWikiV4: a super lightweight markdown wiki/blog/tweeting system.
#
YimingWu[d]
It only use flat files as well, and human readable too
mro joined the channel
#
[jgmac1106]
YimingWu[d]++
#
Loqi
YimingWu[d] has 1 karma over the last year
mro, jacky, balupton[d], ShinyCyril and angelo joined the channel
#
jacky
prologic: there's a site to help one automate said testing https://websub.rocks/
mro joined the channel
#
jacky
tbh you could even use https://websub.rocks/subscriber and https://websub.rocks/hub as a manual checklist of things
Seb[d] and ShinyCyril joined the channel
#
jacky
janky preview of a reader (mainly just the frontend, using filler frontend data) https://jacky.wtf/assets/feed.webm
#
jacky
it's using that adaptive editor thing I wrote (trying to see if I can make 'profiles' like "reply to a post" versus liking something)
#
jacky
the data's from /Microsub-spec :P
Nan[d] joined the channel
#
Loqi
jacky has 21 karma in this channel over the last year (62 in all channels)
#
jacky
ty! trying to widdle down as much of the interface over the next few weeks (to make it look kitchen-sink-y)
jacky, mro, mro_, ShinyCyril, cygnoir[d] and tetov-irc joined the channel; bouncepaw[m] left the channel