#dev 2017-05-30

2017-05-30 UTC
[cleverdevil], KartikPrabhu, KevinMarks, dougbeal|mb1, eli_oat, eli and gRegorLove joined the channel
#
gRegorLove
GWG: Idea for WP webmention plugin: if pings are disabled for a URL, don't include the rel=webmention header for that URL.
#
gRegorLove
Just ran into a "Pings are disabled for this post" 400 response sending a webmention to manton's post
#
GWG
gRegorLove: I tried that. There was an issue and it was reverted
#
eli_oat
@gRegorLove — I saw something similar when I tried to send a webmention to a post on baty.blog
#
GWG
gRegorLove: Feel free to reopen the issue though.
#
gRegorLove
I'll leave it up to you guys. Nothing major to me; sounds like it's already on your radar.
#
GWG
I can't remember what the problem was though
#
aaronpk
"...to prevent several problems"
#
aaronpk
wish there was some more specific information
#
GWG
I remember there were problems, but I can't recall what they were.
#
GWG
Bothers me.
#
GWG
Oh well, I am knee deep in restyling my post types.
KevinMarks, cweiske, jeremycherfas, [colinwalker], loicm, dansup, deathrow1, ben_thatmustbeme, kants and miklb joined the channel
#
petermolnar
ok, detecting reacji with python is waaaay easier than I thought
#
petermolnar
the tricky part: there is no strip_tags in python :D
#
vanderven.se martijn
edited /events/2017-05-31-homebrew-website-club (+4) "/* West Europe */ Add Berlin HWC"
(view diff)
eli joined the channel
#
loqi.me
created /Urbit (+84) "prompted by petermolnar and dfn added by petermolnar"
(view diff)
#
petermolnar.net
edited /recommendation_engine (+148) "/* Brainstorming */"
(view diff)
jeremycherfas, jeremycherfas_ and singpolyma joined the channel
#
ben_thatmustbeme
just wrote that up this morning
#
ben_thatmustbeme
introduces jf2feed profile, which makes it very very similary to jsonfeed
#
cweiske
!standards
#
ben_thatmustbeme
yes, we all know that one
#
ben_thatmustbeme
at least getting them on the same vocabulary and bringing jsonfeed in to jf2 before is starts is better than having another seperate branch
eli_oat joined the channel
#
aaronpk
re: https://chat.indieweb.org/2017-05-30/1496130636031000 Almost no websites support that. There is some work being done with OAuth around session management, so if you want to try to translate that extension to indieweb terms it'd be worth writing as an IndieAuth extension
#
Loqi
[cweiske] did you know that there is no way for micropub clients to tell the server that a token should be considered invalid?
#
cweiske
yes, we talked about that in nürnberg
#
sknebel
aaronpk: do you mean https://openid.net/specs/openid-connect-session-1_0.html#RPLogout or is there something else?
#
loqi.me
created /sudo (+80) "prompted by Zegnat and dfn added by Zegnat"
(view diff)
#
loqi.me
edited /sudo (+45) "/* See Also */ new section"
(view diff)
#
aaronpk
I think that's the one I was thinking of
#
aaronpk
tho let me check OAuth 2 as well
#
sknebel
the latter seems simple enough, although I find it interesting that they require valid auth credentials to revoke a token
#
aaronpk
Looks like public clients only have to include the client id
#
aaronpk
For IndieAuth I'd be inclined to reuse the token endpoint for this request to avoid defining a new rel value
#
sknebel
that seems like a good idea
#
ben_thatmustbeme
GWG, aaronpk, what language aware changes do you make for your versions of JF2?
#
ben_thatmustbeme
and is it only every representing a single h-entry?
#
aaronpk
language aware, like spoken language?
#
ben_thatmustbeme
err, sorry, vocabulary aware
#
ben_thatmustbeme
so like, category is always an array, url is always a single string, etc
#
aaronpk
exactly
#
ben_thatmustbeme
wondering if it makes sense to have a seperate profile of JF2 for h-entry that sort of codifies those
#
aaronpk
for each h-* object there's a list of which properties are arrays and which are single values
#
ben_thatmustbeme
oh interesting
#
aaronpk
xray supports h-entry, h-event, h-review, h-recipe, h-card, and h-product and h-item because they are used in h-review
#
aaronpk
oh and it knows which properties expect URL values which used to build refs
#
ben_thatmustbeme
ah, interesting that bit too
#
ben_thatmustbeme
so now that i am doing the JF2 profiles idea, i'm thinking of a JF2 Item profile
#
aaronpk
i could probably DRY up this code quite a bit now that this pattern has been established
#
ben_thatmustbeme
that would specify things like this
#
aaronpk
oh and only certain values expect HTML content
#
ben_thatmustbeme
oh interesting
#
ben_thatmustbeme
what do you think of
#
ben_thatmustbeme
specifically content: field
#
ben_thatmustbeme
was sort of my solution to jsonfeed's context_text vs content_html
#
aaronpk
i still prefer including both html and plaintext content
tantek and leg joined the channel
#
@benwerd
Between Micropub, Webmention, IndieAuth, WebPub, Activity Streams and ActivityPub, I'm excited to watch my friends create a more indie web.
(twitter.com/_/status/869585807928991749)
#
voxpelli
aaronpk: I use my https://github.com/voxpelli/node-fetch-politely for all my requests
#
Loqi
[voxpelli] node-fetch-politely: Ensures polite outgoing HTTP requests that respects robots.txt and aren't made too close to each other
#
tantek
anyone have a POSSE editing step in their publishing flow?
#
tantek
e.g. when you publish a post, options in your UI to customize the automatic default text that you POSSE to Twitter, FB, etc.?
#
tantek
e.g. right now I often put @ or # in my article names because I know my code will be POSSEing the article name to Twitter, but that kind of contorts / pollutes the article name
#
tantek
so the use-case (for me) is: not having to use @ or # in a article name just for the sake of Twitter
#
aaronpk
I also want that and don't have a UI for it yet
#
tantek
ok cool. I wanted to capture it at least here in chat, and then perhaps write something up in /POSSE#Brainstorming
#
tantek
what is X-RateLimit-Limit
#
Loqi
It looks like we don't have a page for "X-RateLimit-Limit" yet. Would you like to create it?
#
sknebel
25 hours until sknebel: ask sgreger about POSSE UI
#
Loqi
I added a countdown scheduled for 2017-05-31 7:29pm CEST (#6007)
#
schmarty
tantek: keeping platform-specific @s and #s out of places where it doesn't belong (like my site) is why i only manually POSSE
tantek, [shaners] and gRegorLove joined the channel
#
aaronpk
whoops, something is wrong with my webmention handling. my comment on adactio's post is causing his post to show up as a mention on my post
#
Loqi
[Aaron Parecki] "The great thing about OwnYourSwarm is that I didn't have to do anything. I already had the building blocks in place" https://adactio.com/journal/12349
#
aaronpk
what part of what spec am i missing here?
#
aaronpk
what is comments presentation
#
tantek
aaronpk, is your comment inside the "content" on his post?
#
aaronpk
no, he even properly marks up my comment in the "comment" property!
#
ben.thatmustbe.me
edited /comments_presentation (-13) "fix multiple redirects"
(view diff)
#
aaronpk
oh! I bet it's because my post has a link to his post in the content, and i bet my code is only checking for that case if it's a property such as an in-reply-to
#
aaronpk
yepyep that's it. I am only checking the in-reply-to property of my post. I need to expand that to check all properties as well as the post body
#
tantek
that sounds worth writing up!
#
aaronpk
hm, and i also just ignore webmentions that fall under that case
#
aaronpk
should i be doing anything with them? I don't even store them
#
tantek
which case?
#
aaronpk
not sure what to call this... a reciprocal webmention?
#
aaronpk
when i get a webmention back from a site i just sent a webmention to because it displays my comment
#
tantek
that's actually really useful!
#
tantek
because you know your comment was "accepted" as it were
#
tantek
especially when more folks start supporting / requiring Vouch
#
aaronpk
yeah, it's entirely possible i get the webmention quite later than when i sent it, such as if they moderate manually
#
tantek
indeed - if you do get it later, then it may be worth a notification?
#
aaronpk
so that's enough of a reason to store them instead of just skipping them like i do now
#
tantek
Definitely worth writing up in both "comments presentation" and "when should you send a webmention"
#
aaronpk
so then i need to store some flag that says not to display this webmention
#
tantek
wait really?
#
Loqi
[Aaron Parecki] "The great thing about OwnYourSwarm is that I didn't have to do anything. I already had the building blocks in place" https://adactio.com/journal/12349
#
tantek
is it possible to determine that it came from your own comment?
#
aaronpk
i guess at display time i could check if my post originated it but that check is not trivial (look at all properties of the post, plus parse the HTML and look at all <a> tags)
#
aaronpk
so i would want to determine that once and store the result
#
tantek
makes sense
#
tantek
it could also be a hint of salmention support right?
#
aaronpk
yes! it likely indicates the site that sent it supports salmention
#
aaronpk
ooh i have a fun idea
#
aaronpk
who was it that displays the status of webmentions they sent as hover tips over links in their posts?
#
tantek
what? that sounds very cool
#
voxpelli
Is it really required in Salmention to ping a page when that page pings you?
#
aaronpk
voxpelli: if you follow the algorithm you will do that
#
tantek
I do like the notification that the comment has been posted
#
voxpelli
aaronpk: well, if adactio had been supporting Salmentions in the same way as you do right now, then you would have an inf-loop of Salmention pinging right now, no?
#
tantek
that could translate into something you see in your own posting UI
#
aaronpk
voxpelli: no because my second webmention would appear as an update to him
#
voxpelli
aaronpk: yes, an update that your post has received a comment, and adactio will then notify you that his post has received another comment in its comments thread?
#
aaronpk
but his post didn't receive another comment
#
voxpelli
It received his post as a comment of your comment – Salmention do support nested comments, no?
#
aaronpk
but there's no nesting
#
aaronpk
the fact that both our sites support salmention right now and we didn't get into an infinite loop is a good sign
#
voxpelli
At least it is technically possible for it to become circular so that some one has to stop confirming their webmentions
#
aaronpk
i don't think so... because one or both will start seeing the other as an update instead of as a new comment
#
voxpelli
But also updates should trigger Salmentions?
#
aaronpk
only if the post changes
#
aaronpk
so if i receive a webmention taht doesn't cause my display to change, i don't send salmentions
#
voxpelli
Your post changed, it got a new mention?
#
aaronpk
but it didn't get a new mention, it got a notification that an existing mention was updated
#
aaronpk
and that didn't cause the display of my post to change
#
voxpelli
But when you first mentioned adactio, then that mention can't have been there?
creature joined the channel
#
aaronpk
there are a few webmentions exchanged, but it's not an infinite loop
#
voxpelli
Because one of you thankfully stopped showing mentions of mentions of mentions and so on
#
aaronpk
but now you're not making sense
#
aaronpk
nobody suggested ever *showing* mentions of mentions
#
voxpelli
Replace "mentions" with "replies" and I guess most would like to show replies of replies
#
tantek
replies to replies
#
voxpelli
yes, grammar ;)
#
voxpelli
If a single person in a reply thread were to accidentally or maliciously in-reply-to a post later in the thread, then the pinging would be infinite if everyone were to confirm their pings
#
voxpelli
I know we have discussed this previously though, I guess we will eventually see it in practice
#
voxpelli
I do know my endpoint is vulnerable to participation in an infinite pinging circle, that's why Salmentioning isn't live in it
#
ben_thatmustbeme
repiles his replies :P
#
aaronparecki.com
edited /Webmention-brainstorming (+753) "brainstorming webmention sending status"
(view diff)
#
aaronpk
so here are some thoughts about the various states of sending webmention i plan to track
#
aaronpk
the last one is when i get a webmention back like the earlier example
tantek joined the channel
#
voxpelli
another note on that last one: didn't we conclude to stop sending webmentions to the comments of our posts?
eli_oat joined the channel
#
tantek
that sounds familiar - possibly from IWC Brighton last year?
#
voxpelli
The reason of this wording in the wiki: "resend Webmentions to everything the original post sent webmentions to"
#
voxpelli
Yeah, that one and/or Düsseldorf
#
tantek
or maybe it was IWC Dusseldorf last year
#
tantek
yes! :)
#
tantek
pretty sure we captured the debate
AngeloGladding joined the channel
#
@WendyandCharles
ReadersGazette: BLOG Indie Author Answers by Jim Heskett http://www.thejugglingauthor.com/indieauth/ Get help writing your book #bookbloggers 47
(twitter.com/_/status/869622480541024256)
#
vanderven.se martijn
edited /chicken (+92) "/* Indieweb Examples */ ?"
(view diff)
#
www.svenknebel.de
edited /chicken (+32) "/* Articles */ linkfix"
(view diff)
#
gRegorLove
Hey, authors. Use the extra two letters.
#
gRegorLove
There's not a shortage. :)
#
Zegnat
gRegorLove, extra two letters?
#
gRegorLove
The Indie Author group uses "indieauth" a lot in URLs and hashtags so it shows up here.
#
gRegorLove
Just seems like an odd shortening for them
tantek joined the channel
#
Zegnat
Ah, for a second I thought you were commenting on chickens, gRegorLove ;)
cweiske, [kevinmarks], tantek and pfefferle joined the channel
#
pfefferle
good morning
#
tantek
good day pfefferle!
#
cweiske
pretty late for you to say morning :)
#
pfefferle
hey tantek hey cweiske
#
pfefferle
cweiske :)
eli_oat joined the channel
#
gregorlove.com
edited /jsonfeed (+147) "/* Reader Support */ Breaker podcast app support"
(view diff)
[colinwalker] joined the channel
#
Zegnat
My PR got accepted on the Grav Webmention plugin, so any Grav users: expect an update to be rolled out soon
#
ben_thatmustbeme
Zegnat, what PR is that?
#
ben_thatmustbeme
or rather, what does it fix / add?
#
Zegnat
Fixed some problems with advertising the endpoint: https://github.com/Perlkonig/grav-plugin-webmention/pull/6
#
Loqi
[Zegnat] #6 Correctly stop advertising Webmention endpoint on ignore_paths.
pfefferle joined the channel
#
loqi.me
edited /responses (+68) "tantek added "Example lists of responses by type: https://snarfed.org/responses" to "See Also""
(view diff)
#
gregorlove.com
edited /Accelerated_Mobile_Pages (+398) "/* Criticism */ Kill Google AMP before it KILLS the web"
(view diff)
#
dougbeal.com
edited /events/2017-05-31-homebrew-website-club (+15) "/* European time {{new}} */"
(view diff)
[cleverdevil] joined the channel
#
loqi.me
created /tt-rss-micropub (+335) "prompted by tantek and dfn added by tantek"
(view diff)
eli_oat joined the channel
#
tantek.com
edited /tt-rss-micropub (+45) "link to canonical place for it"
(view diff)
#
tantek.com
edited /Tiny_Tiny_RSS (-23) "wikilink to plugin page"
(view diff)
leg joined the channel
#
tantek
!tell benward if you get a chance, could you get broken Twitter dev site permalinks to redirect to their new pages? e.g. https://dev.twitter.com/terms/display-guidelines (ht: aaronpk )
#
Loqi
Ok, I'll tell them that when I see them next
#
cweiske.de
edited /Micropub/Clients (+51) "/* tt-rss-micropub */"
(view diff)
#
tantek
I wonder what the update semantics on such a micropub-delay-micropub service would be
#
tantek
e.g. after you post to it, but before its posting time, you want to edit (or cancel!) the post
#
tantek
do you just post to it again with the same permalink?
#
tantek
like you can do micropub updates to it as many times as you want before it posts on your behalf, and it will only post once at that time?
#
tantek
(with whatever state / update it last received?)
#
tantek
aaronpk: ^^^
#
aaronpk
i would imagine the service would hold on to the post until the scheduled date, and any edits would apply to the buffered post
#
tantek
makes sense
#
tantek
that would be quite handy for time-delayed POSSEing via silo-pub as well
#
tantek
e.g. +30s
#
tantek
rather than a specific time
#
tantek
so you could publish, and still have 30s to catch/fix a typo, kinda like Gmail's undo send feature
#
tantek
and after each update, the 30s clock resets, so you get 30s more to keep editing / tweaking
#
tantek.com
edited /p3k_naming_convention (+9) "/* Components of p3k */ use main template"
(view diff)
[eddie] joined the channel
#
tantek.com
created /events/2017-06-07-homebrew-website-club (+6526) "create page for first Wednesday of the month locations, for sure Portland"
(view diff)
#
tantek.com
edited /events/2017-06-07-homebrew-website-club (+124) "/* US West */ add rsvp for portland, indie event, list below, aaronpk"
(view diff)
dougbeal|mb1 joined the channel