#dev 2019-03-11
2019-03-11 UTC
[davidmead], iasai and eli_oat joined the channel
# gRegorLove aaronpk, can indiebookclub use indielogin.com?
# gRegorLove I mean for the non-micropub users. It's using indieauth.com/auth for them currently
iasai and [eddie] joined the channel
KartikPrabhu, gRegorLove and iasai joined the channel
[jgmac1106], iasai and [schmarty] joined the channel
# GWG https://github.com/aaronpk/OwnYourSwarm/issues/41#issuecomment-471344936 - I'm not sure that is what anyone said.
# Loqi [Changelingmx] Got responses from the developers of the Indieauth plugin. I'll paste the link, but the short version is Own Your Swarm and the other services that are giving me problems are using depricated scopes.
https://github.com/indieweb/wordpress-indieauth...
# aaronpk and the video linked from https://indieweb.org/PKCE should help too
snarfed and iasai joined the channel
iasai and [eddie] joined the channel
snarfed and iasai joined the channel
iasai and KartikPrabhu joined the channel
[Rose] joined the channel
barpthewire joined the channel
cweiske, swentel, iasai, [Rose], [Vincent], jgmac1106 and [grantcodes] joined the channel
# [grantcodes] !tell Zegnat I fixed that state issue on the post type test, there are now a bunch of them on sink
# [grantcodes] Nah, I forgot the state was in int and was checking it against a string. Fun times
# [grantcodes] Yes, just didn't think about it
iasai, swentie, [jgmac1106], swentel, jgmac1106, KartikPrabhu and kisik21 joined the channel
# kisik21 i wanna redesign my cms again... it's bottlenecked by something and i dunno the reason because I don't know how to profile flask apps
# kisik21 ben_thatmustbeme: oh hello there... well, Quill does discover my syndication stuff, why doesn't Inkstone do that?
[tonz] and [kevinmarks] joined the channel
# [kevinmarks] The syndication syntax changed at some point, maybe inkstone is using the old version?
[eddie], [jgmac1106], iasai, snarfed, swentel, [Rose], [manton] and leg joined the channel
# [eddie] In the "Quantified Self on my website" category... I track what I watch and listen to. I'm almost ready to start posting what I play (on Nintendo Switch). I've been thinking about what I code... I have two potential sources: GitHub for public commits and I also use WakaTime which is has plugins in various IDE and tracks the amount of time that I program every day. So I'm thinking I could grab what projects I work on, what commits I make and how
[stefp], [tantek], swentie and chrisaldrich joined the channel
# [jgmac1106] eddie check the resolution on your screenshot of Quill Authorizaton
# [jgmac1106] is it stretching to 100%
# [jgmac1106] can you make it smaller?
# [jgmac1106] you could try inline styling in emergency....
# swentie [eddie], 'access list' is just a list of domains ? (re: autoauth)
# [jgmac1106] nvm I see what you mean
# [jgmac1106] what did you use for screencapture then, that seems like a low resolution
# swentie [eddie], ok, I was kind of 'missing' what controlled the access (to be fair, haven't read through the complete spec)
# swentie but interesting development there
# [jgmac1106] congrats
# [jgmac1106] eddie++
# [jgmac1106] for the demo
# swentie cool, will start experimenting with it myself with the drupal module
iasai joined the channel
# swentie [eddie], will ping you once I have something, either being able to read something from you or the other way around.
# swentie ah, also cool
# [eddie] swentie: also, https://indieweb.org/autoauth has some nice diagrams linked
# swentie registers autoauth.com :p
snarfed joined the channel
# [jgmac1106] and ten years later swentel sells authoauth.com for 100k
# [jgmac1106] meant auto
# jeremycherfas I have an image-handling problem in PHP. I'm scraping images from a site, and I do not know in advance whether they are jpg or png (unlikely to be anything else). I need to resize and then save. I can find image type, and I was wondering, is there a reverse of image_type_to_extension? That is, if I have the extension, use that in imagecreatefromjpeg or imagecreatefrompng?
[davidmead] and KartikPrabhu joined the channel
# [davidmead] spitballing here, but is there a way to take an RSS feed and create posts from it’s entries using PHP?
# [davidmead] As in “a standard way”
iasai joined the channel
# jeremycherfas I'm rolling my own. Doesn't me4an there isn't a standard way, but I have not found one.
# aaronpk RSS is pretty frustrating to parse in PHP since you have to deal with XML libraries. there's also https://granary.io which can convert it to other formats.
# snarfed feel free to pile onto https://github.com/snarfed/granary/issues/137
# [davidmead] thinking longterm about a way to create posts in Known from silos that only offer RSS feeds - I did this in Wordpress using a plugin called Maptico (I think)
# [davidmead] so I check in with Untappd and it creates a post on my blog - Like your OwnYourSwarm aaronpk
# [jgmac1106] an IFTT like recipe
# [jgmac1106] you can go untappd to IFTT to CSV already, maybe easier to start there? though never used it, not sure what table looks like
# [davidmead] I would love to get a plugin that I could manually enter a post (kind) that would also add something to Known to listen to RSS feeds and grab those too. A ‘drink’ plugin that I can manually enter that damn fine coffee in, but would grab beer from Untappd too
# [jgmac1106] What is a reader?
# Loqi A reader (AKA indie reader or social reader) in the context of the indieweb is the portion/feature integrated into an indieweb site that provides a way to read content from other indieweb sites, possibly including posts from the current site, and respond (like, comment, repost, etc) inline in the reading UI itself https://indieweb.org/reader
# [jgmac1106] Can you subscribe to your rss feed in your reader and then republish to the post to Known? What happens I never tried?
# [jgmac1106] forget that untappd is pretty good with their apis it looks like: https://untappd.com/api/docs#activityfeed
# [jgmac1106] looks like it requires you to build an app and I didn't read TOS, but if you can get data out like that somebody (not me) can get it into Known
# snarfed hey aaronpk, GWG, i just noticed there are three different wordpress implementation reports on micropub.rocks: https://micropub.rocks/implementation-reports/servers/
[kevinmarks] and iasai joined the channel
# [kevinmarks] Unmung.com will make rss into h-feed, so you could parse that and post each one.
snarfed joined the channel
# @BeardOps I'm a 10x developer. That is it takes me 10x the amount of time to write the same amount of code as other people. (twitter.com/_/status/1091456027768250368)
# [tantek] User:Tantek.com << https://twitter.com/BeardOps/status/1091456027768250368
# Loqi ok, I added "https://twitter.com/BeardOps/status/1091456027768250368" to a brand new "See Also" section of /User:Tantek.com https://indieweb.org/wiki/index.php?diff=57996&oldid=51221
chrisaldrich joined the channel
# [davidmead] thx kevinmarks, aaronpk, jgmac1106 for the RSS/Post info. Something to dive into
iasai joined the channel
# [jgmac1106] davidmead you are like the 147th person who wants to own their UNTAPPD posts, first time I looked at API info....hoe somebody way smarter than me really digs in, the unmung approach you will need to test to see what tags Known does and does not strip from the HTML,
# [jgmac1106] properties...haven't found any tags it removes
# [davidmead] I have a distant memory of someone forking OYS and using for Untappd, but I don’t think it actually worked.
# [davidmead] That’s why I’m adding to the list of “stuff I’m going to hack & slash at”
# [jgmac1106] your list is getting long, can't wait to see the thing you tackle next, ohh yeah update the Listen plugin if you haven't, I fixed the errant h2
# [davidmead] I’ll have to pull that down - I’m going to be “offline” for the next couple of days as The Division 2 starts and I’ll be neck deep gaming that 🙂
[schmarty], KartikPrabhu, iasai and snarfed joined the channel
iasai, KartikPrabhu, snarfed, jackjamieson, [dougbeal], chrisaldrich, gRegorLove and [eddie] joined the channel
# [tantek] Kinda expecting this to get parodied / memed pretty hard (in a sarcastic way) https://twitter.com/SlackHQ/status/1103832235122274304
# @SlackHQ @log1kal It wasn't a widely used slash command, so we've done some spring cleaning of the Slack clients. (twitter.com/_/status/1103832235122274304)
# Loqi Design is a catchall term used to refer to everything that affects users about a page/site including: Graphic design (including site icon) User interface design (UI design) User experience (UX) Information architecture (IA) URL design https://indieweb.org/design
snarfed joined the channel
# [tantek] design << How NOT to decide to remove features: https://twitter.com/SlackHQ/status/1103832235122274304 (see top message of thread and its replies for more)
# @SlackHQ @log1kal It wasn't a widely used slash command, so we've done some spring cleaning of the Slack clients. (twitter.com/_/status/1103832235122274304)
# Loqi ok, I added "How NOT to decide to remove features: https://twitter.com/SlackHQ/status/1103832235122274304 (see top message of thread and its replies for more)" to the "See Also" section of /design https://indieweb.org/wiki/index.php?diff=58106&oldid=57007
iasai, [schmarty], [jgmac1106], [benatwork], [kevinmarks] and chrisaldrich joined the channel
# [schmarty] [grantcodes] really liking some of the indieauth-lib-wp stuff. I made a quick fork for this specific device flow proxy project: https://glitch.com/edit/#!/veil-mirror?path=lib/indieauth-authentication.js
# [schmarty] oops i should make that a tel
# [schmarty] !tell grantcodes liking the indieauth-lib-wp! i made a fork here with a couple of extra features: https://glitch.com/edit/#!/veil-mirror?path=lib/indieauth-authentication.js
[grantcodes] joined the channel
# [grantcodes] I got it
# [grantcodes] What did you add?
# [schmarty] i added an optional "extra_rels" map to getEndpointsFromUrl, since it's already fetched the page and parsed the rels.
# [schmarty] i also added an extra_args to getToken, so i can pass the PKCE verifier
# [schmarty] and removed the object-to-form-data stuff since that's used by micropub and not indieauth
# [grantcodes] Cool, that'll be useful, I thought about even just caching all the rels in a property
# [schmarty] you can see in index.js how i ended up using everything
# [schmarty] i think caching the rels in a property sounds great
# [schmarty] i also did a little dance to override the automatic state generation, because i wanted to preserve some local info for state rather than trying to pass a whole encrypted object around.
# [schmarty] despite those leaks for my weird use case it was totally usable!
# [grantcodes] With what I made I thought you had to manually use the function to generate the state so should be easy to use your own
# [schmarty] haha that sounds about right. i saw the functions and assumed they were called internally. i should have checked. 😂
# [grantcodes] It might be good to call them automatically if the user doesn't pass in a state but I hadn't really thought about that yet
# [schmarty] at the moment i like the optional-ness, since use cases may be very different.
# [grantcodes] Yeah and you're going to always have to manually run the function to check the state so makes sense you'd have to manually run it to generate the state too
# [grantcodes] But it's probably about good enough to get cleaned up, and put on GitHub and npm
# [schmarty] please consider storing all the rels and allowing extra args for getToken ;}
[cleverdevil] joined the channel
# [grantcodes] For sure, I'd count that as part of cleaning up 😛
# [schmarty] ooh, or, in place of the extra args for getToken, support PKCE via a this.options.pkce_verifier
snarfed joined the channel
# [schmarty] if present, generate its sha256 sum and add it to the auth args for getAuthUrl as pkce_challenge.
# [grantcodes] I'll make a blank GitHub repo to save these issues at least
# [schmarty] and then on getToken, if pkce_verifier is present, add it to the POST to the token endpoint as pkce_verifier.
# [schmarty] haha good clal.
# [schmarty] *call
barpthewire and iasai joined the channel
# [grantcodes] If you don't end up building it into the code somewhere could you write up the pkce stuff as an issue, can't say I fully understand it yet myself
# [schmarty] can do!
# [grantcodes] Cool, and probably more of a #meta question but it might be good to use the @indieweb org that I have on npm for this and the micropub helper. It's used in enough projects now I'd say to be considered pretty stable
# [schmarty] grantcodes: i'd be for that
barpthewire joined the channel; Mikaela left the channel
# [grantcodes] And if we did that we should probably move them to the indieweb GitHub too
[jgmac1106] and snarfed joined the channel
iasai joined the channel
# aaronpk if you copy the example from the readme it's really quick to set one up https://github.com/indieweb/indieauth-client-php
iasai joined the channel
iasai joined the channel