2017-02-14 UTC
tantek and gk{\`_^}1wm joined the channel
tantek, gRegorLove, cweiske, KevinMarks and [kevinmarks] joined the channel
# 09:01 Loqi [kevinmarks]: sebsel left you a message 9 hours, 31 minutes ago: Oh thanks! I actually already implemented a Twitter login on my site before I saw your message :)
KevinMarks joined the channel
sandro_ joined the channel
# 11:31 petermolnar h-card that gets found. Any ideas how to address this with the same find method? Basically I'm trying to figure out how to limit the search depth or to exclude elements with certain parent classes.
# 11:33 petermolnar oh. the h-enty is on the <body> on that site. That complicates things
# 11:46 petermolnar I think I got it, if .find_parents(True, attrs={'class':'e-content'}
) finds anything, move on
# 12:05 Zegnat You are using a full HTML parser for finding microformats? I would like to do that too, but my options in PHP seem limited
# 12:09 Zegnat whose, cweiske? Mine are just that most HTML parsing seems to be done with DOMDocument in PHP, and I am not a fan of DOMDocument for HTML.
# 12:10 cweiske domdocument is the only way to load non-wellformed html in php
# 12:43 petermolnar "full valid XHTML strict... sooo bauhaus :P" - @aorcsik (a friend of mine, a long while ago)
# 13:02 petermolnar I wasn't aware WordPress is backporting security patches to old version if it's severe enough
# 13:03 GWG They've been doing that for some time
# 13:04 petermolnar but backporting to several major versions is not a good approach, to be honest
# 13:05 GWG People refusing to keep software up to date is not a new issue
# 13:05 petermolnar yes, and they should learn it the hard way, if the sw is internet-facing
# 13:06 cweiske how I hate major updates that always break things
# 13:07 petermolnar i haven't updated my cache plugin since 4.3? I think, still no need to
# 13:07 cweiske I don't talk about wordpress, I talk about updates in general
# 13:08 cweiske I still have projects at 6.2 although 7.6 is stable since > 1 year, and 8 LTS release is near
# 13:08 GWG I would like to see WordPress push a bit more.
# 13:08 cweiske because if you try to update, things break. developers use major version jumps to remove deprecated or undeprecated code
# 13:09 GWG But you can't push people on the scale they have without consequences
# 13:09 petermolnar wp would benefit from an LTS release for sure, but their current way of keep things compatible and save people from themselves is just terrible
# 13:10 petermolnar wp seems to be keeping things alive even longer, which is not healthy
# 13:11 cweiske I've heard colleagues complain about total incompatibilities between guzzle 5 and 6
# 13:12 petermolnar cweiske reasonable compatibility, deprecation notes in advanced, sure
# 13:12 petermolnar PHP is doing rather well under these term, 2 version of deprecation notes, for example
# 13:13 cweiske another example is typo3's flux/fluidcontent/vhs extensions
# 13:13 cweiske they do major version jumps every couple of months
# 13:14 cweiske and if you update you can be sure that it breaks code
# 13:14 petermolnar the half a year ubuntu releases are pain as well, I'm sticking to LTS
# 13:14 petermolnar so sure, LTS is needed, proper deprecation warnings are needed, and so on, but you need to move forward at some point
# 13:15 petermolnar I'm having so much pain with mint 18 that I'm seriously condisering stepping back
# 13:15 cweiske in my eyes people deprecate too early and don't care about BC mostly
singpolyma and mbrock joined the channel
# 14:52 aaronpk petermolnar: is there a reason you don't just parse the whole page and deal with the resulting mf2 data structure?
# 14:53 aaronpk because that author h-card won't be the "first" one anymore, it would move to a nested object of the h-entry
# 14:54 petermolnar that is fine; I'm doing a find_all and exclude all of those which have e-content class as parent
# 14:54 aaronpk i just think you're going to end up with a bunch of other edge cases doing it this way
# 14:55 petermolnar not impossible, and I'll probably consider moving back to full mf2 parsing the next time I find something like this, but this is still a fast and easy way
# 14:55 voxpelli yeah, using a proper mf2-parser that passes all of the tests that has been created for an mf2-parser should be preferable
# 15:00 voxpelli else there's always a risk that someone can have a special case that's supported by tested parsers but which one hasn't thought of oneself
# 15:04 aaronpk take a look at that list and tell me you want to do that without using a mf2 parser :)
[cdevroe], singpolyma and tantek joined the channel
# 16:14 KevinMarks @petermolnar also, if you're using beautiful soup, make sure it is using html5lib
Jocelyn1 joined the channel
# 17:22 martymcguire[m] oh no. quill deprecated support for the "post" scope?
# 17:23 aaronpk but i left a setting there on the authorization screen for fallback support!
# 17:24 martymcguire[m] i saw the setting for falling back to post earlier, but i don't see it now
# 17:26 aaronpk if you log in a second time it bypasses that prompt screen and should request the same scope that was previously granted
# 17:26 aaronpk yeah the prompt is after that page the first time you sign in
# 17:27 martymcguire[m] hmm. i must have selected create without realizing it.
# 17:28 aaronpk ah yeah that would do it. i guess i need a way to reset that default
# 17:28 martymcguire[m] not sure how to get back. clearing all "application" data in chrome dev tools and logging in still leaves me with "create" scope.
# 17:28 aaronpk i'll have to make a reset button in the settings screen
# 17:28 martymcguire[m] oh, haha
# 17:29 martymcguire[m] welp. good time for me to get my micropub endpoint supporting create!
[keithjgrant] joined the channel
snarfed joined the channel
# 17:50 snarfed heh, sorry, should have finished read logs first :P
gRegorLove joined the channel
# 17:53 petermolnar snarfed I might send a pull request, but I need to sit down to merge the chages; didn't know you picked the repo up
singpoly1a joined the channel
# 18:21 voxpelli just released update of node.js micropub-express module that treats "create" as default scope but still also supports "post" scope
# 18:22 Loqi voxpelli has 6 karma in this channel (100 overall)
KartikPrabhu joined the channel
# 18:36 voxpelli very very very much needs to get autolinking done for notes posted to his Micropub endpoint from eg. Quill
tantek, KartikPrabhu and [keithjgrant] joined the channel
# 19:29 [keithjgrant] @voxpelli How is authentication done in webpage-micropub-to-github? (On inbound requests from, say, Quill)
# 19:29 voxpelli [keithjgrant]: it is checked against indieauth.com by default, or against any other server one has configured instead
# 19:30 voxpelli rechecked – there's no default, so it checks it against whatever MICROPUB_TOKEN_ENDPOINT you have configured
# 19:33 aaronpk good :) I would have recommended against defaulting to indieauth.com
# 19:33 Loqi voxpelli has 7 karma in this channel (101 overall)
tantek joined the channel
# 20:30 aaronpk we are now up to 4 implementations of sending private webmentions, and 3 of receiving!
# 20:32 aaronpk this is a good sign! none of the other attempts at private webmention had this many implementations
[keithjgrant], tantek, [eddie] and miklb joined the channel
# 22:16 tantek petermolnar: why does it complicate things to put h-entry on the <body> ? that's actually a recommended practice for post permalink pages - that way you are indicating this entire page represents a post
Loqi, KevinMarks and aaronpk joined the channel
# 23:48 sebsel also wandering: I should detect authors on urls I mention in my private posts, and then add those to the audience/whitelist of people who can login.
# 23:48 sebsel I might only want to do that for in-reply-to and like-of links though. Not sure.
# 23:50 aaronpk same behavior as mentioning people in private slack conversations. they aren't automatically added to the conversation
KartikPrabhu joined the channel
# 23:52 sebsel hm, yeah. but that would require some webmention UI for me, then, because I can't manually generate the token and stuff.