#dev 2017-02-21

2017-02-21 UTC
miklb and jackjamieson joined the channel
#
miklb
GWG I'm just trying to figure out how might get around everything having to be a filter of the_content in the templates. I agree some people might not want to customize their theme, but if the option is there, it opens up more use cases
#
miklb
or does my kind-tax.php not get run through the_content?
#
GWG
The option is there. The generated code is called from a function. That function is added to the_content.
#
GWG
So, all you have to do is call it directly.
#
miklb
not following yet
#
miklb
in get_display?
#
GWG
You can call it directly.
#
miklb
what is "it" ?
#
GWG
get_display
#
miklb
maybe I got too much sun today :-) Still not following
#
GWG
If a theme calls get_display directly, no the_content filter is needed
#
GWG
So, the option is there right now.
#
GWG
There is still a problem though
#
GWG
If I add it into the_content, it goes all sorts of places I don't want it to.
#
GWG
Bridgy picks it up as part of e-content, for example.
#
GWG
RSS picks it up
#
GWG
Etc.
#
GWG
The best solution I came up with was inserting the e-content class at a high priority(low number) to the_content filter.
#
miklb
I'm using that from your mf2 theme
#
miklb
oh, wait, you have a function to map to post format templates. Why don't I just use that?
#
miklb
Just need to map one to quote
#
GWG
miklb: I do.
#
GWG
As I said, I really need to clean it up and document it a bit better.
#
miklb
lol. I copied your code and didn't really read it closely. Do I need to enable post formats for that to work?
#
GWG
It will set the post_format even if it isn't enabled. You just won't see it.
#
miklb
hmm. I guess I assumed there was support for an actual post format template
#
miklb
anything I'm seeing is just a hack into get_template_part
#
GWG
miklb: There was an issue back at in 3.6 about Post Format UI improvements. But nothing has happened in a long while.
#
miklb
GWG you wouldn't happen to have a snippet example of using get_display to override would you?
#
GWG
Well, I think I may have had it in mf2_s. But I haven't worked on that in a long while.
#
miklb
not seeing anything
#
miklb
thanks though
#
GWG
miklb: I might break some more things for you as change things. Apologies in advance.
#
miklb
I think I'm going to hold off on any wholesale template changes, just tweak to add some styling classes
#
miklb
I'm not really grokking how to bypass using the filter tonight anyway. Maybe as I tweak the templates, it will make more sense
#
aaronparecki.com
edited /User:Aaronparecki.com (+88) "/* working on */"
(view diff)
#
aaronparecki.com
edited /User:Aaronparecki.com (+38) "/* figured out */"
(view diff)
#
aaronparecki.com
edited /User:Aaronparecki.com (+63) "/* projects */"
(view diff)
#
aaronparecki.com
edited /p3k (+294) "/* Libraries */"
(view diff)
#
aaronparecki.com
edited /User:Aaronparecki.com (+204) "add specs i contribute to"
(view diff)
#
aaronpk
better
#
aaronpk
oh yay, my concurrency issue fix worked
#
Loqi
does a happy dance!
#
strugee.net
created /User:Strugee.net (+528) "Basic initial page"
(view diff)
#
pniedzielski.net
edited /IRC_People (+62) "Adding myself --- hopefully this picks it up through the matrix bridge"
(view diff)
KartikPrabhu, loicm_, cweiske and pfefferle joined the channel
#
pfefferle
good morning #indieweb
#
vanderven.se martijn
edited /multi-site_indieweb (+280) "/* Indieweb Examples */ Adding myself. Prompted by sebsel."
(view diff)
loicm_ joined the channel
#
tommorris.org
edited /Persona (+93) "/* IndieWeb Examples */ as of today, persona functionality has been removed and replaced with IndieAuth"
(view diff)
#
petermolnar
what is domain privacy?
#
Loqi
Domain privacy refers to privacy concerns around the contact information that is publicly available with each domain name registration https://indieweb.org/domain_privacy
#
loqi.me
created /pam (+141) "prompted by petermolnar and dfn added by petermolnar"
(view diff)
#
loqi.me
created /stalkscan.com (+328) "prompted by petermolnar and dfn added by petermolnar"
(view diff)
[dgold] and [jeremycherfas] joined the channel
#
@fkooman
@aaronpk do you know of anyone depending on https://indiecert.net/ for IndieAuth? I'd like to take it offline in the next 6 months if not
(twitter.com/_/status/834023115491520512)
loicm_ joined the channel
#
sknebel
What is oEmbed?
#
Loqi
oEmbed is a 2009-era JSON-based format for providing information to construct a link-preview of a page https://indieweb.org/oEmbed
#
miklb
heh, that reads as if it's not being used still
#
cweiske
typical tantek-speak
#
singpolyma
"If we pretend something is old and useless, maybe people will take the hint and stop using it."
#
singpolyma
"HTML: A 1990s-era SGML-based format for providing flashing "new" gifs."
marcthiele joined the channel
#
ben_thatmustbeme
always checks google trends to get a good basic idea of how popular a thing still is
#
ben_thatmustbeme
doesn't mean if we should use it or not
#
tommorris
singpolyma: to be fair, HTML is a browser compatibility layer for web.js
#
jonnybarnes
what’s web.js?
#
petermolnar
I get itchy from the idea of iframing remote sites in the name of embedding and copyrights
#
aaronpk
yeah i'm all for good citations, linking to the original, clearly showign authorship, etc. but i want to host a copy of things too
#
sknebel
even I thought that was a good idea, that'd be a legal nightmare here
#
sknebel
what is forestry.io?
#
Loqi
forestry.io is a online CMS, web host, and automated build tool for static sites https://indieweb.org/forestry.io
KevinMarks joined the channel
#
petermolnar
I was looking for a web gui which outputs a static site, but couldn't find anything promising yet
#
petermolnar
and this is not open source :/
#
sknebel
have you looked at lektor?
#
petermolnar
what is lektor?
#
Loqi
It looks like we don't have a page for "lektor" yet. Would you like to create it?
#
petermolnar
^^^ no, I haven't :)
#
sknebel
Lektor is https://www.getlektor.com/, a CMS generating static files, written in Python.
#
loqi.me
created /Lektor (+119) "prompted by petermolnar and dfn added by sknebel"
(view diff)
#
www.svenknebel.de
edited /Lektor (-2) "proper link"
(view diff)
#
sknebel
aaronpk: is there a way to respond to Loqi so that the page gets created with the link in the <dfn>? (something in the back in my brain says I saw that before, but I forgot how)
#
aaronpk
you can use mediawiki syntax
#
aaronpk
what did you want the dfn to say?
#
sknebel
look at my edit just above
#
sknebel
that's what I wanted to achieve
#
sknebel
link the service name to the URL
#
sknebel
s/service/project
#
aaronpk
there isn't anything that does that right now
#
aaronpk
I would imagine a good IRC way of doing that would be "Lektor (https://www.getlektor.com/) is a CMS generating static files, written in Python."
#
aaronpk
does that look reasonable?
#
sknebel
that would work. or "Lektor is https://www.getlektor.com/, a CMS generating..." as I tried above, (so if first text after is is a URL, link that)
#
aaronpk
i can probably do that
#
tommorris
jonnybarnes: web.js is a term I use for overly-JS-heavy dev practices. like when you have websites that have nothing in HTML and it's all client-side rendered.
#
martymcguire[m]
what is Do Not Track?
#
Loqi
It looks like we don't have a page for "Do Not Track" yet. Would you like to create it?
#
martymcguire[m]
Do Not Track is a technology and policy proposal that enables users to opt out of tracking by websites they do not visit, including analytics services, advertising networks, and social platforms.
#
loqi.me
created /Do_Not_Track (+227) "prompted by martymcguire[m] and dfn added by martymcguire[m]"
(view diff)
#
martymcguire[m]
what is DNT?
#
Loqi
It looks like we don't have a page for "DNT" yet. Would you like to create it?
#
martymcguire[m]
DNT is [[Do Not Track]]
#
loqi.me
created /DNT (+25) "prompted by martymcguire[m] and dfn added by martymcguire[m]"
(view diff)
#
martymcguire[m]
Do Not Track << http://donottrack.us/
#
loqi.me
edited /Do_Not_Track (+41) "/* See Also */ new section"
(view diff)
#
Loqi
ok, I added "http://donottrack.us/" to the "See Also" section of /Do Not Track
#
sknebel
martymcguire[m]: thx
#
martymcguire[m]
no prob. i was surprised it wasn't already in the wiki. filling that out and tying it to other concepts like privacy, privacy policies, disclosure, etc. is a bigger project. :|
#
martymcguire[m]
Do Not Track << https://allaboutdnt.com/
#
loqi.me
edited /Do_Not_Track (+27) "martymcguire[m] added "https://allaboutdnt.com/" to "See Also""
(view diff)
#
Loqi
ok, I added "https://allaboutdnt.com/" to the "See Also" section of /Do Not Track
#
martymcguire[m]
Do Not Track << https://www.eff.org/issues/do-not-track
#
loqi.me
edited /Do_Not_Track (+42) "martymcguire[m] added "https://www.eff.org/issues/do-not-track" to "See Also""
(view diff)
#
Loqi
ok, I added "https://www.eff.org/issues/do-not-track" to the "See Also" section of /Do Not Track
#
www.svenknebel.de
edited /Do_Not_Track (+356) "start /*What can sites do*/ section"
(view diff)
KevinMarks joined the channel
#
martymcgui.re
edited /Do_Not_Track (+1110) "add info about what users can do"
(view diff)
KevinMarks_, KartikPrabhu, Zegnat, KevinMarks and [jeremycherfas] joined the channel
#
www.svenknebel.de
edited /repost (+325) "/* Differentiating Reposts */"
(view diff)
#
sknebel
^^^ anyone comments on this?
#
vanderven.se martijn
edited /Do_Not_Track (+272) "/* What can sites do? */ DDG offers visitors a choice regarding embeds."
(view diff)
#
aaronparecki.com
edited /repost (+304) "/* Bookmark vs Repost */"
(view diff)
[cleverdevil] and KevinMarks joined the channel
#
vanderven.se martijn
edited /repost (+258) "/* Bookmark vs Repost */ comments, prompted by sknebel"
(view diff)
[jeremycherfas], miklb and KevinMarks joined the channel
#
www.boffosocko.com
edited /media_fragment (+262) "resore removed see also snippets; added example"
(view diff)
#
GWG
Afternoon
#
www.boffosocko.com
edited /repost (+1911) "/* Bookmark vs Repost */"
(view diff)
KevinMarks_, [chrisaldrich], KevinMarks and singpoly1a joined the channel