#indieweb 2017-03-14

2017-03-14 UTC
[cleverdevil] joined the channel
#
[cleverdevil]
For those that haven't seen it, yet, I am really loving the Nextcloud News app for feed reading – http://share.cleverdevil.io/DpvXCpLJXz.png
#
hs0ucy_
KevinMarks: So what's the problem between webmention.herokuapp.com and https://brid.gy/twitter/hs0ucy ? I missed something?
#
KevinMarks
not sure
snarfed joined the channel
#
KevinMarks
oh wit, that wasn't a POSSEd one
#
KevinMarks
this one worked
#
Loqi
[Hugo Soucy] «Browsers, not apps, are the future of mobile» ~ http://x.soucy.cc/ck #WebDev
#
KevinMarks
you get the 'oh, brid.gy doesn't resize the avatar image' game to play now
#
hs0ucy_
KevinMarks: LOL, it's indeed a big picture of you :)
#
snarfed
true! what would it resize it to? that's receiver-specific.
#
KartikPrabhu
bridgy should not do resizing stuff
#
KevinMarks
yes, you need the line I use in http://www.kevinmarks.com/style.css .webmention-author img {height: 3em; float:left; margin:.25em;}
#
KevinMarks
or something suited to your site
#
KevinMarks
I suppose it's more webmention.herokuapp.com doesn't supply default styles
#
hs0ucy_
KevinMarks: Thanks for those tests ... Maybe it's only working with new ones ?
#
hs0ucy_
KevinMarks: Yes i will style all this.
#
hs0ucy_
snarfed: Thanks for the documentation.
#
hs0ucy_
And sorry for my not so good english ;)
davidmead and snarfed joined the channel
#
KevinMarks
hm, I hit retry on some older brid.gy likes, but they didn't show up on the posts
#
snarfed
were the wms sent successfully?
#
snarfed
so, yes, wm sent successfully
#
hs0ucy_
snarfed KevinMarks : Ok i enhance the style a little bit.
#
hs0ucy_
KevinMarks: i'm not sure to understand the meaning of the URL you just posted...
#
@TerminalPixel
Day 70 of #100DaysOfCode: Added initial url handling to my #indieweb #chatbot Just share a url with it and it will… https://grant.codes/2017/03/14/58c73c95eb3bc72a1aab1cbb
(twitter.com/_/status/841449707872374784)
#
snarfed
hs0ucy: it's a raw bridgy webmention log. don't worry about it, not too useful in this case
#
KevinMarks
it implies you should have a like on that post too
#
hs0ucy_
KevinMarks: But i don't.
#
hs0ucy_
KevinMarks: I mean it is not visible on the page.
#
KevinMarks
hm, but a like I just made shows up
#
Loqi
[Hugo Soucy] «Browsers, not apps, are the future of mobile» ~ http://x.soucy.cc/ck #WebDev
#
hs0ucy_
KevinMarks: Good news :)
#
KevinMarks
so it's probably twitter's unco-operative API that is making old ones not appear.
#
hs0ucy_
KevinMarks: I think you're right.
#
KartikPrabhu
one thing I have done in the past is reconstruct the brigy URL and send a webmntion to my post
snarfed joined the channel
#
hs0ucy_
KartikPrabhu: How do you reconstructed the bridgy URL?
#
KartikPrabhu
ha! I beat snarfed by 1 second
#
KevinMarks
though bridgy sending the url didn't help
#
KevinMarks
though bridgy sending the url didn't help
#
KevinMarks
and still doesn;t show up
#
KartikPrabhu
KevinMarks: you can check if the markup on the bridgy reconstructed URL is correct and send a mention directly from that (?)
benwerd and benwerd_ joined the channel
#
hs0ucy_
KevinMarks snarfed KartikPrabhu : Thanks for your help ... I'm going to bed. See you !
benwerd, ben_thatmustbeme, fzylogic_ and tolerablyjake joined the channel
#
KevinMarks
wow, look at all these TLDs with oly 1 domain registered https://ntldstats.com/tld
wolftune, nitot, bnvk and sl007 joined the channel
#
miklb
why would Yahoo have .flickr and not push that to users to have username.flickr ?
wolftune joined the channel
#
@rbrt1000
haha this explains perfectly why anything but an open web is silly https://xkcd.com/1810/ #indieweb
(twitter.com/_/status/841489450458857473)
snarfed and jgee joined the channel
#
arush
I'm starting to think we may be able to blame Twitter and Facebook themselves for our webmentions not showing up. Just tested a couple with webmention.tech manually and they still don't show up, although they report as being received successfully.
#
GWG
There is a way to manually send a Webmention.
#
arush
gwg: I'm about to try it through the webmention form on my site and see what that does.
#
GWG
I love that that form is now built in
#
arush
gwg: Yes. I love that too. But just tested manually and no dice.
snarfed joined the channel
#
snarfed
GWG arush it's definitely wordpress. twitter and facebook are nowhere near where the wms go missing.
gucci_meow joined the channel
#
GWG
snarfed, I am still stumped
#
GWG
I have the same code on multiple sites.
#
snarfed
arush: i actually suspect your wm receiver isn't working at all. it's responding to the webmention POSTs by returning the post's HTML itself, which is a strong sign that your wordpress and/or the plugin itself are badly misconfigured
#
snarfed
(look at the "Sent! ..." line)
#
KartikPrabhu
looks like GET rather than POST
#
snarfed
KartikPrabhu: exactly, for the wm's target= param. that's how arush's server is interpreting it
#
arush
snarfed: I see what you're saying. That does look like get.
#
GWG
Yes, but I'm completely stumped as to how that happens.
#
GWG
The only difference I've noticed is that arush.io doesn't use the pretty permalinks.
#
arush
gwg: No, it doesn't, and I've been meaning to go change that setting, but not sure why that would make a difference. This at least narrows things down a bit more though.
#
GWG
arush: I'm not sure it would.
#
GWG
I'm just saying that is the only thing I noticed so far.
#
snarfed
i wonder if the target param isn't getting url-encoded
#
GWG
snarfed: pfefferle committed a change to URL encode at your suggestion, I think. But it isn't in stable.
#
snarfed
GWG: i meant in bridgy's wm request
#
snarfed
(that issue i filed is the reverse, wp *sending* wms)
#
arush
Thinking about grabbing the plugin from GitHub directly to see if that fixes the issue. I can copy the site to staging to test.
#
GWG
Well, it only has a few minor fixes
#
arush
Also not opposed to exporting the content, nuking it from orbit, and rebuilding if necessary. It's just standard content and isn't reliant on any custom post types or custom fields.
#
GWG
arush: Also, I don't think Post Kinds could be the issue
#
arush
Nope. Already eliminated that one.
#
snarfed
looks like bridgy is url-encoding target properly
#
snarfed
arush: i highly doubt your content is causing it. i'm pretty convinced it's a plugin bug or misconfiguration
#
GWG
But the question is what?
#
snarfed
yup. GWG you have a clear repro case! try the same permalink format on your testbed, add a bunch of logging and have arush install that to see what it outputs, etc. lots of ways forward.
#
GWG
That was what I was going to do. How do you clear the webmention cache? I have that test Twitter account.
tbbrown and benwerd joined the channel
#
arush
snarfed: I don't think the content's the issue. It is, however, a long-existing WP install that's been through several migrations, and if it were reliant on a bunch of CPTs/custom fields it would make it more difficult to rebuild. Assuming the plugin isn't the problem it could probably use a rebuild anyway.
snarfed, gucci_meow, tantek, sl007, fzylogic_, barpthewire, deathrow1, gRegorLove, Pierre-O, cweiske, benwerd, jihaisse, friedcell, adactio and jeremycherfas joined the channel
#
jeremycherfas
Good morning
sl007, [kevinmarks], fzylogic_ and bttf joined the channel
#
jeremycherfas
Kevinmarks: are you in UK now?
Pierre-O, barpthewire, miklb, fzylogic_, friedcell, nitot and tantek joined the channel
#
tantek
good morning #indieweb! happy Gregorian pi day!
#
sebsel
good morning tantek :)
#
sebsel
(nice url design)
#
cweiske
is that a show-ads-scam site?
#
sebsel
oh, I blocked the ad, so I didn't see it. It used to have the first million digits of pi (says the text) but now he moved it to /index2.html and then to /index3.html and then to somewhere else.
#
cweiske
I got until 11
#
sebsel
it's not that much on topic, other than the url-design
mlncn joined the channel
#
hs0ucy
good morning indieworldwideweb
singpolyma, nitot, tantek, adactio and fzylogic_ joined the channel
#
arush
Good morning indieweb.
KevinMarks, friedcell, fzylogic_, snarfed and tantek joined the channel
#
GWG
Morning
benwerd, nitot, KevinMarks and leg joined the channel
#
sl007
Hello everybody - aaronpk Q: Wanted to implement the IndieAuth session logic to let login persist - but how can we invalidate that - let users log out from indieauth.com only means no possibility to self host and when we deliver a log out link to client_id there is no guarantee they use it …
tolerablyjake and iboxifoo_ joined the channel
#
arush
gwg: issue filed. Feel free to comment if you think there's anything I've missed from the IRC convo. https://github.com/pfefferle/wordpress-webmention/issues/129
#
GWG
We'll see if pfefferle has any ideas
nitot and benwerd joined the channel
#
sl007
aaronpk - currently it has a session which expires when the browser is closed - but how could we do secure persistent login …
#
aaronpk
there are two separate issues here
#
aaronpk
1) treating an indieauth.com login as a session is probably not the best approach, since it was not designed to do that
#
aaronpk
2) remembering the user on future visits to indieauth.com and letting them click "approve" on login requests without re-verifying with a provider is useful
#
aaronpk
for 2, you can have a "log out" link on the authorization screen, since the user will see the authorization screen on every request still.
barryf, KevinMarks and wolftune joined the channel
snarfed joined the channel
#
sl007
aaronpk - well yes, the session is just there to identify a user not to store the final login - however 2) I think I see - thankyou
KevinMarks, mlncn and fzylogic_ joined the channel
#
GWG
arush: Your issue is challenging. But we'll figure it out
tolerablyjake, fzylogic_, nitot, snarfed, LanaCoyote and KevinMarks joined the channel
#
tantek
this looks like an example of a comment on a fragmention: https://twitter.com/lionzan/status/839509775327047680
#
@lionzan
Hey @dhh I love this post! It reminds me of @t and @indiewebcamp What if the next Big Idea looked more like email... http://j.mp/2n4BU7Y https://pbs.twimg.com/media/C6aJsLTWUAIoZiq.jpg
(twitter.com/_/status/839509775327047680)
#
tantek
(note the /highlight in the image of text)
#
tantek
perhaps an example of how to POSSE marginalia to Twitter?
#
tantek
!tell KartikPrabhu what do you think of https://twitter.com/lionzan/status/839509775327047680 as a possible example of how to POSSE a marginalia post to Twitter?
#
Loqi
Ok, I'll tell them that when I see them next
#
@lionzan
Hey @dhh I love this post! It reminds me of @t and @indiewebcamp What if the next Big Idea looked more like email... http://j.mp/2n4BU7Y https://pbs.twimg.com/media/C6aJsLTWUAIoZiq.jpg
(twitter.com/_/status/839509775327047680)
tantek and snarfed joined the channel
#
GWG
I'm trying to decide on what to figure out next.
#
tantek
GWG what's the next thing on your itches list?
#
GWG
tantek: I'm in the Webmentions and Semantic Linkbacks code. Untangling, fixing, and transferring code from one to the other
#
GWG
I fixed fragments, which were being stripped.
#
tantek
wonderful. you're doing super important work there.
#
GWG
I also have some warnings/notices to track down.
#
GWG
But, I am trying to figure out what to move over next.
#
GWG
Also, I have some other features that are related to consider as next move
#
GWG
Such as comment permalinks.
#
GWG
Improvement of mf2 parsing
#
tantek
what is a comment permalink
#
Loqi
It looks like we don't have a page for "comment permalink" yet. Would you like to create it?
#
GWG
Right now, there is a pagination issue with WordPress comments that makes replying to a comment specifically difficult
#
tantek
it may be worth documenting the notion of a "comment permalink" more precisely
#
GWG
pfefferle worked on this briefly in a small plugin called Webmentions for Comments - https://github.com/pfefferle/wordpress-webmention-for-comments
#
tantek
as that's something we likely want interop on across implementations
#
tantek
it likely impacts /Salmentions
#
aaronpk
interesting. I don't create permalinks for comments I receive
#
tantek
aaronpk: not even with a fragment?
#
aaronpk
that's different
#
aaronpk
wordpress already has fragment links for comments according to that
#
tantek
I would still consider that a permalink
#
tantek
right it does, however I think the issues that GWG is talking about are something else
#
tantek
that's one difference for example between a comment permalink and a reply permalink
#
aaronpk
and the first response against the proposed idea is pushing back because comment URLs would create a lot of permalinks on the website
#
tantek
a reply permalink is the permalink of the reply posted on the author of the reply's own site
#
tantek
whereas a comment permalink is a permalink to where that reply is displayed as a comment on the original post that it is replying to
#
aaronpk
hm i actually don't have fragment links for comments either
#
aaronpk
is that important? what is the use case?
#
tantek
the use case is salmentions
#
tantek
I think
#
tantek
(thinking out loud)
#
GWG
aaronpk: It does, but due to pagination, if the pagination changes, it breaks the link.
#
GWG
If you look at the ticket I referenced
#
tantek
what's being paginated GWG?
#
GWG
comments
#
tantek
aaronpk - the use case question is reasonable, however we can at least document the phenomenon since it is a (common?) existing publishing pattern
#
miklb
doesn't understand pagination of comments
#
GWG
This is more detailed.
#
aaronpk
tantek: i don't think it's required for salmention, because my comments display links to the original comment URL for each one
#
aaronpk
also the wordpress situation is slightly different because those comments exist *only* as a comment on the site, not at their own URLs
#
tantek
A comment permalink is a permalink to where a [[reply]] is displayed as a [[comment]] on (in the context of) the original post that the reply is replying to, and supported by typical publishing systems such as [[WordPress]] and services like [[Blogger]].
#
tantek
aaronpk, depends. I believe if they were generated from a webmention, they're effectively syndicated copies of reply posts
#
aaronpk
yes, just that use case is not super common for the people commenting on that trac thread
#
aaronpk
they are coming at it from the "traditional" comment perspective
#
GWG
aaronpk: But an implementation inside Webmentions the plugin would not
#
tantek
I believe Known also has "local" comments
#
GWG
but, I have two choices. I can go and produce a patch. I can add it to Webmentions. Or I can use one to test it for future patching.
#
tantek
keep adding to Webmentions
#
GWG
So, one of my proposals is to close Webmentions for Comments and merge it into the main plugin.
#
aaronpk
what does that plugin do? i havent heard of it
#
miklb
GWG if you have a link to that proposal, I'll enthusiastically +1
KevinMarks joined the channel
#
GWG
aaronpk: It basically creates comment permalinks so that webmentions can be sent to a specific comment.
#
GWG
Previously, pfefferle's Webmention Form plugin, which added a webmention form to the comment form, was merged into the main plugin
#
aaronpk
fewerplugins++
#
Loqi
fewerplugins has 1 karma
#
tantek
that sounds like a use-case
#
GWG
Some of these plugins were used to explore an idea until it hit maturity.
#
GWG
But Semantic Linkbacks is harder to untangle.
#
GWG
The first idea I'm exploring is that reply = comment.
#
tantek
GWG, sorta. a reply when syndicated to the post it is in reply to and shown there is a comment
benwerd joined the channel
#
GWG
tantek: In this case, reply = WordPress comment type 'comment'.
#
tantek
GWG, depends upon the context of that "reply"
#
tantek
if by "reply" you mean a reply coming from *some other site* via webmention to your WordPress site, then yes
#
tantek
if however by "reply" you mean, posting a "reply" *on* your WordPress site in reply to some other site, then no reply!=comment.
#
GWG
WordPress has a post type called post, and a comment type called comment. This gets nomenclature a bit confusing.
#
GWG
So, comment types in WordPress built-in include 'comment', 'pingback', and 'trackback'
barryf joined the channel
#
GWG
In order to display comments determined by Semantic Linkbacks to have the property in-reply-to...Semantic Linkbacks changes the type from webmention(a custom type), to comment, a built-in type
#
tantek
interesting
#
tantek
it sounds like new comment types were added not because they were semantically different, but people needed a hook in storage for doing things differently
#
GWG
On some level, yes
#
GWG
But this was over a decade ago, hard to track what the discussion was at the time.
fzylogic_ joined the channel
#
GWG
But, fast forward to this decade, when, to match pingback and trackback, pfefferle declared webmention as a comment type.
cweiske joined the channel
#
tantek
sure, seems logical given that pattern, but if the history itself was hacks of convenience, then it doesn't make sense
#
GWG
But declared like, favorite, bookmark, etc. as metadata attached to a webmention comment type.
#
tantek
I think your intuition of trying to treat received webmentions more like native "comments" (e.g. in how they're displayed etc.) makes sense
#
GWG
Except for the exception of, if a reply, changing the comment type to comment.
#
tantek
GWG, it may make sense to declare all of those as "comment", since even the others are responses that should have fallback summary text that could work in comment form
#
GWG
So, the only one that is established is reply maps to native 'comment'. So, I want to implement that in Webmentions.
#
GWG
tantek: There is another solution.
#
GWG
But that relies on WordPress Core changes again
#
tantek
GWG, how does WordPress(.com?) implement their "likes"?
#
GWG
They require an external service to work.
#
tantek
ugh that's horrible
#
GWG
I'd like to implement local likes as a variant of comments.
#
tantek
and quite surprising
#
tantek
yes that makes sense
#
GWG
It's a .com, not a .org feature.
#
tantek
they get like-pressured :P
#
GWG
I think about this stuff a lot, I just don't have enough time or influence to proceed sometimes.
barpthewire joined the channel
#
GWG
But likely I'll be trying to see how I can move some of the infrastructure over to the Webmentions plugin before I bring over the parsing. Because the issue is if the current infrastructure scales.
#
GWG
Remember, this is a system where the source URL for a pingback, trackback, and therefore webmention is stored in a field called comment_author_url.
#
tantek
heh. classic here's a URL field, let's just re-use it for some other URL
#
GWG
tantek: I've done my research. Just trying to figure out how to address all this stuff and on what level
barryf and amz3 joined the channel
#
amz3
please forgive me because I am guilty
#
amz3
it's been four years I said i would write a indieweb app
#
amz3
and I failed!
benwerd joined the channel
#
amz3
I am guilty of failing!
#
amz3
I failed because I had to learn a new programming language called Scheme
#
amz3
-had
#
Loqi
[indieweb] "Comment on A brief analogy of food culture and the internet by Gorging on the social internet | Jeremy Cherfas" by Gorging on the social internet | Jeremy Cherfas on 2017-03-14 http://boffosocko.com/2017/03/13/a-brief-analogy-of-food-culture-and-the-internet/#comment-34105
#
tantek
amz3 - it's ok! what's your personal site today?
#
amz3
it's a wiki basically
benwerd joined the channel
#
amz3
you can know what happens on the website via http://culturia.one/discuss/timeline
#
tantek
amz3 neat! have you considered adding one or more rel=me links so you can use it as your login identity? https://indieweb.org/How_to_set_up_web_sign-in_on_your_own_domain
#
amz3
ah yes good idea
#
amz3
hmm
fzylogic_ joined the channel
#
GWG
Re the comment_author_url thing: https://core.trac.wordpress.org/ticket/17771
friedcell and KevinMarks joined the channel
#
amz3
I am not sure how to compare indieweb with federation work done by the w3c
#
GWG
amz3: W3C is a standards organization. The Indieweb is a user group/community
#
GWG
We use/build what we talk about.
#
amz3
I read design first, format protocol later :)
#
GWG
Of course, some things developed in the community have turned into W3C recommendations.
#
aaronpk
amz3: several of us are in that W3C group :-)
#
GWG
aaronpk: As someone in both, is my summary accurate in your opinion?
[chrisaldrich] and sl007 joined the channel
#
amz3
you know I've been dealing with database NIH syndrom, for some reasons I've been build a EAV database on top of a logic "language"
#
amz3
it's not incremental at all! And outside the 'developer to developer' market, it's really difficullt for me to understand what other people would like to use
#
amz3
I think my own use case, alone, is useless
#
GWG
amz3: Is it useful to you?
gRegorLove joined the channel
#
amz3
not yet
#
amz3
I really like the passage about UX in https://indieweb.org/Design
#
amz3
because that's it's driving my research in database area
#
GWG
If it isn't useful to at least you...
#
arush
Yay! Webmention problem solved. Now I just need to find out if there's a way to submit them in a batch so I can resubmit all the ones that were missed.
#
GWG
arush: The version with the URL encode/decode fixed it?
#
arush
gwg: No, but that will probably fix it for some. What fixed it is excluding the webmention endpoint from casche.
#
arush
Not sure why that's the case, but there it is.
#
arush
I haven't updated to the latest version of the plugin but I have a WordPress install on the same host that I will test it on since on that setup the endpoint isn't excluded from casche.
#
GWG
arush: I think it should be excluded.
#
arush
gwg: Yeah probably. No reason to casche that.
#
gRegorLove
^ That sounds worth documenting on the wiki for the plugin, and in the readme
#
GWG
I'll make a note to submit as part of my PR
#
gRegorLove
Glad it's working now, arush!
#
arush
gRegorLove: Me too. I like being able to post status updates on my own site and then have interactions come back in from social media and other places.
#
GWG
arush: That's a good testimonial.
#
arush
Does anyone know if it's possible to do a one-time batch resend of wms Bridgy has collected? Google has nothing.
strugee, dgold and nitot joined the channel
#
@megarush1024
The saga ends! Webmentions now working as expected thanks to excluding the endpoint from casche. #indieweb
(twitter.com/_/status/841752461157244928)
#
bear
arush - you could ask the bridgy folks in #bridgy
#
arush
bear: thanks.
KevinMarks, Pierre-O, benwerd, [dgold], snarfed and sl007 joined the channel
#
snarfed
arush: re bridgy batch resend, not right now. feel free to weigh in on https://github.com/snarfed/bridgy/issues/579 !
KevinMarks, nitot and KartikPrabhu joined the channel
benwerd, KevinMarks, wolftune, tantek, snarfed1 and snarfed joined the channel
#
tantek
what is language recognition?
#
Loqi
It looks like we don't have a page for "language recognition" yet. Would you like to create it?
#
tantek
what is translation?
benwerd joined the channel
#
tantek
wow that page is 4+ years old!
benwerd and snarfed joined the channel
#
tantek
adds some modern conventions
wolftune and KevinMarks joined the channel
#
snarfed
martymcguire[m]: re common python micropub client code, you may be interested in https://github.com/kylewm/flask-micropub
singpolyma, snarfed, KevinMarks_, gRegorLove, benwerd and KevinMarks joined the channel