#dev 2017-01-22

2017-01-22 UTC
KevinMarks, KevinMarks_ and mblaney joined the channel
#
mblaney
regarding earlier repost discussion, I've just finished implementing actual reposts. (before it was more of a blockquote thing, that didn't keep the original author)
#
mblaney
since I'm now keeping the author, I'm storing the extra info (like me being the reposter of an article) in categories.
#
mblaney
so then my reader shows that it's a repost when it displays the categories, along with the original link.
#
mblaney
when displaying the actual repost, I've added who it was reposted by next to the original author. here's an example if you're interested: https://unicyclic.com/mal/2017-01-22-When_exposing_a_crime_is_treated_as_committing_a_crime_you_are_being_ruled
#
Loqi
[Malcolm Blaney] When exposing a crime is treated as committing a crime, you are being ruled by criminals—@Snowden https://unicyclic.com/php/image.php?i=03ed1f9056eeb6ff00b886658283e439...
KevinMarks joined the channel
#
mblaney
Loqi that is a strange choice for an excerpt... from what I believe is a well marked-up h-entry :-P
#
mblaney
(oh that's ok actually... I missed that it was split across two lines in my irc client)
KevinMarks joined the channel
#
www.boffosocko.com
edited /WordPress/Plugins (+213) "/* Other Indieweb Plugins */ Sebastian Greger bookmark plugin"
(view diff)
#
www.boffosocko.com
edited /bookmark (+134) "Additional IndieWeb discussion - link to Brighton session"
(view diff)
#
www.boffosocko.com
edited /WordPress/Examples (+87) "Examples: Glenn Rice, Sebastian Greger"
(view diff)
#
@John316Network
https://booklaunch.io/llwroberts/thedoor - The Door is free. #IARTG #Kindleebooks #mustread #readers #Kindletouch #indieauth #IAN1pic.twitter.com/8LCenVAYrJ
(twitter.com/_/status/823082145933426688)
#
loqi.me
created /habit_tracker (+102) "prompted by sebsel and dfn added by sebsel"
(view diff)
#
loqi.me
created /habit_tracking (+26) "prompted by sebsel and dfn added by sebsel"
(view diff)
sebsel, KevinMarks and KevinMarks_ joined the channel
#
voxpelli
First half of the weekend project done, now I just need more weekends
tantek joined the channel
#
GWG
voxpelli, can you send me some weekends too
#
Zegnat
Are there free weekends to be had?
tantek, KevinMarks and KevinMarks_ joined the channel
#
aaronpk
i'm adding mf1 markup to my site for recipes and it's kind of painful
#
aaronpk
i forgot how much nicer mf2 is to work with
KevinMarks joined the channel
#
KevinMarks
Unmung's indiecard has a recipe mode
#
aaronpk
i'll see how it does on mine
#
aaronpk
TIL you can't name a PHP function "yield" even if it's a function in a class
tantek joined the channel
#
aaronpk
i just figured out how to add bullet separators between items in a line of text \o/
#
aaronpk
(with css)
#
KartikPrabhu
on a plaintext? without extra markup?
#
aaronpk
it requires wrapping each item with a tag but that's it
#
aaronpk
hm now i want to post code snippets to my site like codepen
#
KartikPrabhu
then you could use <span> and the ::before pseudo-element
#
aaronpk
that's what i did!
#
KartikPrabhu
you could also make it a numbered list then using CSS counters
#
aaronpk
definitely don't want numbers
#
KartikPrabhu
is that supposed to be a list sematically?
#
KartikPrabhu
oh ok then this look fine. Else I would have suggested using <ul> and then removing styling from it
#
aaronpk
it's more like this in reality: http://codepen.io/aaronpk/pen/jymeyV
#
KartikPrabhu
aah yeah that makes sense
#
aaronpk
but i may only have some of those pieces of info and i don't want to write a bunch of logic to render the separator in the html
#
KartikPrabhu
I use the "remove styles from list" method to list tags in one line: https://kartikprabhu.com/#latest-articles
#
aaronpk
ah yeah i think i do that too
#
KartikPrabhu
no, the separator in CSS is better, since it is presentational
#
aaronpk
oops apparently not, maybe i should fix that
#
aaronpk
oh yeah good point
KevinMarks_ joined the channel
#
miklb
GWG now I"m contemplating writing a plugin for post kinds to add templates.
#
GWG
Oh?
#
loqi.me
created /100days (+30) "prompted by sebsel and dfn added by sebsel"
(view diff)
#
GWG
miklb: The plugin supports templates limitedly, but I want to expand it.
#
miklb
then I'll read the plugin code and just see if I can expand it
tantek joined the channel
#
miklb
GWG oh, so the kind_views is what you are talking about?
#
GWG
miklb: Yes. But I don't like the way I did it. It is a bit messy.
#
GWG
So I want to clean it up
KevinMarks joined the channel
#
GWG
I think I need to take a more aggressive approach because people are having issues with the markup, which I originally considered beyond the plugin
#
miklb
why not flesh out more of what you have and document it vs starting from scratch?
#
GWG
miklb: That is my intention. To make it easier to use.
#
GWG
miklb: That is the cleaning part. Documenting and ordering
#
miklb
another question while reading through the code, the get_embed function only seems to have FB & Google+. Does Twitter then work automagically?
#
GWG
miklb: WordPress supports Twitter already
#
miklb
hmm. I thought I tried a note with a Twitter link and it didn't do anything with it. I don't use the visual editor though
KevinMarks joined the channel
#
GWG
miklb: Post Kinds will be updated after Syndication Links