#dev 2018-01-05

2018-01-05 UTC
#
[cleverdevil]
So you can see title and the first little bit, and then expand it if you want.
#
[cleverdevil]
I just had a bunch of channels show up in my Monocle, aaronpk 🙂
#
aaronpk
a...bunch of channels?
#
GWG
I am wondering if I should abandon an idea to steal ideas from XRay and incorporate some APIs into my Post Kinds parser
#
[cleverdevil]
Yes, as in, I think your channels.
#
[cleverdevil]
Oh, its only in Together.
#
[cleverdevil]
Not in Monocle.
#
[cleverdevil]
Crazy, its showing me partially logged in as you.
#
[cleverdevil]
methinks something is leaking, grantcodes.
#
aaronpk
how is that possible, I thought Together was JS only
#
[cleverdevil]
Not sure. I'm signing out and back in again, hopefully.
#
grantcodes
Hmm it is kinda js only. But may be to do with requests being made at the same time.
#
aaronpk
oh is there like a server-side component for proxying requests?
#
grantcodes
The actual server back end is very dodgy.
#
aaronpk
is it written in Node?
#
grantcodes
But it shouldn't store any keys or anything there, that's all frontend and passed to the server
#
grantcodes
Yeah all node
#
aaronpk
sounds like a global variable leak or something to me
#
grantcodes
Self hosting will definitely avoid that issue, might have to change a variable or 2 though
#
aaronpk
I remember having this problem with some old IRC bot stuff I was doing a long time ago
#
aaronpk
gotta make sure all the variables are scoped inside the callback functions, otherwise stuff leaks because it's all asynchronous
#
grantcodes
Yeah it'll likely be classes that are instanciated with one key and overwritten with another while waiting for the microsub response
#
grantcodes
Don't know I'll have time to fix it in the next couple of days or not so may just take down that hosted version until I fix it.
#
aaronpk
i'm gonna have to figure out how to install this huh
#
grantcodes
Actually don't think it should be too hard
#
grantcodes
Just node, npm and yarn should be required 🤞
#
aaronpk
"just" 😂
#
[kevinmarks]
I had that problem with noterlive originally, you need to be careful with per user state
#
grantcodes
Well I've taken it offline for now
#
grantcodes
I'm hoping it'll be as simple as moving some code from outside a route to inside a route, but can't remember off the top of my head
#
aaronpk
hope so!
#
grantcodes
Cough cough alpha build. Use at your own risk 😂🔫
j12t_ joined the channel
#
aaronpk
good thing my indieauth server issues limited-capability tokens! even if cleverdevil was able to get my access token from that response, he couldn't use it to create posts
#
grantcodes
At the moment I think that would've been possible. I've been very lazy with the backend past getting it to a MVP state
#
tantek
what is MVP
#
Loqi
MVP is an abbreviation for minimum viable product, the concept and methodology of designing, developing, and deploying the smallest/simplest possible variant of a product as a first step to shipping, getting real world feedback, and iterating from there https://indieweb.org/MVP
#
tantek
what is a capability token
#
Loqi
It looks like we don't have a page for "capability token" yet. Would you like to create it? (Or just say "capability token is ____", a sentence describing the term)
#
tantek
what is an access token
#
Loqi
An access_token is a bearer token that is given to a micropub client from a token-endpoint https://indieweb.org/access_token
#
grantcodes
Well gotta go to bed, will try and get it fixed and back online tomorrow. Just see this as incentive to install it locally and then you can contribute code 😉
#
sknebel
considers trying again to install the dependencies
#
[cleverdevil]
Great work, grantcodes 🙂
#
[cleverdevil]
I've got it running locally, its trivial to install and run.
#
GWG
aaronpk: Temperature doesn't have an experimental microformat on your site?
#
tantek
what is temperature
#
Loqi
It looks like we don't have a page for "temperature" yet. Would you like to create it? (Or just say "temperature is ____", a sentence describing the term)
#
tantek
GWG, want to stub an article about indieweb use of temperature? ^^^
#
aaronparecki.com
edited /YouTube (+167) "/* Copyright Claim */"
(view diff)
#
tantek
what is weather
#
Loqi
Weather is the state of the atmosphere at a place and time as regards heat, dryness, sunshine, wind, rain, etc https://indieweb.org/weather
#
tantek
or is it just part of that ^^^ ?
#
sknebel
[cleverdevil]: last I tried yarn did not want to play ball and I gave up after one hour of not even getting the dependencies installed since yarn failed random ones each try. not sure what was up with that
#
aaronpk
GWG: I didn't add microformats markup to the output yet, although I am using experimental properties in my storage
#
GWG
aaronpk: Just curious
#
[cleverdevil]
Weird, I used homebrew to get yarn installed on my mac.
#
[cleverdevil]
Once I had it, it was easy.
#
grantcodes
It might also run without yarn if you replace yarn with npm in all the commands. No guarantee though
#
loqi.me
created /Hashing (+191) "prompted by tantek and dfn added by [kevinmarks]"
(view diff)
#
loqi.me
edited /Hashing (+27) "See Also"
(view diff)
#
tantek
what is transit?
#
Loqi
It looks like we don't have a page for "transit" yet. Would you like to create it? (Or just say "transit is ____", a sentence describing the term)
#
loqi.me
edited /Hashing (+24) "[kevinmarks] added "http://svgur.com/dweb" to "See Also""
(view diff)
#
loqi.me
edited /Hashing (+11) "[kevinmarks] added "[[etag]]" to "See Also""
(view diff)
#
tantek.com
moved /Hashing to /hashing "not a proper noun"
#
loqi.me
edited /hashing (+13) "[kevinmarks] added "Bittorrent" to "See Also""
(view diff)
#
tantek
I forget how nice a mobile web app nextmuni.com is
#
tantek
I am trying to replace as many "native" apps with web apps
#
aaronpk
a good web app bookmarked to the home screen can be better than a native app
#
tantek
problem is part of the native app "feature set" requires bookmarking individual pages in the web app
#
tantek
which I think is an opportunity to build another web app on top of it (nextmuni.com)
#
tantek
(keeping track of favorite stops / directions / lines)
#
tantek
oh oops they broke it
#
tantek
it makes itself a "standalone" web app when you bookmark it (add to homescreen) which then does not have any way of asking for Geolocation API permissions and just fails
#
tantek
"Origina does not have permission to use Geolocation service"
#
tantek
Origin*
#
KartikPrabhu
so much for "nice mobile web app"
#
tantek
well, looks like after /contact and /pay I need to now build a /transit UI that is just a bunch of buttons of links to specific nextmuni.com prediction pages for routes / stops
#
tantek
that way I can make that page itself open in Safari (rather than as its own process) and then tapping the links in it will get Geolocation inside Safari
#
GWG
tantek: I'm missing something here
#
aaronpk
needs to be https to use location now
#
[kevinmarks]
Sounds like an iOS bug
#
GWG
What are you trying to do in transit?
#
aaronpk
try bookmarking the https version
#
aaronpk
(not sure why they don't redirect http to https)
#
tantek
ah no it is a #-URL problem
#
tantek
the webapp keeps all state in # URLs
#
tantek
so when you "bookmark" it - it ends up bookmarking the home page
#
tantek
as a standalone app
#
tantek
instead, each prediction has a "Page to bookmark" link you have to click first lol
#
tantek
then *that* works as "Add to Homescreen"
#
tantek
GWG talking about nextmuni.com
#
tantek
I want to use the website instead of "Routesy" or any other transit "app"
#
GWG
I get that. But what are you trying to do?
#
tantek
reimplement a feature that is in Routesy but not nextmuni.com - "favorite / bookmarked stops / lines / directions"
#
GWG
I look forward to seeing that. I enjoy transit as a concept
#
tantek
wait does aaronpk not track bus / trimet rides?!?
#
aaronpk
just as GPS logs tho
#
aaronpk
not route numbers
#
tantek
yeah that doesn't count
#
tantek
not like flights then
#
aaronpk
I need a way faster UI for that if i'm gonna do it
#
tantek
is suddenly motivated
#
tantek
what is a flight
#
Loqi
flight is a type of travel https://indieweb.org/flight
#
aaronpk
occasionally anomalily checks me in to MAX lines on Swarm
#
tantek
aaronpk when did you implement flights?
#
aaronpk
but that doesn't record the start/end location of the trip which is what I would want
#
tantek
aaronpk - assuming you get checked into the start and end, that should be inferrable
#
aaronpk
flight plans?
#
tantek.com
edited /flight (+205) "travel post dfn, indieweb example aaronpk"
(view diff)
#
tantek
travel << flight
#
Loqi
ok, I added "[[flight]]" to the "See Also" section of /travel
#
loqi.me
edited /travel (+13) "tantek added "[[flight]]" to "See Also""
(view diff)
#
tantek
aaronpk I believe you tracked some trains you took in Germany as part of travel plans
#
aaronpk
yes true
#
GWG
I read the APIs for local transit. I considered doing something with them
#
aaronpk
whoa, my first flight plan post is 2013
#
tantek.com
edited /flight (+59) "found aaronpk first flight tracked from [[travel]]"
(view diff)
#
tantek
GWG I am considering building a site that links to existing sites that use APIs for local transit
#
tantek
rather than building that API calling support myself
#
tantek
what is transit
#
Loqi
It looks like we don't have a page for "transit" yet. Would you like to create it? (Or just say "transit is ____", a sentence describing the term)
#
GWG
tantek: For now, I haven't built anything to display transit at all.
#
GWG
In my mind, manual comes before automatic.
#
aaronparecki.com
edited /flight (+80) "add summary of flight posts"
(view diff)
#
tantek
transit is often short for mass transit which includes bus, light rail, and train [[travel]] methods typically in and around urban areas
#
loqi.me
created /transit (+164) "prompted by tantek and dfn added by tantek"
(view diff)
#
aaronparecki.com
edited /flight (+103) "/* Aaron Parecki */"
(view diff)
#
tantek
transit << https://www.nextbus.com/ - SF MUNI route and stop prediction web app
#
Loqi
ok, I added "https://www.nextbus.com/ - SF MUNI route and stop prediction web app" to the "See Also" section of /transit
#
loqi.me
edited /transit (+88) "See Also"
(view diff)
#
Loqi
[Aaron Parecki] Eugene to Portland https://aaronparecki.com/2017/04/02/1/map.png
#
tantek
transit << Routesy - [[iOS]] app for SF route and stop prediction
#
Loqi
ok, I added "Routesy - [[iOS]] app for SF route and stop prediction" to the "See Also" section of /transit
#
loqi.me
edited /transit (+74) "See Also"
(view diff)
#
tantek
travel << transit
#
Loqi
ok, I added "[[transit]]" to the "See Also" section of /travel
#
loqi.me
edited /travel (+14) "tantek added "[[transit]]" to "See Also""
(view diff)
#
tantek
flight << transit
#
Loqi
ok, I added "[[transit]]" to the "See Also" section of /flight
#
loqi.me
edited /flight (+14) "tantek added "[[transit]]" to "See Also""
(view diff)
#
tantek
ok this needs fixing
#
tantek
note two See Also sections
#
tantek
both created by Loqi :P
#
aaronpk
oh hey
#
aaronpk
I left myself a comment!
#
aaronpk
# remove for new MW
#
aaronpk
flight << test
#
Loqi
ok, I added "[[test]]" to the "See Also" section of /flight
#
loqi.me
edited /flight (+11) "aaronpk added "[[test]]" to "See Also""
(view diff)
#
tantek
transit << test
#
Loqi
ok, I added "[[test]]" to the "See Also" section of /transit
#
loqi.me
edited /transit (+11) "tantek added "[[test]]" to "See Also""
(view diff)
j12t joined the channel
#
tantek
yeah it only adds *one more* See Also section
#
tantek
then it adds subsequent see alsos to that second See Also section
#
GWG
I'm tempted to take some time away from IndieAuth and do weather. Trying to pick a project
#
tantek
that's the bug
#
tantek
what are you itches GWG?
#
GWG
Considering I'm snowed in, weather seems appropriat
#
GWG
tantek: I have many. But I'm trying to pick a smaller one to tackle
#
GWG
tantek: I've been very productive of late
#
tantek
I hear that. I was unable to even pick a smaller one for a 2018-01-01 challenge!
#
[kevinmarks]
I checked into every station on foursquare on one trip
#
GWG
tantek: I did the first major IndieAuth upgrade in 2 years.
#
aaronpk
Wait it still has the bug?
#
aaronpk
I just made a change that should even change the message in irc slightly
#
aaronpk
test << foo
#
Loqi
ok, I added "foo" to a new "See Also" section of /test
#
loqi.me
edited /test (+23) "aaronpk added "foo" to "See Also""
(view diff)
#
aaronpk
test << bar
#
Loqi
ok, I added "bar" to a new "See Also" section of /test
#
loqi.me
edited /test (+23) "aaronpk added "bar" to "See Also""
(view diff)
#
loqi.me
edited /test (+23) "aaronpk added "foo" to "See Also""
(view diff)
#
loqi.me
edited /test (+6) "aaronpk added "foo" to "See Also""
(view diff)
#
loqi.me
edited /test (+6) "aaronpk added "bar" to "See Also""
(view diff)
#
aaronpk
test << foo
#
Loqi
ok, I added "foo" to a brand new "See Also" section of /test
#
loqi.me
edited /test (+23) "aaronpk added "foo" to "See Also""
(view diff)
#
aaronpk
test << bar
#
Loqi
ok, I added "bar" to a brand new "See Also" section of /test
#
loqi.me
edited /test (+23) "aaronpk added "bar" to "See Also""
(view diff)
#
aaronpk
I wonder if that's a caching thing
#
tantek
aaronpk lol your train post shows a flight path
#
aaronpk
it shows an abstract path :)
#
tantek.com
edited /transit (+247) "form of travel post, indieweb example train by aaronpk"
(view diff)
#
tantek
aaronpk oh? I thought it showed a great circle path (thus roughly approximating longer haul filghts)
#
aaronpk
nah that wouldn't actually look very curved between portland and SF
#
aaronpk
it just makes an abstract curve
#
aaronpk
actual flight path
#
tantek
train posts could show actual rail lines with little train segments like in Ticket to Ride ;)
#
aaronpk
that would be fun
#
aaronpk
no idea where to get that data
#
[kevinmarks]
Google doesn't even do that and it has train data
#
tantek
aaronpk need that for your 2017 year in summary post - map of all your routes traveled :)
#
aaronpk
oh gosh yeah
#
tantek
(would make a cool aggregate view for travel archives by month, year etc.)
#
aaronpk
i'm due for a massive 10-year post this summer actually
#
aaronpk
I started tracking GPS in 2008
#
tantek
what is a train
#
Loqi
It looks like we don't have a page for "train" yet. Would you like to create it? (Or just say "train is ____", a sentence describing the term)
#
loqi.me
created /train (+20) "prompted by tantek and redirect added by tantek"
(view diff)
#
tantek
what is bus
#
Loqi
It looks like we don't have a page for "bus" yet. Would you like to create it? (Or just say "bus is ____", a sentence describing the term)
#
loqi.me
created /bus (+20) "prompted by tantek and redirect added by tantek"
(view diff)
#
tantek
what is light rail
#
Loqi
It looks like we don't have a page for "light rail" yet. Would you like to create it? (Or just say "light rail is ____", a sentence describing the term)
#
tantek
light rail is /transit
#
loqi.me
created /light_rail (+20) "prompted by tantek and redirect added by tantek"
(view diff)
#
[kevinmarks]
Hm, looks like Google does it for trains but not buses
#
GWG
There has to be a service in this people want.
#
GWG
Transit map drawer
#
tantek
GWG definitely
#
aaronpk
it's gonna be a bit of a project to consolidate my 10 years of logs into a single place. it's a bit fragmented right now since I went through so many iterations of how I stored it
#
tantek
clearly aaronpk needs it for his train posts
#
tantek
aaronpk sharing that history (iterations) would be valuable too!
#
GWG
I'm curious how it would work
#
aaronpk
yeah for sure
snarfed joined the channel
#
loqi.me
edited /test (+23) "aaronpk added "foo" to "See Also""
(view diff)
#
aaronpk
sure enough, it's a caching issue
#
tantek
ah, so if you wait long enough after the first See Also, then Loqi won't create the second one
#
aaronpk
I think I can fix it
#
tantek
well the hack is to request a made up query like ?Loqi_time=unixseconds
#
tantek
that busts the cache
#
aaronpk
i'm just adding a secret param that will skip the cache
#
tantek
even better
renem joined the channel
#
loqi.me
edited /test (+23) "aaronpk added "bar" to "See Also""
(view diff)
#
loqi.me
edited /test (+6) "aaronpk added "bar" to "See Also""
(view diff)
#
loqi.me
edited /test (+23) "aaronpk added "foo" to "See Also""
(view diff)
#
loqi.me
edited /test (+23) "aaronpk added "foo" to "See Also""
(view diff)
#
loqi.me
edited /test (+23) "aaronpk added "foo" to "See Also""
(view diff)
#
loqi.me
edited /test (+6) "aaronpk added "foo" to "See Also""
(view diff)
#
aaronpk
k fixed
#
aaronpk
sorry for all the noise
#
aaronpk
oh new idea
#
aaronpk
test << foo
#
Loqi
ok, I added "foo" to the "See Also" section of /test
#
aaronpk
"minor" edits if the change is made in this channel
#
GWG
Anyone have a preferred weather API?
[eddie] joined the channel
#
[eddie]
I like the Dark Sky API
#
[eddie]
Although their snow info hasn’t been great so far this winter
#
GWG
I have my own weather station as well.
#
bear
i've always just used pyMETAR to query NOAA's api
krup joined the channel
#
bear
there is also https://openweathermap.org/api which i've used and it's open source friendly IIRC
eli_oat joined the channel
#
aaronpk
I'm thinking about switching to dark sky but I use wunderground right now
tantek joined the channel
#
bear
i'm wondering what data you get from those api's that a METAR report doesn't have
#
GWG
Now I'm looking for svg weather icons before I've built something to show them
tantek, chrisaldrich and snarfed joined the channel
#
www.boffosocko.com
created /IPython (+499) "moved from ipython; fleshed out and added links"
(view diff)
#
www.boffosocko.com
created /Jupyter (+479) "expand stub; link to project; see also; pagelogo; moved data from jupyter"
(view diff)
tantek joined the channel
#
tantek.com
edited /prefetch (-28) "fix r"
(view diff)
#
tantek.com
edited /rel-prefetch (-31) "fix r"
(view diff)
cweiske, barpthewire, petermolnar, [kevinmarks], AngeloGladding, KartikPrabhu, leg, John___ and [keithjgrant] joined the channel
#
[keithjgrant]
date formatting in Go Templates is a nightmare
#
dgold
yes, it is
#
dgold
that standardised date thing is utter bullcrap, just use standardised codes already
#
[keithjgrant]
I don't even think it's possible to specify a time zone. I also can't figure out how to make it render a 12-hour time
#
dgold
oh, that I worked out
#
dgold
03:04:05PM
#
dgold
for a tz you use 03:04:05PM -0700, or whatever you need
#
dgold
but its hopelessly obtuse
#
[keithjgrant]
I need to force it to render as EST
#
[keithjgrant]
Netlify builds my site, but their local time is UTC
#
dgold
you could ask in the hugo forums (if its hugo)
#
[keithjgrant]
But you just help me realize I had the wrong values in for my hour/minute, so that fixed my 12-hour issue. thanks 🙂
#
[keithjgrant]
yeah, Hugo. Just made a post on the forum
snarfed joined the channel
#
sknebel
[keithjgrant]: ^^^
#
[keithjgrant]
looks promising. I'll have to see if the templates support that. Only a tiny subset of the full language is avaliable 😞
#
dgold
my long nightmare of the soul is over!
#
dgold
I added loads of additional parentheses to my script, and now I can repost & like posts via micropub on my site
#
dgold
repost & like _twitter_ tweets, I mean. It syndicates the like/repost to twitter.com
#
ascraeus.org
edited /like (+415) "/* IndieWeb Examples */"
(view diff)
#
ascraeus.org
edited /repost (-14) "/* Daniel Goldsmith */"
(view diff)
[miklb] joined the channel
#
aaronpk
!tell tantek, the ellipsize_to_word function seems to allow a trailing "(", is that an easy fix? Just noticed one of my notes was truncated as "Just pushed some updates to IndieNews! Notes like this one, (..."
#
Loqi
Ok, I'll tell them that when I see them next
KartikPrabhu, bengo and tantek joined the channel
#
tantek
hey Loqi
#
Loqi
tantek: aaronpk left you a message 1 hour, 1 minute ago: ellipsize_to_word function seems to allow a trailing "(", is that an easy fix? Just noticed one of my notes was truncated as "Just pushed some updates to IndieNews! Notes like this one, (..."
#
tantek
aaronpk pretty sure that was deliberate, to more strongly indicate that hey a whole parenthetical follows this!
#
aaronpk
oh interesting
#
aaronpk
it looks weird to me tho
#
tantek
well if you find a CMOS rule that says NOT to do it, I could change it. I did try to research existing ellipsing rules (which were scant) to implement them along with reasoning for additional special cases per-punctuation
tantek, gRegorLove, chrisaldrich, raretrack, snarfed, [colinwalker] and [cleverdevil] joined the channel
#
tantek.com
edited /micro.blog (+158) "stub How to / How to POSSE"
(view diff)
[xavierroy] joined the channel
#
Zegnat
aaronpk++ for closing another flew of IndieAuth spec issues :D
#
Loqi
aaronpk has 100 karma in this channel (1524 overall)
[keithjgrant] joined the channel
#
[keithjgrant]
Yay! I got my timezone issue sorted. Netlify let me set the TZ environ variable to EST
#
Loqi
does a happy dance!
#
aaronparecki.com
edited /p3k (-5) "open graph tags done, also link to some other feature announcements"
(view diff)
#
aaronparecki.com
edited /User:Aaronparecki.com (+85) "/* related talks */"
(view diff)
schmarty and leg joined the channel
#
tantek
aaronpk want to document what minimal OGP you had to implement on /OGP#How_to ?
#
tantek
what is OGP
#
Loqi
The Open Graph protocol (OGP) is an open* standard developed by Facebook for annotating the primary subject of an HTML page via a set of custom <meta> tags in the document head for the purpose of Facebook showing link previews https://indieweb.org/ogp
#
tantek
similarly for Twitter Cards?
#
tantek
what are Twitter Cards
#
Loqi
Twitter Cards are Twitter's use of OGP and their own proprietary <meta> tags to provide link-preview information as part of tweets with links https://indieweb.org/Twitter_Cards
#
tantek
I think documenting that *minimum* would be very helpful in preventing people from wasting time over-adding all the crap
#
Loqi
[Aaron Parecki] Rich Link Previews for my Website on Facebook and Twitter
John___ joined the channel
#
aaronpk
the interesting part is twitter documents a minimal example of adding twitter tags using facebook's as a fallback
#
tantek
of course, they want you to add their proprietary tags
#
aaronpk
"When using Open Graph protocol to describe data on a page, it is easy to generate a Twitter card without duplicating tags and data."
#
tantek
without *additionally* duplicating :P
#
aaronparecki.com
edited /The-Open-Graph-protocol (+695) "add minimal example tags"
(view diff)
#
tantek
ok question, why do you need <meta property="og:title" content="Hello World" /> ? doesn't it get it from the <title> if you leave that out?
#
Loqi
[mapkyca] php-ogp: Simple PHP Open Graph Protocol parser library
#
aaronpk
tantek: my <title> contains more than what og:title contains
#
tantek
second question, why do you need <meta property="og:url" content="http://example.com/post" /> ? doesn't it get it from the URL of the page that is being link-previewed?
#
aaronpk
often sites will include the site name in <title> (mine included)
#
dgold
had not realized that og: _requires_ an og:image for validation
#
aaronpk
and facebook explicitly does not want the site name in the title of the page
#
aaronpk
oops dgold it doens't, my bad
#
tantek
ok so that's an argument for og:title. but why og:url?
#
dgold
because... its in the spec?
#
aaronpk
it should be the canonical URL of the post, without all the tracking params and stuff that end up in posts shared
#
dgold
og:url - The canonical URL of your object that will be used as its permanent ID in the graph
#
tantek
why do extra work? send extra bytes? if the implementation doesn't need them
#
tantek
that's what rel=canonical is for :p
#
aaronpk
hey I didn't make up the spec :P
#
tantek
but you are free to use a subset
#
tantek
that's the point
#
tantek
also by "the spec" you are implying that the docs are the spec, whereas in practice, "what facebook.com implements" is the spec
#
aaronpk
now I can't find where facebook said which tags were required
#
tantek
because it's not an "open" spec per se (they control it)
#
tantek
there you go, drop og:url and see what happens
#
tantek
I bet it still works
#
dgold
aaronpk: all I has is that
#
tantek
and if you really care, use the standard rel=canonical
#
aaronpk
"The four required properties for every page are"
#
tantek
and make them use it
#
tantek
aaronpk: yes you're citing a doc for a spec that has a single dominant implementation
#
tantek
which means the implementation becomes the practical spec
#
tantek
regardles of what docs say
#
aaronpk
tbh i'm way less concerned with including something as easy as the page URL vs the work I had to do to make a summary that looks good
#
tantek
it's about as DRY as possible
#
tantek
and minimizing proprietary markup
sebsel joined the channel
#
tantek
otherwise you end up down the rathole of Dublin Coreing all the things etc. and before you know it your <head> is bigger than your <body> :P
#
schmarty
weird. here on the matrix irc bridge i am not seeing everyone's updates. i don't see messages from tantek at the moment. :/
#
aaronpk
also it's not just facebook that implemented these tags, Slack and Twitter did too
#
tantek
also if the first image on the page is > 600x315 then you don't need og:image as that will automatically be picked up (I know this from my posts)
#
tantek
Slack and Twitter will implement whatever FB implements, not the spec
#
tantek
not the *documentation* that is
#
aaronpk
the logic required for me to tell whether the first image in the page is >600x315 is way more complicated than just including the meta tag
#
tantek
then the documentation eventually will reflect FB.com
#
aaronparecki.com
edited /Twitter_Cards (+165) "/* IndieWeb Examples */"
(view diff)
#
tantek
the only use I can think of for og:image on a properly structured post is setting it to "" so nothing happens in cases where you don't want one
#
tantek
e.g. a high-resolution profile image in your h-card
#
aaronpk
I actually set the og:image of my review post to a totally separate image that is not in the main post which is a tiled composition of all the post's actual images
#
aaronpk
because no single image in the post was representative of the whole post
#
tantek
why not include that at the top of your post as a u-featured image?
#
aaronpk
because it would be redundant :P
#
dgold
notes that og:image is a requirement, but og:author isn't even in the spec
#
tantek
no it's a thumbnail / summary!
#
raretrack.uk
edited /micro.blog (+212) "/* How to */ ping micro.blog from WP after a post"
(view diff)
#
tantek
or is it possible we actually have a new use-case to document?
#
tantek
preview-image?
[colinwalker] joined the channel
#
tantek
an image that may be a composite of various images in a blog post, suitable for use as a preview, but might not itself be visibly present in the full length blog post
#
tantek
which is unlike u-featured in that way
#
aaronparecki.com
edited /The-Open-Graph-protocol (+609) "/* Indieweb Examples */"
(view diff)
#
dgold
"These are globally defined objects that just don't fit into a vertical but yet are broadly used and agreed upon."
#
dgold
whut?
#
dgold
what's a 'vertical'?
cweiske joined the channel
#
aaronpk
that http://ogp.me site smells like schema.org
#
aaronpk
better to stick to what facebook actually implements I think
#
tantek
exactly
#
tantek
ogp was a more minimal schema
#
tantek
then schema came along and had to gunk it up even worse
#
aaronpk
it seems like none of the fancy stuff in ogp ever got used. turns out the only thing that matters is if the tag can be used to enhance the display of it when people look at it
#
aaronpk
don't need any of these complicated og:type stuff, since in the end they just show a featured image and title/description for everything
#
aaronpk
twitter has gone a little farther with it and lets you make "player" cards that contain videos, but that's it
#
dgold
aaronpk: sending 'like' to micro.blog - is that a webmention-sending operation?
#
aaronpk
sending a like? not sure what you mean
#
dgold
oh, I saw the slack conversation with you & manton - that your site sent a 'like' as a full repost
#
aaronpk
oh yeah. that was because I favorited one of manton's micro.blog posts
#
aaronpk
that sent a webmention from my favorite to micro.blog, and it pulled it in as a reply
#
gRegorLove
I didn't know FB explicitly doesn't want site name in the ogp
#
gRegorLove
Ah, it even follows the rel=canonical as a redirect before it does the scrape.
#
gRegorLove
So yeah, og:url doesn't seem to add value.
#
tantek
and that's worth documenting in /OGP
#
gRegorLove
Doing so
#
aaronpk
gRegorLove++
#
Loqi
gregorlove has 38 karma in this channel (204 overall)
#
Zegnat
reads the og: duplication discussion
#
gRegorLove
Annoying that they *ignore* your explicit og:image if it's under 200x200
#
aaronpk
it makes sense tho
#
Zegnat
Ah, rel=canonical. I got annoyed by that one not too long ago because I couldn’t use it as my mf2 url property for the page.
#
gRegorLove
So maybe I'll drop it altogether since that's the only tag I'm using :)
#
aaronpk
not a lot of ways you can make https://aaronparecki.com/assets/badges/indieweb.png look good
#
tantek
gRegorLove++
#
Loqi
gregorlove has 39 karma in this channel (205 overall)
#
aaronpk
as a featured image
#
Zegnat
Needed to move HTML around, since <link rel="canonical" class="u-url"> isn’t valid in mf2.
[eddie] joined the channel
#
[eddie]
Wow I uploaded Jekyll on my server to a minor version upgrade for a new config setting that I didn't even end up using but it cut my rebuild time from 20 minutes to 7 minutes!!
#
[eddie]
updated* not uploaded
#
tantek
Zegnat: huh? why?
#
gRegorLove
It might make sense on Facebook
#
Zegnat
because mf2 hates hidden data, so u- does not accept href-attribute on link elements.
#
gRegorLove
But I think if someone authors it, they should show it as-is.
tomasparks joined the channel
#
Zegnat
I think I brought that up once before and was told that it was because of hidden data :P
#
tantek
Zegnat hmm I thought I relented on that due to enough requests
#
tantek
maybe that was rel=me?
#
dgold
[eddie]: 7 minutes?
#
dgold
how many pages?
#
Zegnat
It just means you have to make the page link to itself with an <a> element and give that the rel.
#
dgold
and, again, 7 minutes?!?
#
Zegnat
But I don’t always see a usecase for an actual clickable link to itself.
#
[eddie]
Lol 7 minutes is quick for me! 😉
#
Loqi
[Tantek Çelik] microformats2 parsing specification
#
gregorlove.com
edited /The-Open-Graph-protocol (-10) "/* gRegor Morrill */ update my usage"
(view diff)
#
Zegnat
Yes, but it isn’t in the mf2
#
[eddie]
dgold: not sure how to check how many files because they are all in different folders
#
Zegnat
So you can’t use it as the url property of e.g. the page's h-entry
#
Loqi
[Tantek Çelik] microformats2 parsing specification
AngeloGladding joined the channel
#
Loqi
microformats2-parsing-issues
#
gRegorLove
tantek, what happens if og:image is under 600x315? Does it ignore those too?
#
tantek
gRegorLove: no idea
#
aaronpk
facebook claims it will just show up smaller if it's under 600x215
#
dgold
[eddie]: for comparison (not being proselytizer)
#
dgold
[eddie]: hugo does 1,400 pages on my site in .5s
#
gRegorLove
Just checking because I couldn't find those resolutions on https://developers.facebook.com/docs/sharing/webmasters/#images
#
Zegnat
tantek, interesting. “RESOLVED at 2015-01-20 meetup. Make link consistent with a.” - but not in parsing spec?
#
[eddie]
Wow, that does seem pretty good. I have considered potentially moving to hugo at some point. I can't decide whether to do dynamic page rendering in node.js or hugo rendering. 0.5s IS pretty good
#
gRegorLove
Ah, thanks!
#
tantek
Zegnat this is why I thought it was already there
#
tantek
that's what I remember agreeing to
#
tantek
but maybe my bad for failing to edit the spec accordingly!
#
tantek
or I can categorize it as one of the sources of "Note: This specification is only marked as a "Draft Specification" because of pending edits from resolved issues before 2016-06-20. "
#
[eddie]
dgold: It outputs 15,220 files
#
Loqi
[Tantek Çelik] microformats2 parsing specification
#
[eddie]
dgold: some of those are feed pages where it has to loop through all my posts and filter out which ones it wants)
#
Loqi
[Tantek Çelik] microformats2 parsing specification
#
dgold
[eddie]: ditto
#
tantek
Zegnat we can take this to #microformats
#
dgold
[eddie]: each of my post-type pages has an individual atom feed
#
[eddie]
so let's see if hugo does 0.5s for 1,400, 14,000 should take 5s that definitely would be an improvement
#
[eddie]
dgold: are you doing full rebuilds or some type of incremental rebuild?
#
dgold
full rebuilds
#
[eddie]
oh wow that is good then. I'm doing full rebuilds as well but I've considered trying to switch to some type of incremental
#
[eddie]
If hugo is that fast it probably doesn't need incremental lol
#
dgold
[eddie]: as I say - not proselytizing, but 20m is insane
#
[eddie]
Oh yeah, I was getting very upset
#
[eddie]
7 minutes feels like a race car!
#
dgold
I've seen those figures cited by some jekyll users in the past and thought they must have gigantic sites or something
#
[eddie]
Oh, quick question. Is hugo running on your computer or server?
#
dgold
server
#
[eddie]
how much ram?
#
[eddie]
Oh nice. I think I have 2G so no problems there
#
[eddie]
Yeah, I definitely might have to look into it. I'll wait until schmarty does the dive and finds any issues for me 😉 haha
#
Loqi
[eddie]: lol
#
dgold
[eddie]: if you need any details of my switch, i'd be happy to help
#
[eddie]
You used to be on Jekyll?
#
dgold
i was on pelican, but aiui the issues people find are similar
#
[eddie]
ohhhh. I guess by biggest question is on templates. I'm wondering if I'm going to have to change all my templates. Jekyll uses Liquid, not sure what Hugo uses
#
dgold
[eddie]: sarah soueidan wrote up her experience recently:
#
dgold
and there's a lot in there that I can empathise with in pelican->hugo
#
[eddie]
oh great! Thanks! I'll have to read that
#
[eddie]
Ahh Sara! Nailed it "waiting for the site to compile became a torturous, life-sucking process that I wanted to avoid at all costs."
#
[eddie]
and " Jekyll became way, way too slow. “Too slow” is actually an understatement."
#
[eddie]
Thanks for your statistics dgold, I'll definitely have to add looking into hugo as a next step for me
cweiske joined the channel
#
[eddie]
Wow, there's a one line migration tool from jekyll to hugo. The real question.... will all my special jf2 properties kill it? 😆
#
[eddie]
"Congratulations! 8 post(s) imported!" ... 😕
#
dgold
hey - remember I said not proselytising :-)
#
dgold
I wrote a (mad awful very bad) script to reformat all my posts
#
[eddie]
haha no worries 🙂 I just felt like I should try it if it was a one-liner
#
dansup
Edmunds is shutting down their Open API :(
#
dansup
was useful for decoding VINs and other vehicle information
#
tantek
what is Edmunds
#
Loqi
It looks like we don't have a page for "Edmunds" yet. Would you like to create it? (Or just say "Edmunds is ____", a sentence describing the term)
#
tantek
what is lazymention
#
Loqi
lazymention is a Node.js daemon written by AJ Jordan https://indieweb.org/lazymention
#
tantek
that needs a user-friendly dfn
#
Loqi
[AJ Jordan] Announcing lazymention: elegant outbound Webmention for static sites
#
tantek.com
edited /lazymention (+182) "make dfn say what it does for users, not what it is made of split up additional prose, see also"
(view diff)
#
tantek
what is lazymention
#
Loqi
lazymention is an open source service you can run on a Node.js server to send Webmentions for static sites https://indieweb.org/lazymention
#
tantek.com
edited /lazymention (+1) "from"
(view diff)
#
tantek
what is lazymention
#
Loqi
lazymention is an open source service you can run on a Node.js server to send Webmentions from static sites https://indieweb.org/lazymention
#
Loqi
ok, I added "https://strugee.net/blog/2017/12/announcing-lazymention-elegant-outbound-webmention-for-static-sites" to the "See Also" section of /lazymention
#
Loqi
[AJ Jordan] Announcing lazymention: elegant outbound Webmention for static sites
#
tantek
what is emacs
#
Loqi
emacs is the extensible, customizable, self-documenting, real-time display editor https://indieweb.org/emacs
#
tantek
anyone want to try improving that? it doesn't sound very useful
#
tantek
like "display editor"? I always thought it was a text editor
#
tantek.com
edited /photography_policy (+50) "add indieweb relevance and current cultural use of photography / video"
(view diff)
#
loqi.me
created /photo_policy (+31) "prompted by tantek and redirect added by tantek"
(view diff)
bengo joined the channel
#
tantek.com
edited /The-Open-Graph-protocol (+1739) "actually, in practice they're all optional, clarify why you might want to use each property instead of blindly following a spec"
(view diff)
#
tantek
gRegorLove thanks for noting you use meta description successfully. incorporated that into the update ^^^
[kevinmarks] joined the channel
#
gRegorLove
Nice! I wasn't sure how to update that part of /OGP so put it off :)
#
tantek.com
edited /The-Open-Graph-protocol (+107) "simplify first part of dfn, add caveat about in practice"
(view diff)
#
tantek
what is OGP
#
Loqi
The Open Graph protocol (OGP) is an open* standard developed and controlled by Facebook for expressing the primary subject of an HTML page in custom <meta> tags for the purpose of Facebook showing link previews; in practice only a couple are even sometimes necessary for that use-case, and you can use existing open standards instead https://indieweb.org/ogp
#
tantek
gRegorLove: feel free to review my edits ^^^ pretty sure I captured what we discussed in the channel today
#
tantek
yeah I didn't want a major update to go out that overstated how necessary FB controlled OGP was for even the FB linkpreview use-case
#
tantek
might be worth a blog post just to debunk all the SEO garbage articles out there
#
gRegorLove
Running a fresh scrape in https://developers.facebook.com/tools/debug/og/object/ of my URL, I see it picks up my 300x300 profile photo image for a post that doesn't have any other images, so it appears 600 isn't the minimum
#
Loqi
[gRegor Morrill] IndieWeb WordPress Feedback
chrisaldrich joined the channel
#
aaronparecki.com
edited /The-Open-Graph-protocol (+32) "/* How to set title */"
(view diff)
#
gRegorLove
With a post with a larger photo (and which appears in source before my profile photo), it picked up the larger photo: https://gregorlove.com/2017/10/hello-san-diego/
#
tantek
how wide were/are the two photos?
#
gRegorLove
So it would appear to be the first image that's > 200, if the error messages on the debugger is correct
bengo joined the channel
#
gRegorLove
My profile photo is 300
#
gRegorLove
"og:image was not defined, could not be downloaded or was not big enough. Please define a chosen image using the og:image metatag, and use an image that's at least 200x200px and is accessible from Facebook. Image 'https://gregorlove.com/site/assets/files/4652/2017-10-08-san-diego.750x0-is.jpg' will be used instead. Consult http://developers.facebook.com/docs/sharing/webmasters/crawler for more troubleshooting tips."
#
gRegorLove
The second post, with the photo, is 750 wide
#
aaronpk
I can't find a citation for facebook's use of rel=canonical
#
aaronpk
"(which Facebook's own documentation states they support)" should be a link to that documentation
#
tantek
aaronpk it was in the discussion above I thought
#
tantek
that says they first follow rel=canonical before looking the og:
#
gRegorLove
The debugger states it when it follows a redirect.
#
aaronpk
I know you said that in chat, but I didn't see a link to docs
#
gRegorLove
"To find the object, these are the redirects we had to follow ... The following will be treated as a redirect by the crawler:
#
gRegorLove
A HTTP redirect
#
gRegorLove
A <link rel="canonical" href=".." /> tag
#
gRegorLove
A <meta property="og:url" content=".." /> tag
#
gRegorLove
The final URL, which we tried to extract metadata from is highlighted in bold"
#
tantek
ah, then update to according to their own debugger
#
aaronpk
can you screenshot that then?
#
aaronpk
good udpates to that page tho!
KartikPrabhu joined the channel
#
gregorlove.com
edited /The-Open-Graph-protocol (+241) "/* How to set URL */ screenshot + details"
(view diff)
[eddie] and KartikPrabhu joined the channel
#
aaronpk
nice I coudl not find that page for the life of me
#
gRegorLove
It's a maze
#
gregorlove.com
edited /The-Open-Graph-protocol (+79) "/* How to set URL */ docs link"
(view diff)
tbbrown and Zegnat joined the channel
#
tantek.com
edited /The-Open-Graph-protocol (+10) "/* Required Properties */ be more explicit about documentation claim vs However in practice"
(view diff)
#
[kevinmarks]
Hugo is very fast, and you can run it interactively locally while you are editing templates
#
[kevinmarks]
The templating is very powerful (and a bit complex to grasp)
#
[kevinmarks]
I ported lifewithalacrity.com to it, which has a huge number of posts
#
Zegnat
Loqi, +v me! :D
#
tantek.com
edited /The-Open-Graph-protocol (+15) "and controlled"
(view diff)
gRegorLove and chrisaldrich joined the channel
#
tantek.com
edited /100DaysOfIndieWeb (+81) "update 24 days to december or, note IndieWeb Challenge mostly happened"
(view diff)
[eddie] joined the channel