#wordpress 2019-01-25

2019-01-25 UTC
#
GWG
[asuh]: For now, let me get inline with file_get_contents working and I'll test the fallback after
[kim_landwehr] and [tantek] joined the channel
#
GWG
This is the first version using inline SVG. Wonder if a difference can be noticed. https://tiny.n9n.us/blog/
[asuh] joined the channel
#
[asuh]
GWG: is this for Syndication links?
#
GWG
[asuh]: Yes, but I was testing it in Post Kinds. Uses similar code
#
GWG
Trying the same code in Syndication Links now.
#
[asuh]
kinds.svg, which I assume is what you’re testing, is ~22KB. I’d say that’s a good user case for the sprite. Syndication Links is >600KB, so this is where the major difference will be noticed
#
GWG
[asuh]: If you look at my test site, it is now using inline svg instead of a sprite. And if it fails, it shows no icon at all.
#
[asuh]
is there an example of where it’s failing?
#
GWG
[asuh]: No. But the last time I tried file_get_contents, someone's hosting provider forbid it
#
[asuh]
GWG: I’m happy to test on multiple hosting accounts to see if I run into the same issue. That might be common but it also might be an issue on the host. We can figure out a good PHP or JS fallback just in case
#
GWG
For now, I'm testing the Syndication Links adjustment now.
#
[asuh]
neat, i guess that slack emoticon went through from Slack to IRC ok? Or at least, the indieweb chat log shows the emoticon
#
GWG
It looks like it
[xavierroy] joined the channel
#
[xavierroy]
hi [dshanske]
#
[xavierroy]
!tell [dshanske] Is there a way to pull out the micropub sender like Quill / Omnibear and display it in the post metadata? something that could say "Posted via Quill" ?
#
Loqi
Ok, I'll tell them that when I see them next
#
GWG
[xavierroy]: Yes
#
[xavierroy]
great... is there a function that i can call to display it?
#
[xavierroy]
and also is there a way to say add metadata to a micropub post as it comes in?
#
[xavierroy]
My use case is I'm using Teacup to post a food log, but they end up being marked as a Note type post and I'm manually changing them to Eat post kind.
#
[xavierroy]
And I also want to assign them to a private category as they come in
#
GWG
[xavierroy]: Well, there is a function in the IndieAuth plugin.
#
GWG
In the Micropub plugin, it stores it in the post meta
#
GWG
And yes, there is, there is a hook.
#
GWG
[xavierroy]: Isn't the Teacup issue a bug in Post Kinds? It should do that.
#
[xavierroy]
Is it a bug? 🙂
#
[xavierroy]
i am about to post an eat post now. it will be tagged as a note post
#
GWG
[xavierroy]: If it is supposed to figure out it is an eat post and doesn't, isn't it a bug?
#
[xavierroy]
True. let me file an issue then
#
[xavierroy]
Filed one
#
[xavierroy]
And I might have one more issue: When I set the tags in the Response Properties box, they are never saved when the post is saved. and ditto for the Published/Released field
#
GWG
They currently aren't in use, but they should work.
#
[xavierroy]
They used to work for me but now they aren't.
#
[xavierroy]
I just checked. They are not saved. Any date in the Published field shows up as an empty field post save.
#
GWG
I will see what I can do
#
[xavierroy]
looks like drinks show up correctly. I just checked witha dummy post from teacup
#
[xavierroy]
eat still shows up as note
[xavierroy], firehawk1, [jgmac1106], [kevinmarks], bradenslen and lklk joined the channel; firehawk1 left the channel
#
lklk
g gc
#
lklk
chxx
#
lklk
chxx
#
lklk
fdftutudut
[davidmead] joined the channel
#
[jgmac1106]
Ugg spam starting again?
#
sknebel
probably not
[tantek] and sunil1 joined the channel
#
aaronpk
That was someone using the web interface on chat.indieweb.org
jgmac1106 and [jgmac1106] joined the channel
[Vincent] joined the channel
#
GWG
Hello WordPress room
[tantek], [Rose], [jgmac1106], [schmarty], gRegorLove_ and [pfefferle] joined the channel
#
[pfefferle]
hey folks
#
[pfefferle]
I added indieweb.xyz support to the indienews plugin if someone is interested
#
GWG
pfefferle, I noticed
#
GWG
I am working on inline svg replacement for svg sprites
#
aaronpk
Hm I don't like this trend
#
GWG
Which trend?
#
aaronpk
what would it take for indienews and indieweb.xyz to provide something that people could easily plug in to the plugin?
#
aaronpk
instead of hardcoding them
#
[tantek]
sounds like a discovery problem
#
aaronpk
Not necessarily
#
GWG
You mean, a configuration screen? I was thinking doing that someday
#
aaronpk
Well that and a configuration problem
#
GWG
But how do you know what is supported?
#
GWG
Example, Bridgy has parameters
#
aaronpk
two things, how does someone find out about indienews or indieweb.xyz, and second how do you add it to your wordpress
#
GWG
aaronpk, I took my support out till there is a spam tool, after the Christmas spam
#
GWG
As requested
#
aaronpk
Ah yeah
#
aaronpk
But that's another example of why it might be better to have people take a manual step to add a syndication destination
#
aaronpk
and not have everything built in
#
GWG
I may move to that
#
sknebel
I guess indieweb.xyz is a question for [kickscondor], I think it was intended to be non-specific (despite the name...)?
#
GWG
You had a screenshot of your interface, what was the url Aaronpk?
#
Loqi
[Aaron Parecki] Just installed my own copy of https://silo.pub and launched at https://silopub.p3k.io! Thought I'd share a screencast of how I configure my syndication endpoints in p3k. https://aaronparecki.com/2016/11/29/7/photo.jpg [video]
#
aaronpk
And yeah I don't think indieweb.xyz was supposed to be limited to indieweb topics which is frankly really confusing
#
GWG
I may build that
[eddie] joined the channel