#dev 2017-02-27

2017-02-27 UTC
miklb_ joined the channel
#
miklb_
GWG can you give me an overview of the changes? My quote kind template is throwing an error for using `get_author()`
#
GWG
miklb_: The template uses output buffering now. so you have to call your own variables, not the ones I pre-called in the old version.
#
GWG
Trying to make it more theme like.
#
GWG
I intend to, in future, ship templates for more post kinds, rather than keeping the generic
#
miklb_
did you not update your template then?
#
miklb_
oh, wait, had to clear my debug log to see where the error is now
#
GWG
miklb, I did
#
miklb_
yeah, I missed a line
#
miklb_
thanks
#
GWG
No, thank you
[kevinmarks] joined the channel
#
miklb_
hmm. I'm not getting embedded tweets. Let me double check your template again vs mine.
#
GWG
Did you enable the rich embed setting?
#
GWG
I just fixed it a bit.
#
GWG
WordPress 4.7 added Facebook embeds, so I removed that code, for example.
#
miklb_
I didn't, but I see now that I don't need to concatenate $content
#
GWG
miklb_: Yes, just echo.
#
miklb_
GWG++
#
Loqi
gwg has 4 karma in this channel (208 overall)
#
GWG
miklb_: Much more like a convention template.
#
miklb_
yep, which will make it easier/cleaner to do custom markup. Excellent addition
#
GWG
I had thought of doing it this way the first time, but didn't.
#
miklb_
I also liike now that I can see how to change site_name to say something else based on source, i.e. "A tweet" for Twitter
#
GWG
miklb_: That function was always there
#
GWG
It isn't new
#
GWG
Feel free to suggest additions to it. It defaults to 'a post'
#
miklb_
then just seemed obvious when reading the code this time
#
GWG
miklb_: I did a lot of cleanup. I
#
GWG
It may have just been more obvious because a lot of things got removed.
#
miklb_
possibly, or I just overlooked it first go around. I was a bit rushed getting the template written knowing changes were coming
#
miklb_
not rushed by you, I was rushing to move on
#
GWG
miklb_: Well, as you see, none of them are drastic. I do want to improve the 'helper' functions.
#
miklb_
definitely seems like great progress
#
GWG
miklb_: That is why I wanted some testing this time before I moved on. So I asked you and chrisaldrich to try it and see if there was any feedback.
#
GWG
miklb_: Also, if you are interested in the parser, open up your development console and retrieve a URL. It will show you the information coming from the backend.
#
GWG
I was using that to test cases.
miklb__ and miklb joined the channel
#
miklb
I just **love** my new internet provider
#
GWG
I assume that is no love?
#
miklb
I had Bright House for years without an issue. Charter/Spectrum bought them and now it drops 5-6 times a day.
#
GWG
I sympathize.
#
GWG
miklb: Is the Post Properties section in the new version more or less confusing?
#
miklb
didn't get that far yet, was getting front end working 1st.
#
miklb
nice!
#
GWG
Better then?
#
miklb
very much so
#
GWG
Good
#
GWG
Any other issues?
#
miklb
I haven't seen anything yet, but am poking around a few different areas.
#
GWG
Appreciate it
#
miklb
I should be done with the new version of my theme and will test on my live site this week.
#
GWG
Great
#
Loqi
it is probable
#
miklb
thanks for the vote of confidence Loqi
#
Loqi
you're welcome, miklb
cweiske, loicm, KartikPrabhu, jonnybarnes and arush joined the channel
#
petermolnar
re GWG: embed: I did look at it, in order to figure out how to disable it
#
petermolnar
wp ships with oembed for the blog itself, providing a json with some js in the response, and when I think about embedding remote json in my site via iframe I get jumpy
#
cweiske
how is that different from showing indieweb remote comments?
#
petermolnar
I don't do that either, but I do store them: pull content, parse with pandoc to markdown, store in markdown, display with pandoc to html5
#
petermolnar
if anything manages to slip through that, I'll give them a cookie
#
cweiske
you could do the same for embeds
#
petermolnar
javascript-wise
#
Zegnat
A cookie, petermolnar? That’s a better bug bounty program than Cloudflare’s!
#
Zegnat
(Too soon?)
#
GWG
petermolnar, I wanted to consider using a similar design for my reply context.
#
petermolnar
cweiske no, with embeds, you can't, that's the point: embeds are copyright-safe things because you don't copy anything, just show the actual, remote thing
#
petermolnar
what I do can hit copyright walls, but since I'm not showing it, only storing it for potential future use, meh.
#
petermolnar
I guess if I only show quotes as [...] blabla [...] + url, as WordPress did for pingbacks, it shouldn't hit any copyright issues
matigo, hacker, KartikPrabhu, miklb__, [eddie] and [chrisaldrich] joined the channel
#
loqi.me
created /splatter (+137) "prompted by ben_thatmustbeme and dfn added by ben_thatmustbeme"
(view diff)
KartikPrabhu and [kevinmarks] joined the channel
#
ascraeus.org
edited /deviantART (+4) "Wix purchase, and possible consequences"
(view diff)
[jeremycherfas] and [eddie] joined the channel
#
www.boffosocko.com
edited /annotation (+121) "/* See Also */ Annotation is now a web standard post on Hypothes.is blog"
(view diff)
KevinMarks and KartikPrabhu joined the channel
#
GWG
Afternoon
gRegorLove and [jeremycherfas] joined the channel
KartikPrabhu and [chrisaldrich] joined the channel
#
www.boffosocko.com
edited /read_later (+101) "Mozilla buys Pocket"
(view diff)
tantek joined the channel
#
aaronparecki.com
edited /Main_Page (+307) "add pdx to home page"
(view diff)
#
tantek.com
edited /MediaWiki:Sidebar (-86) "this week is just Portland"
(view diff)
#
tantek.com
edited /Events (+18) "/* How To Add An Event */ Sidebar *text*"
(view diff)