#dev 2020-12-14

2020-12-14 UTC
DanC joined the channel
#
@RubygemsN
webmention (5.0.0): A Ruby gem for sending Webmention notifications. https://rubygems.org/gems/webmention
(twitter.com/_/status/1338288865887408128)
geoffo, [tantek], [prtksxna], ethanyoo and ShadowKyogre joined the channel
#
ShadowKyogre
Hi everyone. Is snarfed around to help with debugging attempt to implement fed.brid.gy support on my site? If not, have some post type questions I want to ask.
#
gRegorLove
Not sure they'll be around tonight, but you can leave messages with Loqi's !tell
#
gRegorLove
!tell ShadowKyogre like this
#
Loqi
Ok, I'll tell them that when I see them next
#
gRegorLove
What are the post types questions?
#
Loqi
It looks like we don't have a page for "post types questions" yet. Would you like to create it? (Or just say "post types questions is ____", a sentence describing the term)
ShadowKyogre joined the channel; ShadowKyogre left the channel
#
ShadowKyogre
So I have a bunch of articles that have some custom fields for them (like characters, locations in worldbuilding, etc). Was thinking how would those work if implemented edit support via Micropub?
#
Loqi
ShadowKyogre: gRegorLove left you a message 10 minutes ago: like this
#
gRegorLove
In ProcessWire specifically it would need to be something custom. I have a very barebones, in-progress Micropub plugin on my site, though I don't use it much.
#
gRegorLove
I was trying to think of a ProcessWire-y way to set up "recipes" so if certain fields were published, it would know to use template X, etc.
#
gRegorLove
But didn't make it far, honestly. The plugin is mostly custom code specific to my needs and my site setup. That's the tricky part with ProcessWire templates being able to have any number of fields
#
gRegorLove
Taking a step back, though, are you talking about setting up a Micropub client that would have those custom fields?
#
GWG
Didn't ben_thatmustbeme have that in his Micropub client?
#
gRegorLove
I'm talking about the other side of it, the Micropub server in ProcessWire understanding what to do with the different fields
#
gRegorLove
ProcessWire doesn't have an internal idea of "post type" like WordPress
#
gRegorLove
But that could be a starting point. Was it inkblot?
#
gRegorLove
What is inkblot
#
Loqi
InkBlot is an open source blogging platform currently under development by ben.thatmustbe.me https://indieweb.org/InkBlot
#
GWG
That was his site software
#
GWG
Not his client
#
gRegorLove
what is inkstone
#
Loqi
InkStone (formerly MobilePub) is a web app for posting various items to your website using micropub https://indieweb.org/inkstone
#
GWG
Yes, that's the one. Inkstone
#
gRegorLove
That one, I think
#
ShadowKyogre
gRegorLove: Yes, a micropub client with those fields. Was pondering if I would need to make a custom bookmarklet to go, "Hey I saw this in my browser, let's dump it in a linkblog collection."
#
ShadowKyogre
Since it felt like would need to play a bit with Admin actions or similar to make such functionality since micropub's a bit weird with PW
#
gRegorLove
Not familiar with admin actions
#
gRegorLove
My plugin uses the API to create the page from the micropub request
#
ShadowKyogre
Aaah, gotcha. Can see what have so far for module?
#
ShadowKyogre
As for Admin Actions, was thishttps://processwire.com/modules/process-admin-actions/
#
ShadowKyogre
Particular the populate from URL thing that gave idea of maybe just making custom bookmarklets
#
gRegorLove
It's not in any good state to share unfortunately
treora joined the channel
#
ShadowKyogre
Oof. I'll go ahead and try the other route I was thinking of then.
mblaney, [chrisaldrich], ethanyoo, alex11, hirusi, gRegorLove_, Loqi, treora, ShadowKyogre, oenone, shoesNsocks, gbmor, MrHyde, blueyed, schmudde, swentel, sebbu, [tantek] and [KevinMarks] joined the channel; mblaney left the channel
#
[KevinMarks]
inkstone is very flexible
gxt, [Ana_Rodrigues], jjuran and [jgarber] joined the channel
#
ben_thatmustbeme
yeah, i just don't have the time to maintain things any more
#
Loqi
Ok, I'll tell them that when I see them next
#
ShadowKyogre
!tell snarfed I need some help with debugging fed.brid.gy support on my site. Fixed my redirects so they point to bridgy, got my posts listed in a feed, and implemented WebSub. I can discover myself on Mastodon, but I can't see my feed via that.
[jgmac1106] joined the channel; ShadowKyogre left the channel
#
GWG
Trying to add some additional unit testing to my IndieAuth endpoint this week. Unfortunately, it means the PR size is going to grow, which may delay the review. Had hoped to put it on the gift calendar.
#
GWG
I hate writing unit tests
schmudde, KartikPrabhu, [jgarber], swentie, ShadowKyogre, geoffo, hirusi, swentel and [snarfed] joined the channel; ShadowKyogre left the channel
#
[snarfed]
testing++
#
Loqi
testing has 1 karma over the last year
#
Loqi
[snarfed]: ShadowKyogre left you a message 2 hours, 36 minutes ago: I need some help with debugging fed.brid.gy support on my site. Fixed my redirects so they point to bridgy, got my posts listed in a feed, and implemented WebSub. I can discover myself on Mastodon, but I can't see my feed via that.
#
[snarfed]
!tell ShadowKyogre hey, sorry for the trouble! have you sent webmentions to bridgy fed for any of your posts? it doesn’t automatically propagate all of your existing posts, you have to trigger it for each one. details: https://fed.brid.gy/#use
#
Loqi
Ok, I'll tell them that when I see them next
#
GWG
[snarfed]: I like the idea of testing. I hate actually doing it
#
[snarfed]
that’s ok! it’s a bonus if you enjoy it, but not necessary. you get all the benefits regardless
#
[snarfed]
one thing to try is write tests at the same time you write a given a feature (or bug fix), not later. then you can use them to speed up/replace manual testing
#
GWG
For now, I need to test everything but the low level tests for IndieAuth
#
[snarfed]
aaronpk i thought through browser extension backfeed more, and i probably have to go the opposite direction from you. bridgy has a lot of functionality (UI, site crawling, etc) that i don’t want to reproduce, so i’ll probably couple mine pretty tightly to bridgy itself
#
aaronpk
yeah that makes sense
#
aaronpk
the main downside for mine is it's going to require that you manually trigger a post
[tantek] joined the channel
#
sknebel
I'd guess doing it automatically wouldn't be impossible?
#
sknebel
(automatically when you visit/reload IG9
#
aaronpk
you need to be on the permalink for your photo for mine to work right now
#
[snarfed]
you can fix that by switching to a background script and fetching/crawling IG yourself, right?
#
[snarfed]
more work though
#
sknebel
guess there could be potential for an automatic version that you leave open e.g. on your home server that navigates IG automatically?
#
[snarfed]
that’s basically what OYG was, and got blocked
#
[snarfed]
value of the browser extension is that it uses your account’s session cookie, home IP, browser user agent, etc to look like a human
#
aaronpk
part of the reason this was so quick for me to write was because all it has to do is look at the JS in the page
#
aaronpk
i suppose the extension could sit on your IG profile and reload it and actually navigate to a new photo as it appears
#
[snarfed]
also true in a background script though
#
aaronpk
you could leave it open in a browser tab
#
[snarfed]
right, yeah. i can point you to granary’s logic if you want
#
sknebel
[snarfed]: well, if it's at your home IP, for your account, using an actual browser, ... I'd expect detection to not easily trigger
#
sknebel
I specifically meant "that the individual user can leave running", not aaron for everyone
#
[snarfed]
sure! and browser extension is the easiest platform to do that. desktops are less common nowadays, except for maybe gamers
#
aaronpk
you could even just leave it open in a tab on your laptop. i have gmail open all day for example
#
[snarfed]
sure. i have to fetch all of the existing permalinks to get the comments likes etc though, so one more fetch for the profile itself (in a background script) isn’t much difference
#
[snarfed]
may be different for OYG though
hirusi, [chrisaldrich], swentel, jolvera, jjuran, ben_thatmustbeme, schmudde, reed_, [jgmac1106], sp1ff, kitt, craftyphotons__ and [barryf] joined the channel
#
[barryf]
GWG if you're around, I should now have a working IndieAuth 1.1 implementation at https://mpubl-br-master.herokuapp.com/ if you wanted to try it out. It's working for jamietanna[m].
#
Loqi
Micropublish
#
aaronpk
works on my site!
#
[barryf]
Nice! Thanks aaronpk. I'll push that to the main micropublish.net instance.
#
beko
nice, an app that dusplays errors from endpoints :)
#
beko
displays
#
[barryf]
hi beko. Did it fail for you? Can I help troubleshoot?
#
beko
No, I didn't try. Just read the feature list. I was dead serious.
#
beko
Tired of "Oops, something went wrong" apps.
#
GWG
[barryf]: Worked for my test implementation
#
[barryf]
Thanks beko. Yes, much better to display back any feedback if possible.
#
[barryf]
GWG great! I think I can close that issue.
ShadowKyogre, [tantek], [jeremycherfas] and [schmarty] joined the channel
#
[tantek]
[barryf]++ awesome! do you have permalinks for the entries at https://micropublish.net/changelog ? I'd like to cite the "[2.4.0] - 2020-12-13" version for yesterday's IndieWeb Gift Calendar entry!
#
Loqi
[barryf] has 3 karma over the last year
#
Loqi
Micropublish
#
[tantek]
(the id attributes look quite unstable, like they'll change for every change that is added!)
#
[tantek]
uh, also re: "working IndieAuth 1.1 implementation" AFAIK there's no definition of an "IndieAuth 1.1", aaronpk?
#
aaronpk
correct, that was the colloquial name of the meeting and discussions, but the only actual version numbers are the publish dates of the spec https://indieauth.spec.indieweb.org/
#
[barryf]
Thanks both. Got it: I'll avoid using "1.1". I'll do a quick blog post with a more permanent URL.
#
[tantek]
thank you!
#
@MstrKapowski
↩️ A static HTML archive of the site has been put online for now. No webmention or comments support, etc, but at least the content should all be there :)
(twitter.com/_/status/1338602978903797761)
#
[barryf]
Thanks for including me 🙂
#
Loqi
[Barry Frost] Micropublish: IndieAuth updates and supported properties feature
#
[tantek]
[barryf]++ thanks for the post! The actual update was deployed yesterday the 13th right?
#
[tantek]
I'm going by the dates in the changelog
#
[barryf]
Correct. I’ll clarify that in the post.
#
jamietanna[m]
Ignore me I've now read the post above
leg, KartikPrabhu and benterry joined the channel; ShadowKyogre left the channel