[kevinmarks], [jgmac1106], barpthewire1, j12t_, deathrow1|absnt, Zegnet, sknebel_, KartikPrabhu, tomasparks, cweiske, raucao, gRegorLove__, iasai and [Vincent] joined the channel
#jeremycherfasI know I saw people talking about converting [cleverdevil]'s Overcast python script to PHP; wondering whether anyone has actually started.
#sknebelwonders about crazy crosscompilation toolchains to avoid "let's rewrite X in $lang just so it's in $lang" :D
#jeremycherfasI believe it is better for me to use the python logic to learn more about PHP.
#ZegnetMy expectation is that the script has stored some cookies at a location on your drive (conf.SESSION_PATH). It will either load those to keep you logged in on next poll, or request you to go and login so a session can be obtained
#ZegnetYou can do a similar thing with curl (and thus also PHP’s curl methods) where you tell it what cookies to send along with a request.
#ZegnetAs long as those cookies contain your session identifier, the Overcast server will assume it is talking to you.
#ZegnetThat way consequent calls will use the same cookies (ie. session). And as long as you do not remove the file between runs it will just try again with the same cookies next time
snarfed, iasai and dougbeal|mb1 joined the channel
#jeremycherfasIs there a difference between COOKIEJAR and COOKIEFILE?
#sknebelI think you need to set both to the same file
#sknebelcookiejar is where cookies are stored, cookiefile is where they are loaded from
#sknebel"1998" is valid content for html <time> tags at least
swentel, [frank] and [jgmac1106] joined the channel
#swentelaaronpk, I think you'll have to change your checkin template a bit on your site. xray now puts the photo of the author of the checkin (emoji grilled bar) on /primary to the image of the first post :) (tiny detail of course)
#[tantek]That's the kind of stuff that kept me quite busy before we launched indieweb, and then overlapped a bit after
ichoquo0Aigh9ie, snarfed and [kevinmarks] joined the channel
#[kevinmarks]It is frustrating that most programming languages or libraries turn these kind of dates into exact date times with boundary dates/times.
[schmarty] joined the channel
#sknebelYeah, expressing that in them is surprisingly tricky
ichoquo0Aigh9ie, [eddie], [jgmac1106], snarfed, jgmac1106, KartikPrabhu, [tantek] and [manton] joined the channel
#[manton][aaronpk] I wrote a help page to try to guide developers in the right direction with using IndieAuth on Micro.blog. My thought is that this would be a good place to start when they want to build an app because it can use Micro.blog URLs for the examples. (And I want to encourage IndieAuth over the email sign-in, especially for web apps.) http://help.micro.blog/2019/api-indieauth/
#[manton]If you or anyone has feedback or concerns, lemme know.
#aaronpkI'm trying to think if they need to also verify the domain of the "me" URL returned too
iasai joined the channel
#[manton]Thanks. I think I verify "me" in Micro.blog, but I remember there was one place I was checking "me" that was kind of deprecated and not used by apps anymore... Forgetting the details now.
#aaronpkIt used to come back in the redirect but it can't be trusted then so it's not used there anymore.
#aaronpkok checked the spec again and now I remember
#aaronpkif an app is just getting an access token and using it to make api requests then your instructions are the complete set
#aaronpkIf the app wants to know who signed in and looks at the "me" in the code exchange response, then it does need to check that the domain matches what was entered at first, otherwise someone can make a fake IndieAuth endpoint and sign in to apps as arbitrary users
#aaronpk(For example if the wiki didn't check that, people could sign in to the wiki as someone else)
#aaronpkOh one more thing for the help page, the app should also discover the micropub endpoint to avoid hardcoding that to micro.blog
#jackyyou still hacking on the indieauth.rocks thing aaronpk?
#LoqiA 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
#aaronpkjacky: i haven't made any progress on it in a while. I really need to tho
snarfed, [kevinmarks], [schmarty] and [tantek] joined the channel
#KartikPrabhuaaronpk: on https://aperture.p3k.io/ Sec. Technical Details first paragraph: should "Micropub app shows the posts" read "Microsub" instead?