#dev 2018-08-24

2018-08-24 UTC
tantek__ joined the channel
#
willnorris
I use a `git pr` alias to easily checkout pull requests https://github.com/willnorris/dotfiles/blob/master/gitconfig#L15-L17
#
Loqi
willnorris has 2 karma in this channel over the last year (5 in all channels)
#
miklb
willnorris++
davidmead joined the channel
#
miklb
and thanks for the reminder. I had started organizing my dotfiles and getting them into git. Need to finish that project.
#
willnorris
I've been through a few different tools to manage mine, and have been quite happy with rcm (https://github.com/thoughtbot/rcm). It's just a set of shell scripts, so I have a local copy checked into my dotfiles repo so I don't have to install it separately on machines
#
Loqi
[thoughtbot] rcm: rc file (dotfile) management
#
willnorris
especially since it isn't in the official debian apt repos
#
GWG
Morning
[jgmac1106], Odd_, gRegorLove, renem_, xunplini13, raucao and Ruxton joined the channel
#
david.shanske.com
edited /Web_App_Manifest (+122) "/* Consumers */"
(view diff)
deathrow1 and NinjaTrappeur joined the channel
#
david.shanske.com
edited /Web_App_Manifest (+348) "/* WordPress */"
(view diff)
treora, ludovicchabant, jjuran, GWG, miklb_, jeremycherfas, koddsson, ben_thatmustbeme, acegiak, TripFandango, wagle, KevinMarks, Guest52625, petermolnar, kline and romangeeko joined the channel
#
Ruxton
tantek__: https://photos.app.goo.gl/vuRMboLN4VsNp6MH7 that's how the RSVP loks for the event on your site, just an extra button in the row of actions
[eddie], tantek, tantek__ and cweiske joined the channel
#
tantek__
Ruxton - all you see is the event name ? That's too bad, I thought I had the proper markup for content etc.
#
Ruxton
tantek__: other post types show more detail, so probably an issue in the app, it didn't set author properly on the event either
#
tantek__
issue in the source markup or the app handling it?
#
Ruxton
haven't looked at your source, but I'd say its most likely the app
#
Ruxton
it's pretty basic feature set at the mo
aaronpk, tantek, DenSchub, koddsson, KartikPrabhu, ichoquo0Aigh9ie, barpthewire and jeremych_ joined the channel
#
petermolnar
so, I succeeded adding google approved schema.org microdata to my site. It made my HTML so unspeakably ugly though :(
#
petermolnar
however, if anyone wants help/ideas/etc, I has advices
#
@vform
↩️ Eigentlich ist es viel zu nah dran. Statt Ersatz oder Klone wäre was Neues nett. Irgendwas in Richtung Webmentions (vielleicht) https://alistapart.com/article/webmentions-enabling-better-communication-on-the-internet :)
(twitter.com/_/status/1032909899699761152)
#
petermolnar
turned out that Google is happy marking up the same vcard to be both a person and an organization and use a reference instead of per entry, so so the author and publisher requirements can be fulfilled by a single footer vcard
#
petermolnar
all hail xml references?
#
Zegnat
What about your resume? ;)
#
petermolnar
that... that is a hell dimension. I'm working on it.
#
petermolnar
and I'll probably turn that one into a howto
#
petermolnar
I'm definitely not writing a generator though
#
petermolnar
it's already a h-resume, but the microdata part is brutal
#
Zegnat
Yeah, I was looking into it for a bit when you were talking about it last time
#
Zegnat
Did not look like fun
#
petermolnar
no, it's bl*dy a swamp
#
petermolnar
I'm wondering about the relation between me and the company I'm working for... there is an "owns" in https://schema.org/Person, I guess the accurate markup would be org owns person, right? /s
rigelk joined the channel
#
petermolnar
"The property worksFor is not recognised by Google for an object of type Role." lol.
#
petermolnar
occupation _requires_ an estimatedsalary? suuure, google.
#
petermolnar
I think I'm going to skip microdata on my resume...
#
Zegnat
I think you should just not use the Google validator
#
petermolnar
I'm leaning towards that conclusion as well
#
Zegnat
There is nothing wrong with the schema as defined on schema.org
#
petermolnar
the thing is, microdata is basically for google; otherwise I'm happy with mf2
#
Zegnat
jkphl’s https://micrometa.jkphl.is/ can give you nice output of parsed microdata for manual checking
#
petermolnar
so if it's not valid for google, it doesn't really make sense to even have it, does it?
#
Zegnat
I really couldn’t say. I always see a lot of theoretical talk about linked data, but don’t actually know about major implementations that would use it.
#
Zegnat
Chances are there are 0 microdata resume consumers... then again, there are probably also 0 h-resume consumers ;)
#
petermolnar
there's a rather high change for that, indeed :D
#
petermolnar
turns out educationevent needs a lot of information, so I skipped that part for now
barpthewire joined the channel
#
petermolnar
I think I'll leave it like this for now, given the chances of microdata resume consumers :)
[kevinmarks] joined the channel
#
[kevinmarks]
I found that different bits of Google used microdata vs jsonld
barpthewire joined the channel
#
Zegnat
The biggest pain point is that Google puts extra requirements on top of what schema.org requires of the objects, [kevinmarks]
#
Zegnat
petermolnar, is that how Role worked? Double-typing role & organization? I think the parser output looks pretty good
#
petermolnar
just like my footer is both a Person and an Organization
#
petermolnar
so no missing author or publisher on list pages
#
petermolnar
I'm genuinely curious though how google, the search engine, and google, the schema.org member can disagree on so many things
#
[kevinmarks]
Google disagrees with itself a lot
#
[kevinmarks]
Some of that is deliberate organisational design to avoid strategy tax
#
[kevinmarks]
Some of it is chaos and fiefdoms
#
Zegnat
I am guessing that the schema team is just really interested in semantic / linked data, where the search team is only interested in the datapoints that are useful right now. And then the SEO folks only want to know about the data points that the search team is reading, so that’s what the validator is build for.
#
petermolnar
SEO... that industry should die out.
#
petermolnar
nowadays the only SEO that works it paying for adwords
[jgmac1106], KartikPrabhu, jgmac1106_, [kevinmarks], jgmac1106, snarfed, decode, loicm, [eddie] and barpthewire joined the channel
#
Zegnat
petermolnar, here is a nice one for your load statistics. On average, mobile WordPress sites serve even more data than desktop ones: https://httparchive.org/reports/state-of-the-web?lens=wordpress#bytesTotal
#
Zegnat
And page weight has been going up on both desktop and mobile
jgmac1106 joined the channel
#
aaronpk
aperture is running the latest and greatest microformats parser now!
#
Zegnat
takes cover
#
petermolnar
Zegnat: that is fascinatingly wrong on so many levels
#
GWG
aaronpk, manifests?
#
aaronpk
coming soon :)
#
petermolnar
I mean wrong from the developer side
#
petermolnar
not on the stats
#
petermolnar
still nowhere close to the 36MB Facebook monster
#
Zegnat
I should probably update the client information matrix with title / og:title now that WP will look at those. Though it seems like the most likely candidate for IndieAuth is WAM, aaronpk?
#
aaronpk
probably
#
GWG
Do you want to wait till I push a release?
#
GWG
I look at it as a last resort
#
GWG
title is unreliable
#
Zegnat
Yeah, but it would be good to see the data whether title really is unreliable
#
Zegnat
The matrix at least shows that rel-icon is a pretty reliable fallback
#
petermolnar
Zegnat: if you open the graph to 2010-2018 there's a disturbing trend there: a huge jump middle of June this year
#
petermolnar
wrong graph, that's the amount of urls looked at ^^
#
petermolnar
"Pages with Vulnerable JS" 95.4% O.O
#
Zegnat
Welcome to the internet
jgmac1106 joined the channel
#
aaronpk
do/should h-events have an author?
#
aaronpk
there's no reference to "author" on http://microformats.org/wiki/h-event
#
Loqi
[Tantek Çelik] h-event is a simple, open format for events on the web. h-event is often used with both event listings and individual event pages. h-event is one of several open microformat draft standards suitable for embedding data in HTML. h-event is the microfor...
#
aaronpk
on tantek's home page, his h-events are inside his h-card so there is a sort of implied author there
#
Zegnat
Several people do put author on there
#
Zegnat
E.g. the two examples I gave when saying h-event should adopt more h-entry properties: https://github.com/microformats/h-event/issues/2#issuecomment-308650834
#
Loqi
[Zegnat] Does it become significantly harder to change properties after “flipping the switch”? If so (I am not fledged in the Microformats processes) we might need to do some changes to h-event first. The current draft specification does not adress usi...
#
Zegnat
We could check more h-event implementations and see how many include author, but I have a feeling many that are published within blog/feed context do.
#
www.timswast.com
created /pixel-art (+1076) "Add examples of indieweb pixel art."
(view diff)
jgmac1106_, snarfed, [shaners], [kevinmarks] and [scottgruber] joined the channel
#
[scottgruber]
Hmm. I’m still not there.
#
[scottgruber]
I get this message “The mentions below linked to this post, but did not include this post’s URL as an in-reply-to property.”
#
sknebel
what is where?
#
Loqi
It looks like we don't have a page for "where" yet. Would you like to create it? (Or just say "where is ____", a sentence describing the term)
#
[scottgruber]
Not sure where to put the in-reply-to property. I tried this “a href=“https://webmention.rocks/test/1” rel=“u-in-reply-to” in an anchro tag and read this documentation which I’m probablyt misunderstanding how to format properly. https://indieweb.org/in-reply-to
#
Loqi
[Webmention Rocks!] Discovery Test #1
#
aaronpk
should be class="u-in-reply-to" not rel
#
[scottgruber]
On the anchor tag? Let me try that now.
AngeloGladding joined the channel
#
kevinmarks.com
edited /pixel-art (+250) "/* IndieWeb Examples */ SVG"
(view diff)
#
loqi.me
edited /pixel-art (+75) "[kevinmarks] added "Jenn Schiffer's pixel art site https://make8bitart.com/" to "See Also""
(view diff)
#
[scottgruber]
Like this anchor tag in the body of my post
#
[scottgruber]
a href=“https://webmention.rocks/test/1” class=“u-in-reply-to”
#
[scottgruber]
still get same message when I click link
#
Loqi
[Webmention Rocks!] Discovery Test #1
#
[scottgruber]
Is the href where I should add the include this post’s URL along with the class=“u-in-reply-to”?
[tswast] joined the channel
#
aaronpk
that link needs to be inside the h-entry
#
aaronpk
if you share a permalink we can probably help better
#
Loqi
[Scott Gruber] Sites to help test fed.brid.gy brid.gy
#
aaronpk
there seems to be a nested h-entry, is that intentional?
#
aaronpk
I tried sending a webmention from your post to webmention.rocks and it worked
#
[scottgruber]
Thanks folks. I don’t mean to bother you and am trying to sort through it myself, but hard at my level. the nested h-entry was pasted in this sample https://indieweb.org/reply-context#Markup
#
[scottgruber]
now its one.
#
aaronpk
okay back up a bit... what exactly are you trying to test?
#
aaronpk
it looks like you're testing like 5 things at once
#
[scottgruber]
I guess I don’t understand how to fire a send. Does it occur when I click the link, or get queued trhough a chron job
#
[scottgruber]
I can receive a webmention
#
[scottgruber]
and trying to test sending a webmention so that when I link to an article that can receive a web mention I can be posted on the other persons site.
#
aaronpk
oh, sending a webmention is something your website would do in code, either as a cron job or as part of your publishing process
#
Loqi
[Aaron Parecki] Sending your First Webmention from Scratch
#
[scottgruber]
I’
iasai joined the channel
#
[scottgruber]
I hadn’t. Let me go through that. brb
#
aaronpk
that should help clear some of this up
#
sknebel
maybe that doesn't resend on edits?
#
aaronpk
oh that is likely
#
aaronpk
didn't realize this was in perch
#
[scottgruber]
Yes, its perch. Still have some clean up on a blog function in the code. But I think I got it. So each time I want to send a webmention in MY post I must format the with a snippet you have on your example. which I copied to my page, updated with my content and pasted my pemalink on your site.
#
aaronpk
ideally Perch will send the webmention when the post is created or updated
#
aaronpk
but that form on my site is a way to test this without relying on your software doing it automatically
#
[scottgruber]
I just manually fired my scheduled tasks to see if I can get it automated.
#
aaronpk
I see the comment on my site too!
#
[scottgruber]
I appreciate the help!
gareth__20, trip_, KevinMarks_ and KevinMarks joined the channel
#
GWG
I need some help reading this https://jsonfeed.org/version/1
#
GWG
Is home_page_url the home page of the site, or the HTML version of the page the feed represents?
#
aaronpk
it looks like the html version of the feed
#
aaronpk
"is the URL of the resource that the feed describes"
#
aaronpk
and "This resource may or may not actually be a “home” page"
#
GWG
I'm looking at the jsonfeed plugin for WordPress and it always sets it to homepage URL
#
sknebel
https://github.com/brentsimmons/JSONFeed/issues/38 also suggests the html version of the feed
#
Loqi
[jbafford] #38 Split home_page_url into two separate fields
#
sknebel
the mapping to atom does too
#
GWG
Manton authorized me to be a contributor to the plugin. I thought I'd do some PRs
#
sknebel
when in doubt, ask manton to review
#
Zegnat
I'm guessing it shouldn't always be the homepage. E.g. if you have a JSON feed for posts of a specific tag, that link should point to the tag page.
#
GWG
I'm trying to find the function in WordPress that does that.
#
GWG
I don't think there is one.
#
Zegnat
Doesn’t WPs default RSS use something you can copy?
#
GWG
Nope
#
GWG
Checked there first
#
Zegnat
Surprising
#
GWG
I have to write a function that reverses the function that gets the feed link
barpthewire, [kevinmarks], strugee, iasai, vilhalmer, gRegorLove, cloud-maingo, KartikPrabhu, KevinMarks and tantek__ joined the channel
#
tantek.com
edited /pixel-art (+73) "dfn"
(view diff)
KevinMarks joined the channel