#dev 2018-01-11

2018-01-11 UTC
#
leotsem
good spot - I'll have a look into the CDN headers to see if there's something weird going on
#
gregorlove.com
edited /feed_reader (+89) "/* Examples */ +Woodwind"
(view diff)
John___, j12t and snarfed joined the channel
#
convolv.es
edited /feed_reader (+179) "Add NewsBlur"
(view diff)
#
gRegorLove
what is netnewswire?
#
Loqi
It looks like we don't have a page for "netnewswire" yet. Would you like to create it? (Or just say "netnewswire is ____", a sentence describing the term)
#
gregorlove.com
edited /feed_reader (-50) "mv Minimal Reader to old list, wiki link NewsBlur"
(view diff)
snarfed joined the channel
#
gregorlove.com
edited /feed_reader (+64) "/* Examples */ +Evergreen"
(view diff)
#
gregorlove.com
edited /feed_reader (+224) "/* Examples */ +Reeder, fever, The Old Reader, News Explorer"
(view diff)
snarfed1 joined the channel
#
tantek
gRegorLove++ THANK YOU.
#
Loqi
gregorlove has 41 karma in this channel (208 overall)
#
gRegorLove
yw. I think that's all of them, check pages linking to /feed_reader
#
gRegorLove
*checked
snarfed, tantek, j12t, wagle, KartikPrabhu, renem and Kyle-K joined the channel; Kyle-K left the channel
#
tantek.com
edited /principles (-70) "emojicon"
(view diff)
tantek, KartikPrabhu and j12t joined the channel
#
upon2020.com
created /Webm1m (+1626) "initial content based on in-person discussion at HWC SF 2018-01-10"
(view diff)
#
00dani.me
edited /User:00dani.me (-81) "update: pagination works now :o still gotta get most of these other itches scratched though"
(view diff)
j12t and Kyle-K joined the channel; Kyle-K left the channel
#
www.chrisvogt.me
created /User:Www.chrisvogt.me (+66) "Initial page creation — h-card."
(view diff)
tantek, AngeloGladding and cweiske joined the channel
[mlopatka] joined the channel
#
vanderven.se martijn
edited /accessibility (+1008) "/* See Also */ Links to Eric Meyer working on the accessibility of his blog design, contains advice that goes for many on the IndieWeb."
(view diff)
dgold, John___ and [kevinmarks] joined the channel
#
tantek
!tell snarfed reminder, when was the first indieweb reply federated to a mastodon post (and has anyone done the opposite? federated a mastodon reply to an indieweb post?), and do we have a count of the # of replies bridged to mastodon permalinks? (over time)
#
Loqi
Ok, I'll tell them that when I see them next
#
petermolnar.net
uploaded /File:petermolnar.net-tips.png "Tip links displayed on petermolnar.net at the bottom of a tech article. https://indieweb.org/File:petermolnar.net-tips.png"
#
petermolnar.net
edited /tip (+267) "/* IndieWeb Examples */"
(view diff)
#
tantek
petermolnar++ that's a really good way of phrasing the tip and simple UI
#
Loqi
petermolnar has 6 karma in this channel (50 overall)
[mail], leg and [kevinmarks] joined the channel
#
Loqi
[Kevin Marks] Not having anywhere to put a url in the profile, mastodon can't support distributed verification. http://www.kevinmarks.com/distributed-verify.html
jeremycherfas joined the channel
#
Zegnat
I’d classify that as a mention, not reply, in IndieWeb parlance
KartikPrabhu joined the channel
#
[kevinmarks]
It was the one I used to encourage mastodon to have mf2 on the posts
#
Zegnat
Oh, yes, and the Mastodon post seems to show up on http://www.kevinmarks.com/distributed-verify.html, but it doesn’t have /reply markup yet ;) I was being nitpicky.
#
Loqi
Distributed Verification 2016-09-22
#
[kevinmarks]
(I did just resend the webmention so that the mf2 worked, it originally said "unknown")
iasai, [mlopatka], snarfed, [pfefferle], loicm, iasai_ and [miklb] joined the channel
#
snarfed.org
edited /Bridgy_Fed (+2180) "lots more details, history"
(view diff)
snarfed and snarfed1 joined the channel
#
snarfed.org
edited /Bridgy_Fed (+514) "/* Ryan Barrett */ screenshots"
(view diff)
#
aaronpk
oh no!
#
aaronpk
switchboard doesn't work with granary because switchboard expects to be able to make HEAD requests
snarfed joined the channel
#
snarfed
aaronpk: easy fix, happy to make granary handle HEADs
#
Loqi
snarfed: tantek left you a message 6 hours, 12 minutes ago: reminder, when was the first indieweb reply federated to a mastodon post (and has anyone done the opposite? federated a mastodon reply to an indieweb post?), and do we have a count of the # of replies bridged to mastodon permalinks? (over time)
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
hm, why do I need to include a link to bridgy fed in my post? I thought it was going to find my replies from my atom feed
#
snarfed
aaronpk: does switchboard need anything specific from the HEAD response?
#
snarfed
aaronpk: it's just a trigger
#
snarfed
it doesn't poll your feed and auto federate. you trigger it per post with a wm
#
Zegnat
HEAD requests must be equal to GET requests according to HTTP spec, IIRC, snarfed. Just without body.
#
snarfed
Zegnat: yes. i know the spec. in practice there are tradeoffs :P
#
aaronpk
switchboard does a HEAD request just to double check the topic URL exists, so it expects to get a 2xx response
#
aaronpk
is late to the party setting up bridgy fed
#
snarfed
not that late. it's only federated ~50 posts total so far
#
aaronpk
it *thinks* it federated my reply, but I don't see it on mastodon.social
#
snarfed
aaronpk: hrmph, sorry about that
#
aaronpk
can you see what's wrong? the log looks good to me but I dont really know what i'm looking for
#
snarfed
it is occasionally flaky, seems like sometimes more often for new or initial users. honestly i can't always tell why
#
snarfed
yup, looking
#
snarfed
hmm. usually mastodon returns 201 for success, but for yours it returned 204 (no content)
#
Loqi
[snarfed] thanks for looking, @nightpool! i added `id`s and updated `inReplyTo` and `attributedTo` and now get a 204 instead of 500. great! the reply itself still doesn't show up on the original post, https://mastodon.social/@dgold/98862730409351002 , but t...
#
snarfed
hmm it's probably because the AS reply i sent doesn't have an author. that's weird. probably a bug. thanks for finding!
#
aaronpk
my authorship edge case, of course :D
#
aaronpk
hm now mastodon is caching my profile too much and I can't see if anything is working
#
aaronpk
it says it's waiting approval for the follow request. does that mean the websub subscription is pending?
#
snarfed
ugh yeah, profile/post distribution is still a big hand wave in bridgy fed
#
snarfed
it doesn't really do anything there
tantek joined the channel
#
aaronpk
oh? It was documented pretty well so I thought it would work :)
#
snarfed
true, and yet it still often feels unclear and opaque
#
Loqi
[snarfed] #18 figure out user and post discovery
#
aaronpk
ah well. I will wait a month and try again
#
snarfed
aww not that long hopefully. i'm at least fixing that bug right now
j12t, KartikPrabhu, [colinwalker] and chrisaldrich joined the channel
#
upon2020.com
edited /press-kit (+79) "added myself"
(view diff)
tantek joined the channel
#
snarfed
so mf2 q: the author property is usually an h-card, but not always. e.g. aaronpk's is often just a primitive string, with his url.
#
snarfed
and it could also be a primitive string with just a name, if e.g. it comes from something like <span class="p-name">...
#
snarfed
so if it's just a string, and we want to distinguish name vs url, do we need to sniff the value and see if it's a url? any other advice?
#
snarfed
(er sorry, that example html should have been <span class="p-author">...)
#
aaronpk
What is authorship?
#
Loqi
authorship is how to determine who the author(s) of a post are https://indieweb.org/authorship
#
snarfed
heh ok
#
aaronpk
My site falls into step 7 lol
#
Zegnat
“do we need to sniff the value and see if it's a url?” – yes, mf2 does no value types, everything is a string. You need to sniff for URLs.
#
aaronpk
But it’s all described there
#
snarfed
right...but i'm not actually implementing the authorship alg. i'm taking a given mf2 object, which may include an author property, and translating it.
#
snarfed
and the mf2 author value may be a full fledged object, or may just be a string
#
aaronpk
ah yeah I didn't think about the case where the author property is a plain string
#
aaronpk
to find mine, recognize that it's a URL, then you can look elsewhere on the page for a top-level h-card with the same URL and get the info from there
#
snarfed
and it is on your post :P !mf2 https://aaronparecki.com/2018/01/11/4/
#
Loqi
[Aaron Parecki] Test reply for Bridgy Fed
#
aaronpk
yeah my permalinks have the URL as the "author" property an the h-card is at the bottom of the page (the second mf2 object)
#
snarfed
right. i may extend this to do full authorship...but right now, it's handled as an isolated translation from mf2 object to AS2, entirely in memory
#
aaronpk
if you have the mf2 tree in memory you should be able to do the whole authorship algorithm except for the part about fetching the URL
[keithjgrant] joined the channel
#
upon2020.com
created /Webm1m/PR (+981) "initial list"
(view diff)
#
aaronparecki.com
edited /Webm1m/PR (-3) "Webmention, not Web Mention plz :)"
(view diff)
#
[keithjgrant]
how do y’all ping superfeedr after publishing something? I always have to look it up and I’m never sure it ever worked
#
aaronpk
I am also never sure if pinging superfeedr works
#
aaronpk
that's why with switchboard I made it return some info about the publish
#
aaronpk
at the very least you can just look for a 2xx status code response and that's about as good as it gets with superfeedr
#
sknebel
subscribe to your own site and check you get notifications? of course that's more external monitoring, not something that respond in-band to an issue
#
[keithjgrant]
yeah, I just spammed the heck out of Superfeedr... eventually its dashboard showed the pings (it doesn't update immediately). But still not seeing latest post in Feedly
#
[keithjgrant]
is the hub.url supposed to be the index page url, or the feed (xml) url?
#
[keithjgrant]
or just the site domain?
#
aaronpk
the URL that you're publishing
#
aaronpk
so, feed xml url most likely
#
aaronpk
unless you're publishing your HTML page of course
#
[keithjgrant]
i wonder if Feedly is the issue? this is a pain to debug
#
aaronpk
you can try subscribing on https://websub.rocks to see if your publishing is working
#
[keithjgrant]
hm. for https://keithjgrant.com/posts, should the 'self' include '/posts' ?
#
aaronpk
actually /posts/ since you redirect to the trailing slash
#
aaronpk
you'll notice it subscribes to a "self" url of "https://keithjgrant.com"
#
Loqi
Keith J. Grant
#
aaronpk
which means it'll never get a notification unless you tell the hub that you're publishing "https://keithjgrant.com"
#
Loqi
Keith J. Grant
#
[keithjgrant]
what about 'self' on the page of an individual post?
#
aaronpk
you don't need that for websub
#
[keithjgrant]
okay, that's fixed
#
[keithjgrant]
websub.rocks/publisher is waiting for notifications. should it get one whenever I ping superfeedr?
#
[keithjgrant]
or only after a new post?
#
aaronpk
oh yeah it'll need a new post for superfeedr to send out the notifications
#
aaronpk
so if you add a post to that page, then send a publish request with "https://keithjgrant.com/posts/" as the URL, you *should* see the notification
#
[keithjgrant]
switching to /notes/ since it's easier to publish quickly
#
[keithjgrant]
curl --data "hub.mode=publish&hub.url[]=https%3A%2F%2Fkeithjgrant.com%2F&hub.url[]=https%3A%2F%2Fkeithjgrant.com%2Fnotes%2F" http://keithjgrant.superfeedr.com
#
[keithjgrant]
doesn't seem to work 😕
#
aaronpk
I did it with "curl https://keithjgrant.superfeedr.com -d hub.mode=publish -d hub.url=https://keithjgrant.com/notes/" and I got the notification!
#
[keithjgrant]
oh, something's come through
#
[keithjgrant]
don't need to url encode then?
#
aaronpk
-d handles it
#
[keithjgrant]
awesome. worked again. Thanks for the help!
#
Loqi
aaronpk has 104 karma in this channel (1530 overall)
#
aaronpk
speaking of websub, newsblur is trying to subscribe to some things on switchboard and their callback URLs are returning 404
#
Loqi
yay!
#
[keithjgrant]
saving that into a shell script
#
[keithjgrant]
hopefully automate it some dae
[kevinmarks] joined the channel
#
[keithjgrant]
well, feedly is still a laggart
#
aaronpk
at least you know your publishing is working now!
#
gRegorLove
I subscribe to my h-feed and XML feeds in Woodwind and usually use it to test if superfeedr got my ping
#
gRegorLove
Recently used websub.rocks as well; works well!
#
gRegorLove
Woodwind hasn't updated any feeds for me in a bit, unfortunately.
#
gRegorLove
feels bad pestering kylewm about it, so usually doesn't
[mail] joined the channel
#
aaronpk
!tell tantek somehow your events are missing the p-name class when they are on your home page, but include the class on the permalink
#
Loqi
Ok, I'll tell them that when I see them next
[miklb] joined the channel
#
[miklb]
saw some activity on the mastodon/fed.brid.gy issue, but doesn’t appear any change for me
#
aaronpk
!tell adactio is there any partilcular reason you don't have a photo in your h-card on your rel=author page? https://adactio.com/about/myself/
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
Jeremy Keith
loicm joined the channel
#
Zegnat
aaronpk, you might want to +o Loqi so he can +v people again?
#
aaronpk
loqqiiiii
#
Zegnat
Oh, he is gone on all channels. But so are most people’s +vs ... was there a netsplit I missed?
#
aaronpk
must be
cweiske joined the channel
#
[miklb]
why is it picking up twitter.com as username and url?
#
aaronpk
what is?
#
[miklb]
I’m not sure where that page gets created?
#
[miklb]
“preferredUsername”: “twitter.com”
#
gRegorLove
asks Loqi for a v
#
[miklb]
whereas when I look at snarfed https://fed.brid.gy/snarfed.org
[dariusdunlap] joined the channel
#
sknebel
your homepage h-card has twitter as the first u-url
#
[miklb]
seems like a good time to clean up my h-card then. thanks sknebel
#
sknebel
it should at least have a self-reference as well
#
sknebel
some people do u-url for external sites, not sure if there is a fixed "rule" about that
#
Zegnat
What is a representative h-card?
#
Loqi
The representative h-card for a page is an h-card on that page that represents that page, if any, as not all pages are about a person or organization, a page might not have a representative h-card https://indieweb.org/representative_h-card
#
Zegnat
That’s the concept of the self-linking h-card ^^^
#
aaronpk
can someone who knows python describe what's happening with this "for...else" here? https://github.com/kylewm/silo.pub/blob/master/silopub/twitter.py#L322
#
aaronpk
is for...else a thing?
#
sknebel
yes, it is
#
sknebel
else part is executed if the loop finished (=wasn't exited with "break")
#
[miklb]
Zegnat thanks. I’ll look for some markup examples
#
aaronpk
thanks
#
aaronpk
comments out that whole block
#
aaronpk
i'd rather have the tweet fail than have it do the "Re: {url}" thing on twitter
#
aaronpk
that's bitten me a couple times already
KartikPrabhu and [eddie] joined the channel
#
[eddie]
I’m not 100% but I’m thinking I did this wrong and Title should be beneath “Replying To”, any thoughts?
#
aaronpk
I agree
#
aaronpk
in Quill, the thing you're replying to (reply context) is at the very top
#
aaronpk
also consider doing what micro.blog does where it only shows the title field if you type a reply that's longer than some number of characters
#
aaronpk
titles for replies is relatively uncommon anyway
#
[miklb]
🎉 fixing my h-card I now show up in mastodon.social
#
[eddie]
That’s actually exactly what I’m doing. Default 280 characters, but I will probably make that a setting that can be adjusted
#
[eddie]
Basically the posting screen is the same no matter what you are posting. If the reply attribute is set on the micropub object, the reply field appears (the goal is it will also turn into a link preview if my xray instance can parse it).
#
[eddie]
Thanks for confirming the title/reply switch. I did it as displayed but then it felt really off. haha
#
[eddie]
Congrats miklb!!
#
Loqi
rofl
John___ joined the channel
#
Zegnat
Omnibear also puts the reply-to information above the UI. If you needed more prior-art :)
#
[eddie]
:thumbsup: Yes, definitely helps to know more UIs are doing that
#
[eddie]
thanks 🙂
#
Zegnat
BTW, [eddie], may I point you at http://www.otsukare.info/2017/11/02/fatwigoo ? When I go to your homepage with my current CSS/JS blocking my entire screen is filled with 2/3 of your menu icon. 😇
[colinwalker] and [kevinmarks] joined the channel
#
Zegnat
Omnibear reply interface: https://i.imgur.com/rU19HFP.png
#
aaronpk
my initial attempts at using Monocle as a public aggregator are promising
tantek joined the channel
#
sknebel
aaronpk: "public aggregator"?
#
aaronpk
Like a planet
#
aaronpk
But not all posts from the blogs, just select ones
#
upon2020.com
edited /Webm1m (+65) "Added link to snarfed's post on methodology"
(view diff)
[mail] joined the channel
#
[mail]
So I'm building my new indieweb website. Planning posts table. I'm just wondering about structure.
#
[mail]
I was thinking of a root post table that would hold `id, published_at, is_public`.
#
[mail]
Then give each post type a separate table that would link back to its root post.
#
[mail]
Does anybody smell any issues with that approach?
#
snarfed
[mail]: we've generally moved away from explicit post types
#
sknebel
many of us don't seperate posts in storage by type
#
snarfed
silos have generally moved away from them too
#
sknebel
but build the post presentation from the data attached to a post. E.g. aaronpk's site and mine have some variant of the mf2 as YAML stored
#
[mail]
ah k. So for example I will want to write posts / notes / articles etc.
#
[mail]
But also log tv / films watched and music listened to.
#
[mail]
I was thinking of making all as 'posts' but didn't want all of the tables for everything in one mega-table
#
tantek
[mail] consider a minimum viable posts table first, like just to handle "notes"
#
Loqi
tantek: snarfed left you a message 5 hours, 6 minutes ago: done! https://indieweb.org/Bridgy_Fed
#
Loqi
tantek: aaronpk left you a message 2 hours, 18 minutes ago: somehow your events are missing the p-name class when they are on your home page, but include the class on the permalink
#
tantek
uh oh
#
[mail]
😬
#
[mail]
"uh oh" doesn't sound good
#
tantek
yeah that was in response to aaronpk
#
[mail]
ah k
#
sknebel
[mail]: the benefit of having less fixed structure is that you can mix types. E.g. a reply with an image is just a post that has a "reply-to" property and an "image" property, which in a naive split into specific post types with a (Database)schema for each type can be harder
#
[mail]
ah ok
#
[mail]
thanks tantek. Yer I think I'm trying to plan the whole thing in one go
#
[mail]
I'll go with your advice i think
[eddie] joined the channel
#
[eddie]
mail I store all my posts as “posts”, eating, drinking, watching, listening, articles, notes, likes, etc. that said, i store my posts as flat files so it doesn’t clog up a database table
#
[mail]
With something like jekyll you mean?
#
sknebel
flat files as a backend for dynamic software also works well
#
[mail]
hmm. I'd never thought of that
#
sknebel
I think aaronpk uses a database just for the index of what posts exists and has the actual per-post data in flat files
#
sknebel
my site still does everything from flat files
#
tantek
aaronpk, now I can't be sure I don't have that same bug with just /article posts on my home page too!
#
tantek
maybe I should write a blog post to find out
#
[mail]
eddie, sknebel, i was looking at this: https://github.com/Greg0/Lazer-Database
#
Loqi
[Greg0] Lazer-Database: PHP flat-file database to store data with JSON
#
[mail]
ooh found a markdown one too. Seems interesting
sebsel, [kevinmarks] and chrisaldrich joined the channel
#
Loqi
[pfrazee] #3 Mentions
#
[kevinmarks]
wihtknown uses a json in mysql approach iirc