#dev 2022-09-27

2022-09-27 UTC
geoffo joined the channel
#
aaronpk
ok i'm having decent luck using the Liquid template engine directly
[Murray]1, [tw2113_Slack_]1, bterry1, geoffo, jacky_, mro, lagash, jjuran, gRegorLove_, tetov-irc and gRegor joined the channel
#
capjamesg
angelo How is IndieWeb rocks going?
#
capjamesg
Has anyone worked with Sphinx in Python?
#
capjamesg
The IndieWeb Utils documentation builds as expected locally but the auto function generator doesn't work on Read the Docs.
sp1ff, geoffo and mro joined the channel
#
retronav
Hi folks! Asking for some inspiration on how to automate u-syndication links. Since brid.gy can syndicate to all silos I want, I can probably store the location returned by the webmention as u-syndication
#
[snarfed]1
capjamesg I remember iterating a lot to get RTD's build to work. their build logs are useful, I assume you've looked at those?
#
[snarfed]1
retronav sounds great!
#
retronav
thanks! i'll get back if this works
mro joined the channel
#
capjamesg
[snarfed] I fixed it!
#
capjamesg
This has been an issue for a long time.
#
capjamesg
[James_Van_Dyne] mind reviewing the docs PR? It's a quick one.
mro and jonnybarnes joined the channel
#
[snarfed]1
capjamesg++
#
Loqi
capjamesg has 32 karma in this channel over the last year (91 in all channels)
#
[snarfed]1
and docs++ ! I've appreciated being able to point people to specific parts of eg https://granary.readthedocs.io/ , https://bridgy.readthedocs.io/ , etc easily
mro, angelo and jacky joined the channel
#
jacky
this page on how to do CSS https://jgthms.com/web-design-in-4-minutes is really cool and I feel like there's a way to do this for something like IndieAuth
#
jacky
and tbh, lol, this guide is really good - HTML's about presenting content
mro joined the channel
#
[aciccarello]
Nice, that's a cool way to demonstrate how little changes add up
#
aaronpk
finally finished my flickr archive
#
aaronpk
pretty excited to be able to not pay for flickr anymore
#
[tw2113_Slack_]1
now to remind yourself to not upload there any more
jacky and mro joined the channel
#
aaronpk
i think i'm going to continue posting select photos there since i do like that people still search for CC licensed photos there and mine get used in random articles which is kind of fun
jacky joined the channel
#
[schmarty]
oof that web-design-in-4-minutes page ends up with a bunch of low-contrast text. definitely not accessible colors. πŸ˜•
#
[tw2113_Slack_]1
i know it’s kind of wordpress-centric but I am interested a bit in https://wordpress.org/openverse/
#
capjamesg
[James_Van_Dyne] I have made a few more PRs for IndieWeb utils.
#
jacky
[schmarty]: yeah that's def something I'd change too
#
angelo
capjamesg i've moved from json files to sqlite `json1` for crawl storage so that i can use `json_set()` to atomically update in multiple background jobs working on analyzing the same site at the same time
#
jacky
sqlite++
#
Loqi
sqlite has 1 karma over the last year
#
capjamesg
angelo If you end up writing any generic functions that may be useful in other IndieWeb applications, contributions to indieweb-utils would be greatly welcomed!
#
capjamesg
sqlite++
#
Loqi
sqlite has 2 karma over the last year
#
angelo
so now analysis of a site takes at max the time of the slowest job (lighthouse) which gives an immediate ~5-10x speedup for the single-user iterative development feedback loop
#
[KevinMarks]
[jacky] except that it destroyed the contrast 4 steps in and then makes the code completely illegible
#
angelo
capjamesg i'm addressing feed discovery right now with mf2util, indieweb-utils and wiki in hand. will report back.
mro and angelo joined the channel
#
jacky
random: would it be a decent application of WebSub if one used it to subscribe to URLs in a synthetic way?
#
jacky
Like how granary can generate feeds, if one were to give a subscription topic of a GitHub repo, you could essentially subscribe to all of the events and URLs of that repo
#
capjamesg
angelo We have that!
#
capjamesg
The docstring has an example for you.
#
capjamesg
If you encounter any issues let us know!
#
capjamesg
This will be in the main documentation once we resolve the documentation import issues.
#
angelo
yeah i've got that code up in a tab. i just know that mf2util has some nuance that a) i'd like not be forgotten and b) i've probably come to rely upon.
#
angelo
for example, https://github.com/kylewm/mf2util/blob/master/mf2util.py#L750 calls find_first_entry() which performs a breadth first search for h-feed whereas https://github.com/capjamesg/indieweb-utils/blob/main/src/indieweb_utils/feeds/discovery.py#L130 appears to only check the top-level array of items in the mf2json
#
capjamesg
angelo Yeah, that function does look for items in mf2py responses. But, the parser should return every h-feed.
#
capjamesg
Oh... wait.
#
capjamesg
Can an mf2 parser have a h-feed nested in a h-entry?
#
sknebel
parsers dont care about that
#
sknebel
could be a h-blafoobar inside a h-lffsjdfdsfsfs
#
sknebel
what the h-* mean is a layer above the parser
#
angelo
see tantek's homepage
#
angelo
not in an h-entry but also not at the top level
#
capjamesg
angelo Could you compare the outputs of the two functions?
#
jacky
it look like a very verbose identity management API
#
jacky
came across it b/c I'm looking at bridging gitlab and this is one of the APIs they provide
#
[aciccarello]
Interesting, 2015
#
angelo
capjamesg i don't see that `discover_h_feed` in the currently published API. `discover_web_page_feeds` is just finding the feeds, not actually finding the entries. i do see that it searches the document for h-feed so it's technically working but not in the mf2json context where it matters for actual entry discovery.
#
[aciccarello]
jacky, strike that, it's from 2011. Sounds more enterprisey than I initially understood. https://www.okta.com/blog/2017/01/what-is-scim/
#
angelo
capjamesg mf2util.interpret_feed(..) returns all of the entries. problem is the vocabulary has been taken into consideration for syntactic sugar reasons and that hasn't aged well. what i want is the full generic mf2json of the /representative feed/ if you will.
#
jacky
TIL that micropub helped informed activitypub
#
aaronpk
we're working on some revisions to SCIM at the IETF right now, i'm co-chairing that group
#
jacky
oh nice
#
jacky
from a glance, it seems like a cleaner form of something like LDAP
#
jacky
cleaner in the sense that I could implement this by hand lol
geoffo, jacky, mro and tetov-irc joined the channel