#dev 2017-03-18

2017-03-18 UTC
tantek joined the channel
#
loqi.me
created /420 (+16) "prompted by tantek and dfn added by tantek"
(view diff)
#
loqi.me
created /429 (+168) "prompted by tantek and dfn added by tantek"
(view diff)
#
loqi.me
created /throttling (+200) "prompted by bear and dfn added by bear"
(view diff)
#
gregorlove.com
edited /Apple_News_Format (+98) "update dfn, add links"
(view diff)
#
gregorlove.com
created /Apple_News (+203) "stub"
(view diff)
#
gregorlove.com
edited /Apple_News_Publisher (+65) "cleaned up dfn"
(view diff)
[eddie], [chrisaldrich], gRegorLove and tantek joined the channel
#
GWG
I just sent a PR to require custom post types in WordPress to expressly declare Webmention support
[jeremycherfas] joined the channel
#
gRegorLove
!tell aaronpk Got a CI error on nightly, but I think it's something within PHPunit? https://travis-ci.org/indieweb/php-mf2/builds/212386297
#
Loqi
Ok, I'll tell them that when I see them next
[kevinmarks] joined the channel
#
loqi.me
edited /GNU_social (+15) "[kevinmarks] added "[[mastodon]]" to "See Also""
(view diff)
#
jkphl.is
uploaded /File:hwcngb-header.jpg "People of the Homebrew Website Club Nürnberg"
#
jkphl.is
created /events/2017-05-17-homebrew-website-club (+3648) "Created page with "<div class="h-event vevent" style="margin-top:-16px"><img style="width:100%;height:300px;object-fit:cover;object-position:50% 25%" class="u-featured" src="https://indieweb.org/im...""
(view diff)
[eddie], plindner, [dgold], mindB and martymcguire[m] joined the channel
#
martymcgui.re
edited /Open_Collaboration_Services (+4) "fixup link syntax"
(view diff)
#
david.shanske.com
edited /Post_Kinds_Plugin (+112) "/* Future Plans */"
(view diff)
[jeremycherfas] joined the channel
#
martymcgui.re
edited /site-deaths (-213) "app.net has shut down"
(view diff)
[dgold] joined the channel
#
martymcgui.re
edited /App.net (+173) "app.net has shut down"
(view diff)
#
www.svenknebel.de
edited /HTTPS (-5) "move TOC up the page"
(view diff)
[chrisaldrich], [dgold], GWG and KartikPrabhu joined the channel
#
sknebel
aaronpk: does your webmention endpoint accept JSON sources?
#
Loqi
aaronpk: gRegorLove left you a message 11 hours, 31 minutes ago: Got a CI error on nightly, but I think it's something within PHPunit? https://travis-ci.org/indieweb/php-mf2/builds/212386297
#
sknebel
(the webmention spec mentions it, but I'm wondering if anybody actually implements it. So I guess this is an open question for everybody ;))
#
aaronpk
sknebel: i don't think so
#
aaronpk
my endpoint is webmention.io, which uses XRay to fetch the post
#
GWG
I don't. But I remember talking to people who were interested in that to transfer structured data.
#
sknebel
guess I'll have to implement it myself then :P
#
GWG
There was one person at IWC NYC 1, who it was escapes me, who was talking about using it with bibilographic type data.
#
aaronpk
are you expecting to receive webmentions from JSON sources soon?
#
GWG
I'm interested in that question too
#
sknebel
In https://www.svenknebel.de/posts/2017/3/9/ I claimed that a the W3C annotation stuff would already be accepted by a webmention receiver as a valid basic "mention", and I today talked to someone from hypothesis and discovered that they already publish annotations in that W3C data format
#
Loqi
[Sven Knebel] notes for HWC Berlin 2017-03-08
#
sknebel
so if I had a receiver implementing it I could test my claim
#
sknebel
(and the claim would be a lot more useful if the set of "endpoints accepting JSON" would be non-empty ;))
#
GWG
sknebel: I'd read your writeup on this eagerly.
#
aaronpk
it wouldn't take much for me to accept JSON sources as "valid", but it would be more complicated to parse useful information out of them
KartikPrabhu and [chrisaldrich] joined the channel
#
sknebel
yes, that would be the next problem, and the point where there isn't enough standardization in generic "JSON" sources to do it without special cases
#
aaronpk
the JSON sources would need to standardize on a vocabulary, like activitystreams 2.0, or this annotation JSON
#
sknebel
AS2 is JSON-LD as well, right?
#
aaronpk
yes, the LD bit was shoehorned into it. you can pretty much ignore the LD part if you don't care about it
#
aaronpk
it was meant to look like "normal JSON" as well
#
GWG
Is there a standard way to tell a client what your vocabulary is? I thought there was.
#
sknebel
GWG: JSON-LD seems to have a bunch of ways of expressing that (just manually looking at various sources of it right now, and they do it differently)
#
GWG
I haven't spent much time with JSON-LD, just the JSON I needed.
#
sknebel
hm, from a quick read it seems like scanning for a field named "@id" and linking to that URL might be useful -> thats more or less what u-uid is in mf2 and the sites I've looked at deliver human-readable content there
#
loqi.me
edited /highlight (+77) "sknebel added "[[https:/[[crc]].io[[blog]]/2016/01[[highlighting]]-the-internet-part-2/]]" to "See Also""
(view diff)
#
www.svenknebel.de
edited /highlight (+91) "better description for last link"
(view diff)
tantek joined the channel
#
www.svenknebel.de
edited /Hypothes.is (+311) "note about work on client-server split"
(view diff)
#
eddiehinkle.com
edited /reply-context (+188) "Added eddiehinkle.com as reply-context example"
(view diff)
[kevinmarks] joined the channel
#
[kevinmarks]
JSON-LD is very flexible. This can be a good thing (as it can represent something like activity streams 2) but it also means there are a lot of ways to represent a given thing.
gRegorLove joined the channel
#
tantek
kevinmarks, HTML is also very flexible ;)
#
[kevinmarks]
Even more so, yes. We do have some of the same issues with microformats as the authorship algorithm shows
#
[kevinmarks]
But LD has a whole other graph strudel thing going on
#
[kevinmarks]
s/strudel/structure/
#
tantek
no, strudel is accurate
#
aaronpk
graph strudel ?
#
sknebel
now I'm hungry again
#
Zegnat
I'm with sknebel, anyone know how to make strudel?
#
GWG
Go to store, buy strudel.
#
Zegnat
All stores are closed where I am in this timezone.
#
tantek
indie strudel!
#
aaronpk
why do i always forget how to vertically center an image
#
aaronpk
in a line of text
#
tantek
is it ever necessary *for a user* to load scripts from googletagmanager? I'm assuming no
#
tantek
aaronpk: depends on what you mean by *center*
#
tantek
or rather, what the top/bottom are to determine that center
#
tantek
font metrics, glyph ink, ascenders, descenders, etc
#
aaronpk
i want the vertical middles of the image and the text to be aligned. right now it looks like the baselines are aligned https://media.aaronpk.com/Screen-Shot-2017-03-18-13-39-12.png
#
Zegnat
vertical-align:center; ???
#
tantek
"vertical middles of ... text" is just rephrasing the above. by "text" do you mean the metrics, glyph ink, including ascenders? accents? descenders?
#
aaronpk
vertical-align:center doesn't work because they are inline elements i think
#
tantek
or rather, might not be the "center" that you have in mind
#
tantek
hence my questions
#
aaronpk
um, i don't know. it looks wrong. i want it to look right :P
#
tantek
so you probably mean your specific glyph ink then?
#
Zegnat
which vertical-align did you end up with, aaronpk?
#
tantek
and what happens when you cmd+ or cmd-?
#
aaronpk
middle, and then i put the image in a background of a span element with display:inline-block
#
aaronpk
looks great when the page is zoomed
#
gRegorLove
vertical-align works for me with an image. I use vertical-align: text-bottom on my little avatar: https://gregorlove.com/2017/03/ooh-unwed-sailor-is-playing/
#
Loqi
[gRegor Morrill] Ooh, Unwed Sailor is playing Seattle in June!
#
Zegnat
You don't need vertical-align then, right? Just background-position?
#
walterebert.com
edited /2017/Nuremberg/Guest_List (+179) "/* Participants */"
(view diff)
#
aaronpk
ah yeah the vertical-align isn't actually doing anything
#
Zegnat
vertical-align is one of those trip-ups for people new to CSS. It really only applies to images in text and to anything within table cells
#
Zegnat
Well, not only images, should be any inline elements, but images are the most common in normal HTML usage
#
gRegorLove
It's a trip-up to those of us who use CSS a lot, too, haha
#
Loqi
hehe
KevinMarks joined the channel
#
Zegnat
I frequently misremember the actual value keywords, but if you use CSS a lot you should at least be able to remember what it affects, imho.
#
tantek
alright, with multiple publishing uses of p-checkin / u-checkin that seem to "work", that's probably worth documenting as current "best practice"
#
tantek
(with embedded h-card even)
#
tantek
now the question is whether any consuming code will notice and do anything with p-checkin / u-checkin
#
jonnybarnes
if you have an h-entry note, with an associated download link, maybe its a pdf of a flier for an event the note talks about, or whatever, how would you markup the <a> tag?
#
jonnybarnes
Just `u-url`?
#
jonnybarnes
just looking at the microformats.org wiki and saw a link to chloeweil.com :(
#
jonnybarnes
page is still online though
#
tantek
jonnybarnes: yeah. I think that's a good way to pay respects, by honoring her work.
#
tantek
jonnybarnes look into ATTACHMENT
#
tantek
I think it was brainstormed on the microformats wiki at least
#
tantek
(for the PDF file
#
tantek
so the mf2 equivalent would be u-attachment
#
aaronparecki.com
edited /checkin (+142) "/* IndieWeb Examples */ +me"
(view diff)
#
@karenbwill
RT @ReadersGazette BLOG Indie Author Answers by Jim Heskett http://www.thejugglingauthor.com/indieauth/ Get help writing your book #bookbloggers 11
(twitter.com/_/status/843243297871216640)