#dev 2017-03-04

2017-03-04 UTC
KartikPrabhu and tantek joined the channel
miklb joined the channel
#
GWG
Hello, miklb
#
miklb
Evening
#
GWG
Anything new?
#
miklb
nothing significant
#
GWG
I got you radio buttons and checkboxes, by the way. I believe you were the one who asked for them
#
miklb
I got sidetracked on typography for the refresh and haven't looked at any code yet. Checkboxes should make it easier for people to chose multiple kinds.
#
GWG
I did that last night. The only downside is the settings storage has been moved so everyone will have to reset. No more iwt_options, which was a legacy holdover anyway
#
miklb
that won't affect previous posts will it?
#
GWG
No. That is just the interface for showing which kinds to enable. It isn't checked for display
#
miklb
just double checking
#
GWG
miklb: Do you have time to look at something in the existing version you have installed?
#
miklb
sure, actually just firing up local dev environment
#
GWG
Ever looked at the help section in the Post Editor?
#
miklb
can't remember last time I did
#
miklb
looking now
#
GWG
So, no one ever noticed that feature..hmmm...
#
miklb
what am I looking for?
#
GWG
An instruction set for Post Properties
#
miklb
I don't see anything. Should I be looking in the branch I have checked out, or my live site with the stable version?
#
GWG
Either should have it. It has been there for several versions.
#
miklb
Not seeing anything
#
GWG
Hmm...
#
miklb
that's the branch, and am seeing same thing on live site
#
GWG
Mine has a tab called Post Properties. Hmm...no wonder no one noticed
#
GWG
I also need to fix the issues with author icons.
#
miklb
what issue?
#
GWG
They aren't scaled. They have the height set in HTML, similar to avatars.
#
GWG
Also, the question of sideloading has come up.
#
miklb
isn't it just an image url?
#
GWG
Yes, but I'd like to store the scaled icon if possible.
#
miklb
gotcha
#
GWG
The more ambitious idea is to have a nicknames cache
#
GWG
But that sounds like it would be better as a plugin that could be used by multiple plugins.
#
miklb
agreed
#
GWG
So, what is a solution that could be used, but could be overridden by a cache if one is installed?
#
miklb
could you store them in media?
#
GWG
Yes, but would people be annoyed if the author icons became part of their media library?
#
miklb
I think if you start trying to store your own images otherwise, you're asking for a headache
#
miklb
can you add a new media item? So they are stored away from the images gallery?
#
miklb
not finding an option for that. Seems you can add categories and taxonomy though
#
GWG
Well, folders in the media gallery is a long awaited feature request in Core
[chrisaldrich] joined the channel
#
[chrisaldrich]
Hello W'Pressers
#
[chrisaldrich]
aaronpk mentioned the benefit of storing one's own author pictures earlier today (for speed)
#
GWG
[chrisaldrich]: You are welcome to weigh in on author and featured images.
#
GWG
Yes, and I'd like to build that as a separate plugin. So, if installed, it would take it from Post Kinds and Semantic Linkbacks
#
GWG
But for now, I need the built-in implementation improved.
#
aaronpk
as a separate plugin? interesting
#
[chrisaldrich]
It would be nice if more services placed author photos at canonical URLs so that if/when they change, the photos propagate across the web.
#
miklb
GWG I would say if it's an itch you want to scratch to store the author images, start with the media gallery, maybe with a simple way to disable?
#
GWG
My plan for that was a button next to the URL that said, 'sideload image'
#
GWG
Which means JS
#
[chrisaldrich]
Since I own my own site, it's much easier to change/update my photo but still leave the permalink for it the same.
#
[chrisaldrich]
I have gone in and manually changed some photo urls on comments/webmentions in the past when they've broken, but it's a losing battle.
#
GWG
For me, I use an older plugin that doesn't keep the URL the same
#
GWG
The scope for the nicknames cache/user image cache is to put it in the WordPress users table, so it would support local avatars as well
#
GWG
I got the idea from Postmatic
#
[chrisaldrich]
It would be nice if more used something like gravatar so that photos always populated in a simple way.
#
GWG
[chrisaldrich]: REST API would allow that
#
[chrisaldrich]
GWG: your idea above with WP users table sounds interesting, that's where I would think to put it logically.
#
GWG
Imagine implementing the the Gravatar API locally
#
[chrisaldrich]
I'm surprised that given their ubiquity that sites like Facebook and Twitter don't make canonical profile photo URLs so things like that propagate across the web easily.
#
GWG
Rewriting the URL, you mean?
#
GWG
Hmm...looking. Could possibly use the REST API with some backend changes.
#
GWG
Interesting
#
[chrisaldrich]
The users database could be an interesting place to store one's personal "address book"; Perhaps worth looking at what Beau is doing with Keyring: https://github.com/beaulebens/people-places since he's building in things like people and places
#
[chrisaldrich]
either rewriting/redirecting the URL, or just replacing the contents of what's at the end of that URL
#
[chrisaldrich]
back in a few...
#
aaronpk
i'm intrigued by the idea of a separate plugin to store author images
#
aaronpk
that seems like a reasonable approach. provide basic functionality in the main plugin and "advanced" functionality in another plugin
#
aaronpk
that additional functionality is more of an internal optimization thing, since it won't have a huge visible effect, which seems like a good split for plugins
#
GWG
I am about to file a ticket request about something related
#
aaronpk
making it so you don't also have to install another plugin in addition to the webmention plugin to make the comments look nicer?
#
GWG
aaronpk: Well, you will have to do that regardless. An image cache is outside of webmention scope, but it can be progressively enhanced. I am going to propose to pfefferle that the image support move from Semantic Linkbacks over to Webmentions.
#
GWG
I want to try to move over as much as he feels comfortable with.
#
aaronpk
great!
#
GWG
Lots going on.
#
GWG
But I'm filing a core trac ticket about the fact the avatar functionality for the REST API assumes the only parameter is email address.
#
aaronpk
oof, sounds like an artifact of avatars being based on gravatar
#
GWG
aaronpk: It is. That is a bigger issue. But I'd like them to make these adjustments before they start claiming backward compatibility.
#
miklb
well, considering Automattic owns Gravatar and is integrated with wp.com and jetpack…
#
GWG
Self Hosted WordPress depending on a service is a mistake they can't easily correct, but they could back away from it
#
GWG
But local avatar support is something everyone says they want, but no one championed
#
miklb
I've built it into a few sites, I'm sure buddypress has support for it by now.
[kevinmarks] joined the channel
#
GWG
Short sighted design.
#
[chrisaldrich]
Reminds me that I need to get back to reading through more of WP core to keep up with GWG....
#
GWG
It is like an onion
#
GWG
You keep peeling away layers.
#
miklb
and occasionally a layer is rotten
#
miklb
maybe better for chat ¯\_(ツ)_/¯
#
miklb
WP on a raspberry PI with support for camera and SENSE HAT
#
miklb
pictures mini weather station posting to his blog
#
GWG
miklb: I have a weather station on a Raspberry Pi now
#
GWG
The software I use supports posting to an external site.
#
miklb
at some point I'm sure I'll have questions about that.
#
GWG
miklb: I never implemented actually posting to an external site, except standard ones, but I'd like to someday
[jeremycherfas] joined the channel
#
aaronpk
I want a weather station but I keep living in apartments
#
GWG
aaronpk: I have it outside and I live in an apartment
#
aaronpk
I don't have an outside
[chrisaldrich] joined the channel
#
GWG
Well, I heard of someone who got the owner to let them put it on the roof
#
miklb
snickers
#
miklb
good night all. Hope to be able to get back at it tomorrow evening.
#
Loqi
sleep tight!
mblaney and tantek joined the channel
#
@dentaku
Juhu, Bridgy hat für eins der Blogs heute Nacht 150 Webmentions einfach nochmal geschickt.
(twitter.com/_/status/837934714921041920)
tantek and barpthewire joined the channel
#
jonnybarnes
the spec says medie endpoints should accept the same tokens
#
jonnybarnes
that is to say a client only needs one token to make posts and upload media?
#
sknebel
jonnybarnes: yes
#
jonnybarnes
thanks for clarifying
Loqi_, [jeremycherfas], [eddie] and tantek joined the channel
#
@lambdadmitry
И похожий проект, mentions где угодно: https://www.w3.org/TR/webmention/ спека https://webmention.io/ реализация https://brid.gy/ сервис
(twitter.com/_/status/838063403079987200)
[eddie] and [dgold] joined the channel
#
loqi.me
created /fragmentations (+24) "prompted by [dgold] and dfn added by aaronpk"
(view diff)
#
aaronpk
of course this is taking longer than I expected
singpoly1a joined the channel
KevinMarks, KartikPrabhu, [kevinmarks] and KevinMarks_ joined the channel