#dev 2018-01-10

2018-01-10 UTC
tantek joined the channel
#
gregorlove.com
edited /micro.blog (+108) "/* Indieweb Examples */ +me"
(view diff)
#
Loqi
aaronpk has 103 karma in this channel (1529 overall)
#
Loqi
[Aaron Parecki] Enabling Global Webmentions with Telegraph and Superfeedr
#
tantek
that's a great how to
#
gRegorLove
!tell manton Where can we file bugs for micro.blog?
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
I don't know if there is anything more official, but there is a #bugs channel on the micro.blog slack
#
gRegorLove
Ah, ok. I'll write a post on my site. Don't feel like joining another Slack just yet :)
#
tantek
gRegorLove++
#
Loqi
gregorlove has 40 karma in this channel (207 overall)
#
gRegorLove
It's just relative URL resolution for images
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[gRegor Morrill] I signed up for a https://micro.blog account and added my Atom feed. All went smoothly and I appreciated that it accepted the Atom feed even though the form requested “RSS feed.” The only bug I’ve noticed so far is that images with a relative...
#
tantek
gRegorLove: did you check to see what the Atom spec says about relative URL resolution?
#
gRegorLove
Now why would I do that? hehe :)
#
gRegorLove
Hmm, and it truncated that note itself when it came through.
#
aaronpk
hm that is weird
#
aaronpk
it tries to notice whether you're posting a microblog update or a link to your own blog post
#
aaronpk
so the fact that it says "gregorlove.com" with a link to your post means it didn't think that was a microblog update
#
aaronpk
why exactly i'm not sure
#
gRegorLove
Hmm, so the granary Atom has xml:base=https://gregorlove.com/notes/
#
gRegorLove
But my images are relative to the domain... so maybe that's it.
#
gRegorLove
tries out Feedly
#
tantek
I stick xml:base on everything that contains XHTML in my Atom feed: http://tantek.com/updates.atom
#
gRegorLove
So does granary
#
tantek
and it's *not* the base of the feed itself, so it's a good test
#
gRegorLove
digs some more
#
gRegorLove
Oh, I see what you mean. granary's is only on the <feed>
[miklb] joined the channel
#
gRegorLove
Ah, thanks!
#
gRegorLove
Feedly got the image
#
gRegorLove
Ah, granary is making a truncated <title> in the Atom
eli_oat and [kevinmarks] joined the channel
#
[kevinmarks]
See what unmung.com makes of your feed (turn on the checkbox to see if feedparser thinks you deserve the bozo bit)
#
snarfed
also let me know if any of this seems like a granary bug
#
gRegorLove
snarfed, I don't think so, though it does make me wonder if it's possible to set a different xml:base.
#
gRegorLove
Er, well maybe a granary bug re: <title> but not focusing on that at the moment.
#
gRegorLove
My images start with a leading slash, so I'd expect it to resolve relative to the domain, not the xml:base. Feedly is doing that.
KartikPrabhu joined the channel
#
aaronparecki.com
edited /IndieWebCamps (+144) "add subheaders for years"
(view diff)
#
[kevinmarks]
Relative urls in feeds are a mess.
#
gRegorLove
Agreed :)
#
snarfed
granary intentionally ellipsizes titles at 14 words or 140 chars
#
snarfed
happy to debate, but right now it's expected
#
aaronpk
gRegorLove: granary supports jsonfeed so you might try that. at least jsonfeed expects to be able to deal with posts with no title
#
aaronpk
(micro.blog accepts jsonfeed in addition to rss/atom)
#
gRegorLove
I was skimming that a big ago, [kevinmarks]. Found it linked in another granary issue :)
#
aaronpk
and then if you find a bug in granary's microformats->jsonfeed conversion you can file a bug ;-)
#
aaronpk
but microformats->atom/rss is always going to be lossy
#
[kevinmarks]
In general, markp dealt with your feed issue more than a decade ago and wrote test cases
#
gRegorLove
Sure. Mostly I'm just testing it out of curiosity.
#
[kevinmarks]
Well, you can embed the mf2 in the entry html, but you may lose feed level stuff
#
[kevinmarks]
Atom does define what to do; rss aggressively refuses to do so.
#
aaronpk
[kevinmarks]: of course you can put whatever html you want in the html, but nothing is going to consume that
#
aaronparecki.com
edited /IndieWebCamps (+123) "stub 2018"
(view diff)
#
[kevinmarks]
Experimenting with this dat: stuff is making relative urls important.
snarfed and snarfed1 joined the channel
#
KartikPrabhu
what is dat?
#
Loqi
Dat is a protocol for transferring files peer-to-peer https://indieweb.org/Dat
snarfed joined the channel
#
snarfed
gRegorLove: thanks for finding that granary jsonfeed bug! fixed it, https://granary.io/url?input=html&output=jsonfeed&url=https%3A%2F%2Fgregorlove.com%2Fnotes%2F works now
eli_oat joined the channel
#
gRegorLove
snarfed: thanks! likes don't seem to show an author. Is that by design?
renem, dgold and AngeloGladding joined the channel
#
martymcgui.re
edited /User:Martymcgui.re (+734) "/* Personal Site - martymcgui.re */ update itches and former itches"
(view diff)
#
martymcgui.re
edited /User:Martymcgui.re (+136) "/* Itches */ itches for wehavetoask"
(view diff)
snarfed joined the channel
#
snarfed
gRegorLove: likes where? got an example?
#
gRegorLove
Same p-author h-card as other notes though
#
snarfed
gRegorLove: ah. jsonfeed says item author defaults to top-level author: https://jsonfeed.org/version/1
#
martymcgui.re
edited /User:Martymcgui.re (-51) "/* My IndieWeb Setup */ masto no mo' :("
(view diff)
#
gRegorLove
Looking better with jsonfeed now: https://micro.blog/gRegorLove
#
gRegorLove
schmarty, writing a novel on mastodon this month?
#
schmarty
ha! i could have done a MastoWriMo back when I had a working mastodon instance. :}
#
gRegorLove
Were you running that one?
#
schmarty
i was. i set it up on a whim to test things against back when aaronpk and snarfed were doing initial research into federating with it, but ended up using it quite a bit.
#
schmarty
because i didn't expect to keep it around, i used a random docker quickstart.
#
schmarty
that worked until i upgraded it, which recreated the db and destroyed everything. :}
#
schmarty
so i studied the docs enough to persist the db and image uploads and started over, refollowed everyone, etc.
#
schmarty
that worked for several months and upgrades, until docker images filled the disks.
#
schmarty
i tried to purge the unused docker images, but purged... all the docker images.
#
schmarty
so i gave up
[miklb] joined the channel
#
[miklb]
high-fives schmarty
#
schmarty
it's all good! in the long run i would rather use something like bridgy fed to interact w/ the fediverse, and follow the folks there using an indie reader.
#
schmarty
woodwind follows mastodon users pretty well.
#
schmarty
(using the mf2 html feed)
#
schmarty
thanks, miklb!
#
gregorlove.com
edited /micro.blog (-43) "/* iOS */ app store link"
(view diff)
AngeloGladding, snarfed, [miklb], cweiske, Kaja and loicm joined the channel
gRegorLove, jeremycherfas, AngeloGladding, leg and sknebel joined the channel
#
sknebel
[kevinmarks] regarding the packaging proposal, since they want to prove that the document is from the source domain, without the browser contacting it, a signature is what they need IMHO. Also adding non-repudiation to HTTPS along the way if I see this correctly (interesting for archives)
eli_oat, dougbeal|mb1, snarfed, loicm and [eddie] joined the channel
#
[eddie]
micropub JSON syntax. When sending a micropub request in JSON, do you prefix properties with mp-* or do you embed the mp properties within an mp object? I couldn’t find any clarity on mp properties in JSON syntax in the spec
#
Zegnat
Both would be acceptable, [eddie].
#
[eddie]
Oh really? Interesting
#
Zegnat
Properties get the mp- prefix if they contain data for the Micropub server to handle, and not to store/be-part-of the microformats object. You can make it 100 mp- properties, or just 1 mp- property specific to your server and have a config object inside there.
#
Zegnat
Though for properties that several server implementations share, they probably expect them as separate properties on the main object. Makes interoperability easier.
#
[eddie]
ohhh okay. Yeah I’m thinking about mp-syndicate-to
#
[eddie]
so you would have a json object with { type: [h-entry], properties: {}, mp-syndicate-to [syndicate-url] }
#
Zegnat
mp-syndicate-to would go inside the properties object, I believe.
#
[eddie]
oh! interesting
#
[eddie]
so just type and properties keys on the root level object. Everything else goes into the properties object, any micropub server communication gets the mp- prefix
#
[eddie]
well that does make things easy
#
Zegnat
The JSON is just “the parsed Microformats 2 JSON format.” Those don’t have random keys in the outer object.
#
[eddie]
💯 Thanks Zegnat 🙂
#
[eddie]
I’m pretty excited. I build a native MicropubPost object in Swift, and I’m building in a method where you provide either ‘urlencoded’ or ‘json’ as an output value and the MicropubPost object will convert itself into the body content needed to be sent
#
dgold
mp-syndicate-to is an _instruction_ to syndicate to these places; syndicated-to is for _already_ existing syndics
#
dgold
oh. hell, I was scrolled back. never mind me, zegnat is righter
#
Zegnat
Note that not all micropub bodies have valid urlencoded variants, [eddie]. If you have properties with objects in them (e.g. in case of `content: { html:"" }`) you *must* use JSON
#
aaronpk
"syndicated-to" isn't a thing, that's just "syndication" at the other end
#
[eddie]
Zegnat: Thanks! That’s good to know, I can return nil to the function in the event that it can’t be converted to urlencoded
#
Zegnat
There might be more gotchas, I am not the expert on the Micropub spec, but can’t think of any others right now. Haha
#
Loqi
Zegnat: lol
#
dgold
there's that weird guy, hangs around here a lot... writes _great_ documentation!
tomasparks joined the channel
#
sknebel
hm, that there is no mp- example with JSON in the spec seems like an oversight. aaronpk, can you still make such purely informative changes, or is that completely process-frozen now?
#
aaronpk
I think technically we can fix typos, but can't make any other updates to the doc
#
aaronpk
it would have to be pretty extreme to make a change too because the WG isn't actually active this year
#
sknebel
feared so
#
aaronpk
speaking of which, I should review that whole section
loicm, tantek, John___, [kevinmarks], snarfed and tomasparks joined the channel
#
Zegnat
Yeey vHWC and testing new tech, gets one to file issues: https://github.com/keithjgrant/omnibear/issues/52
#
Loqi
[Zegnat] #52 Chrome Play Store version behind Firefox version, and doesn’t work with Sink
#
jeremycherfas.net
edited /report_abuse (+428) "/* Instagram */ Reporting account impersonation"
(view diff)
#
sknebel
at least according to apples dev-documentation they'll use wrongly sized favicons if available, and if you don't link any just try the filenames on root
calumryan joined the channel
#
tantek
I wonder if iOS now supports space-separated rel value parsing for the icon
#
tantek
sknebel++ btw for redirecting the convo here
#
Loqi
sknebel has 28 karma in this channel (84 overall)
#
tantek
has anyone tried / depended on rel="icon apple-touch-icon" ?
#
tantek
I'm tempted
#
tantek.com
edited /discuss (+73) "note additional channels in dfn"
(view diff)
#
vanderven.se martijn
created /User:Vanderven.se_martijn/ (+40) "Stealing this from Kaja’s page."
(view diff)
#
gregorlove.com
edited /micro.blog (+147) "/* Criticism */ requires javascript"
(view diff)
krup joined the channel
#
tantek
gRegorLove: interesting. I wonder what the reasoning is. perhaps just omission? those pages all could start with an h-feed of posts, and use JS to auto-update
#
tantek
going to file an issue in the mb gh?
#
gRegorLove
Looks like it's using handlebars JS templating
#
gRegorLove
I hadn't planned to
#
gregorlove.com
edited /picoFeed (+149) "unmaintained, open source"
(view diff)
snarfed and tantek joined the channel
#
gRegorLove
For variety, maybe I'll still work on picoFeed mf2 support, particularly since aaronpk and Zegnat may be interested.
#
aaronpk
to be clear, I only use it for parsing legacy feeds. I do the mf2 feed parsing myself in xray
#
Zegnat
I was interested to start hosting my own rss reader instead of Feedbin. Don't get busy on my behalf.
tantek joined the channel
John___, tantek_, tantek and snarfed joined the channel
#
gRegorLove
Zegnat, ultimately self-hosting a reader was my goal too. I love woodwind.xyz but it's been having issues, understandably, as kylewm isn't available as much to maintain it.
#
dgold
miniflux is _fine_ as a sync backend
#
dgold
not much as a reader, and now unmaintained
KartikPrabhu joined the channel
#
gRegorLove
Realistically I will probably continue to push it off and keep an eye on the other progress on stuff like Monocle and Together :)
#
gRegorLove
dgold: Seems maintained, they just switched to Go for 2.x
#
gRegorLove
Do you use it to sync?
#
aaronpk
feel free to build other Microsub front-ends to Monocle!
#
dgold
i like the look of that evergreen thing on mac, but it doesn't have sync yet, and the dev is fixated on using feedbin as a 1st sync basis
#
gRegorLove
I uh, need to spend some time to wrap my mind around microsub still, haha
leg joined the channel
#
Loqi
hehe
#
tantek
I'd still like to figure out an incremental development path from including integrated reply-contexts in posts on your site to ... an integrated reader on your site
John__ joined the channel
#
aaronpk
I'm happy to make accounts on Monocle for anyone interested in building on top of it
#
gRegorLove
What is Monocle?
#
Loqi
Monocle is an open source IndieWeb-enabled reader developed by Aaron Parecki https://indieweb.org/Monocle
#
tantek
my sense is that there are useful steps along the way, each of which is both not too hard to implement, and provides actual user benefit when built.
#
tantek
I still need to validate that sense by improving my own reply-context retrieving / presentation on replies on my site
#
tantek
s/replies/responses
#
gRegorLove
So is Monocle now a microsub server?
#
tantek
I'm not saying there shouldn't be separate / standalone reader UIs like Woodwind and Monocle, rather that that represents existing (pre-social-media) models / apps, and that a compelling UX (as compared to social media) for gens 2-4 will require integrated /reader UX.
#
Zegnat
Microsub can't replace Feedbin for me without per item readstate, aaronpk :(
#
Loqi
*sniff*
[cleverdevil] joined the channel
#
sknebel
read-state was still open in Microsub, right?
#
aaronpk
yeah i'm still on the fence about it
#
aaronpk
tracking last read position i'm totally in support of
#
aaronpk
but per-item, I will have to be convinced
#
sknebel
I've named the use case why it is crucial for me
#
aaronpk
it feels like a power user thing, or like treating it like email
#
www.svenknebel.de
edited /Microsub-spec (+4) "/* Feedback */ word less wishy-washy, since its actually critical for me"
(view diff)
#
tantek
Zegnat: I think I understand the need for per item readstate (some "feeds" I definitely want to make sure I see / read every item?) - could you add what your thoughts are on that to https://indieweb.org/reader#Challenges ?
#
tantek
happy to help iterate, but I'd like to start with your description of "per item readstate"
KartikPrabhu joined the channel
#
tantek
goes to add his "incremental path" thoughts to Brainstorming
#
Zegnat
I'll look into the Micropub and reader pages when the TV show I'm watching is over.
#
tantek.com
edited /reader (+1367) "/* Brainstorming */ Incremental development path to an integrated reader UX"
(view diff)
#
[cleverdevil]
likes per-item read-state as well.
#
[cleverdevil]
Even if it is treating it like email, that's how I like to consume my feeds 🙂
[kevinmarks] joined the channel
#
tantek
I'd like to set it per feed
#
tantek
most stuff I don't mind treating like a stream
#
tantek
but some things I want per-item
#
sknebel
yes. most microblogging doesn't make sense to follow per-item. with per-item tracking + bulk-commands in the API the reader can relatively easily offer both
#
[cleverdevil]
I agree with that.
#
[cleverdevil]
microblog = stream
#
[cleverdevil]
other content = not a stream
#
[cleverdevil]
I suppose that makes it sort of difficult.
#
[kevinmarks]
There was an apple extension to podcasts that was a bit like that
#
[kevinmarks]
Episodic versus serial
AngeloGladding joined the channel
#
bjoern.stierand.org
edited /User:Bjoern.stierand.org (+194) "Typo fixes and updates"
(view diff)
#
Zegnat
I already have some podcast feeds in my reader set to show chronologically rather than rev-chronologically. It is definitely very content dependent
#
Zegnat
What is microblog?
#
Loqi
It looks like we don't have a page for "microblog" yet. Would you like to create it? (Or just say "microblog is ____", a sentence describing the term)
#
Zegnat
What is microblogging?
#
Loqi
It looks like we don't have a page for "microblogging" yet. Would you like to create it? (Or just say "microblogging is ____", a sentence describing the term)
#
tantek
[cleverdevil]: not sure about microblog = stream. I think it depends on the author.
#
tantek
or could at least
#
Zegnat
~5 minutes away from putting my view in the read state discussion on the wiki :)
#
tantek
5 minutes until Zegnat puts his view on the read state discussion on the wiki
#
Loqi
I added a countdown scheduled for 2018-01-10 2:01pm PST (#6243)
#
[kevinmarks]
We have a failed attempt at that in the microformats past
#
Loqi
attention
#
tantek
[kevinmarks] I think that's unnecessarily conflating *possible* plumbing (attention.xml) with the UX requirements (what me, Zegnat, sknebel are talking about)
#
Loqi
Zegnat puts his view on the read state discussion on the wiki
#
[kevinmarks]
There is an attempted microformats process gathering existing "I've read this" stuff there
#
vanderven.se martijn
edited /Microsub-spec (+2132) "/* Feedback */ My view on the two types of feeds, why one needs per-item tracking, how it does not compare to emails but to real life magazines, and an anti-pattern I have seen abused."
(view diff)
#
Zegnat
Darn, Loqi’s timer beat me :P
#
Zegnat
sknebel, do feel free to review my thoughts. They got a little, uh, longer, than yours ;)
#
Zegnat
I hope the concept I am trying to convey is clear. Concepts are sometimes hard to express in non-native languages, no matter how fluent you think you are.
#
www.svenknebel.de
edited /Microsub-spec (+90) "/* Tracking read state or position */ Inoreader API uses a special tag for read-status"
(view diff)
#
aaronpk
that's interesting
#
sknebel
yeah. not sure if a good idea or not, but different
#
sknebel
(was looking at how similar it is to microsub, since a translator might be interesting for me initially)
dougbeal|mb1 joined the channel
#
Zegnat
Hmm, this feels a lot like describing something like Superfeeder :/ http://inessential.com/2018/01/09/app_idea_mentions
#
Loqi
[Aaron Parecki] I'm doing basically this already thanks to @superfeedr doing all the crawling! It translates any mention of my site into a Webmention which I handle like every other Webmention, which sends me a push notification to my phone! https://aaronparecki.com...
calumryan joined the channel
#
Zegnat
Hadn’t read that yet. Woops
#
Zegnat
Also interesting, Jonathan Snook went and added open graph to his blog. And he spent some time testing and deduping og: and twitter: meta tags: http://snook.ca/archives/html_and_css/open-graph-and-sharing-tags
#
Zegnat
He also found that Twitter’s parser seems to depend on attribute order in the HTML. Which blows my mind.
raucao joined the channel
chrisaldrich joined the channel
#
KartikPrabhu
depends on attribute order in HTML lol!
j12t, tantek and calumryan joined the channel
#
tantek
has anyone here implemented use of registerContentHandler on their own site? https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerContentHandler
#
tantek
this is potentially applicable to the /reader discussions
leotsem1, j12t and oodani joined the channel
#
tantek
e.g.a reader like Woodwind or Monocole *should* be able to use registerContentHandler to register to handle the application/atom+xml and application/rss+xml MIME types, thereby turning every *existing* link to an Atom or RSS feed into a double-opt-in Follow button!
#
tantek
aaronpk ^^^ thoughts? worth filing a /Monocle issue for ?
#
tantek
(i.e. would you use it?)
#
aaronpk
whoa I didn't know about that
#
aaronpk
so if you visit a link with a registered type it would open it in another web page?
#
tantek
like how you can register Gmail to handle mailto: links
#
tantek
(that's the registerProtocolHandler equivalent)
#
tantek
but the feed: protocol never took off
#
aaronpk
i guess that would solve the problem of ending up on ugly XML pages when clicking feed buttons
#
tantek
which is an awful lot of existing links out there
#
tantek
I mean imagine if we suddenly upgraded all those RSS/Atom links to actually work like confirm-to "Follow" buttons without the sites having to do anything themselves?
#
tantek
in the reader of your choice? (a reader service like Woodwind, or your own site with its integrated reader!)
#
aaronpk
that does sound pretty good
#
tantek
caveat: currently *only* supported in Firefox (and at risk of removal!), HOWEVER, given implemented use-case like that, we could flip that and make it an actual standard that other browsers supported
#
tantek.com
created /indiestats (+23) "because I keep looking for it here"
(view diff)
[cleverdevil] joined the channel
#
[cleverdevil]
Whew. Just finished moving my website to AWS.
#
[cleverdevil]
(A little preview of my job change, LOL).
[kevinmarks] joined the channel
#
[kevinmarks]
Is that something you could polyfill with a browser plugin?
leotsem joined the channel
#
[cleverdevil]
Biggest benefit? I'm using RDS so I no longer have to manage MySQL.
#
tantek
[kevinmarks] likely! pretty sure browser extensions can add to the DOM / handle DOM calls
#
tantek
what is RDS
#
Loqi
It looks like we don't have a page for "RDS" yet. Would you like to create it? (Or just say "RDS is ____", a sentence describing the term)
oodani joined the channel
#
aaronpk
i mean dreamhost also manages mysql for you :P
#
tantek
more possible use-cases for registerContentHandler:
#
[cleverdevil]
RDS is Amazon Relational Database Service, a managed relational database service that is part of Amazon Web Services (AWS). RDS provides MySQL, MariaDB, Oracle, and other RDBMS's as a managed cloud service, including automated backups, provisioning, scaling, and more.
#
loqi.me
created /RDS (+295) "prompted by tantek and dfn added by [cleverdevil]"
(view diff)
#
leotsem
Hi everyone! I've just discovered the micropub format and trying to set this up on my jekyll-based blog but running into a few issues.
#
[cleverdevil]
That's true, aaronpk, and we do a pretty great job of it 🙂
#
[cleverdevil]
But, I was using a self-managed MySQL on one of our unmanaged cloud servers.
#
leotsem
I'm getting a "Could not find your authorization endpoint!" but AFAIC I've setup the appropriate meta-tags etc. I feel like I'm missing something but I'm not sure what :/
#
aaronpk
leotsem: what's your site? I can take a look real quick
#
leotsem
theinnerlogic.com
#
tantek
* handle text/calendar to subscribe to Events in your reader
#
tantek
* handle text/directory to add a vCard to your nicknames cache / online address book
#
aaronpk
leotsem: cool, and what client are you trying to sign in to?
#
leotsem
@aaronpk https://ownyourgram.com/ but I've tried others too - so I'm pretty confident there's something wrong on my side
#
aaronpk
hm, i tried fetching your site with curl from my server and it looks like it's sending a gzip response
#
leotsem
is this a problem
#
leotsem
?
#
aaronpk
i woudln't have thought so
John___ joined the channel
#
[kevinmarks]
Will micropub.rocks explain what is awry?
#
leotsem
not really - just the same error "Could not find your authorization endpoint!"
#
aaronpk
it's definitely the gzip thing
#
aaronpk
i thought that http clients normally deal with that
#
leotsem
so are you suggesting turning off gzip for the micropub auth to work?
KartikPrabhu joined the channel
#
aaronpk
hm, even wget returns the gzip data so i am wondering if there' ssomething wrong with the headers it's returning
#
aaronpk
cause i was pretty sure wget knows how to un-gzip
#
leotsem
it's all served via AWS CloudFront / S3, so there's nothing really fancy there
#
leotsem
it does