#dev 2022-01-08

2022-01-08 UTC
#
[tantek]
4.5 days until the Webmention REC is 5 years old!
#
Loqi
I added a countdown scheduled for 2022-01-12 4:06am PST (#6910)
#
@adrianmouat
↩️ Similar: https://indieweb.org/Webmention I really just want to use twitter for comments on my static site, but I'm not sure it's going to work reliably :(
(twitter.com/_/status/1479609077001080836)
#
@JustAnotherCog
Here I am, talking to myself as I (very slowly) build/adopt webmentions on my site (not even in alpha yet). https://petersmith.org/blog/2022/01/06/second-second-steps-in-indieweb/ #webmentions #indieweb
(twitter.com/_/status/1479614881091309568)
Seirdy, DerEinzigWahreMa, BLsn[d], jessealama, sknebel, EvanBoehs[m], jeremycherfas, strugee, _Murray[d], _wackycity[d], _MarkJR84[d], _shaunix[d], _marksuth[d], _edburns[d], _Jeremiah[d], _tracydurnell[d], _corenominal[d], Seb[d]_, daiyi[d]_, RIZY101[d], hoenir, indieweb-irc-bri, _Christian_Olivi, cygnoir[d], tetov-irc and vj-- joined the channel
#
petermolnar
capjamesg[d]: " I am sure Gmail has some kind of programmatic API that would let you read emails" forget google APIs for that, just use IMAP. It works in basially any email system that supports IMAP. For example: https://docs.python.org/3/library/imaplib.html
#
[KevinMarks]
Makes sense. I was remembering the old gdata APIs that were (encrufted) Atom feeds.
KartikPrabhu and alex11 joined the channel
#
petermolnar
capjamesg[d]: (I sent you a webmention as well, just in case): https://github.com/remko/atomail/
#
capjamesg[d]
Thank you!
#
capjamesg[d]
[manton] is there a way to send a post to micro.blog on demand?
#
capjamesg[d]
Rather than with a feed.
#
capjamesg[d]
I am trying to figure out how to add a syndication link to my posts when they are published on micro.blitz’s
jessealama joined the channel
#
sknebel
yep, gmail e-mail APIs are behind quite intense signup process. "please pay $lotsofmoney to an auditing firm we trust and then we might look at your application form"
[manton] joined the channel
#
[manton]
the URL of your post on Micro.blog using this JS and passing your post URL (look for the home_page_url field): http://micro.blog/conversation.js?format=jsonfeed&url=your-blog-post-here
#
[manton]
capjamesg: You can send a copy of a post to Micro.blog via Micropub, but that requires having a hosted blog on Micro.blog so that’s probably not what you want. To get the syndication link, there are 2 options now: 1) there’s a hidden setting I can enable that will send your blog a Webmention when Micro.blog processes your post (it’s off by default because it will probably require special code on your side to handle); 2) you can
#
GWG
[manton]: I have to implement that as my current workaround to get the micro.blog URL is multiple steps
#
[manton]
@GWG Cool. That “conversation.js” field is new, just added recently. Let me know if you have any questions about it.
#
GWG
[manton]: I know. I wrote the code that goes through the feed and finds the right URL in December 2019. If there is a direct query, I can save a few steps.
#
GWG
[manton]: Any movement on future JSONFeed plans?
#
[manton]
Not at the moment, but it’s something I was thinking about recently with some of the JF2 discussion here.
nsh joined the channel
#
GWG
I think I wrote up some podcast analysis for JSONFeed when prompted
#
[manton]
Cool. I added JSON Feed for all podcasts on Micro.blog last year (?) and would love to do more.
#
capjamesg[d]
[manton] Would you be able to enable that special feature?
#
[manton]
capjamesg: Okay, I’ve enabled it for your feed. Be prepared to get new Webmentions! 🙂
#
capjamesg[d]
I am prepared!
KartikPrabhu joined the channel
#
@RealGophersShip
nekr0z/static-webmentions (0.7.2): a tool to send webmentions from a static website https://mdy.io/gh/nekr0z/static-webmentions
(twitter.com/_/status/1479908557034303489)
hans63us[d], angelo_ and [James_Van_Dyne] joined the channel
#
[James_Van_Dyne]
capjamesg: Submitted a couple of PRs for indieweb-utils. Still base project setup stuff. There’s some actual code changes that need to be made to fix the typing errors. The flake8 complexity checker (confirms if a function ha too many if/try statements etc…) might be too aggressive, but maybe not. We’ll have to look at those and either adjust them or refactor a bit (probably refactor).
#
[James_Van_Dyne]
The second PR introduces black/isort, the automatic code formatter. I recommend merging that before making any new branches as you’ll end up with a large number of merge conflicts.
tetov-irc joined the channel
#
juanchipro[m]
Unfortunately I have had to disable the comment system on my website.
#
juanchipro[m]
It works great. But I randomly crashed the server. Something inexplicable.
#
juanchipro[m]
Writer error, file system, bus... But the strangest thing is that it was completely random.
#
juanchipro[m]
Disabling the sqlite3 module solves the problem.
#
juanchipro[m]
I think there is some incompatibility with the Raspeberry Pi. Something that escapes me.
#
juanchipro[m]
That's the bad thing about programming in javascript/React. Third party modules. The hell of dependencies and versions.