#dev 2018-06-21

2018-06-21 UTC
snarfed and eli_oat joined the channel
#
loqi.me
edited /WeWork (+193) "tantek added "2018-06-18 The Guardian: [https://www.theguardian.com/commentisfree/2018/jun/18/digital-nomad-homeless-tech-work In a world of digital nomads, we will all be made homeless]" to "See Also""
(view diff)
[jgmac1106] and [eddie] joined the channel
#
[eddie]
I’ll try that out, tantek. It makes sense that Google would only want to push people to Chrome
#
[eddie]
Lame, but it makes sense
renem, leg and dougbeal|mb1 joined the channel
#
jgmac1106
[eddie] it stinks the sharing options in FF work so much better than Chrome on Android. I usally end up in Chrome because of assistant, lame in-app browsers, or voice search.
renem and eli_oat joined the channel
#
@ChrisAldrich
Having just run into @jancavan at #WCOC and talking with her about her relatively recent redesign of WordPress’s reader, I’d be curious to see what she and others might be able to do for a WordPress reader built on top of a solid microsub server. https://boffosocko.com/2018/06/20/yarns-v-microsub-jack-jamieson/
(twitter.com/_/status/1009617274712412160)
eli_oat and [eddie] joined the channel
#
[eddie]
!tell tantek Aperture doesn’t get date/time from your site 🤷‍♂️
#
Loqi
Ok, I'll tell them that when I see them next
#
KartikPrabhu
[eddie]: tantek does have correct mf2 markup
eli_oat, gRegorLove_ and [eddie] joined the channel
#
[eddie]
Hmm that’s strange.... 🤔
#
[eddie]
I’ll have to investigate what’s going on between Aperture and Indigenous then. He’s the only person I’ve seen this not working for
eli_oat, cweiske, iasai, GWG-, gRegorLove and jgmac1106 joined the channel
#
loqi.me
created /Facebook_Workplace (+22) "prompted by Zegnat and redirect added by Zegnat"
(view diff)
barpthewire, [kevinmarks], [miklb], eli_oat, eli_oat1, snarfed, [jgmac1106], [schmarty] and [tantek] joined the channel
#
Zegnat
tld << [https://publicsuffix.org/ Public Suffix List] by the Mozilla Foundation is a “list of all known public suffixes” that people could register under. Good place to find all the extra leveled ones like [[.co.uk]].
#
Loqi
ok, I added "[https://publicsuffix.org/ Public Suffix List] by the Mozilla Foundation is a “list of all known public suffixes” that people could register under. Good place to find all the extra leveled ones like [[.co.uk]]." to the "See Also" section of /Top-level-domain https://indieweb.org/wiki/index.php?diff=48908&oldid=41759
#
sknebel
tld << note that ^^^ that also includes dyndns providers etc, not just TLDs
#
Loqi
ok, I added "note that ^^^ that also includes dyndns providers etc, not just TLDs" to the "See Also" section of /Top-level-domain https://indieweb.org/wiki/index.php?diff=48909&oldid=48908
eli_oat and [kevinmarks] joined the channel
#
[kevinmarks]
I wonder if this could be adapted to a websub client: https://github.com/nolanlawson/pinafore
#
Loqi
[nolanlawson] pinafore: Alternative web client for Mastodon
snarfed, tantek, [jgmac1106], tantek__, jackjamieson, [miklb], iasai, renem and [jgarber] joined the channel
#
[jgarber]
Question for the room: I did some quick looking on the wiki and couldn’t find anything about this. How does one become a member of the GitHub IndieWeb organization? (https://github.com/indieweb)
#
[jgarber]
Asking selfishly, of course. This is presumptuous on my part as the organization _might_ not be open to new members. But, if there _is_ a process for joining the organization, it’d be good to know!
#
KartikPrabhu
[jgarber]: good question. I am a member but I don't know how :P
barpthewire joined the channel
#
Zegnat
I think people whos code is absorbed into the community becomes a member? Or something? There isn’t really a fixed process afaik
#
snarfed
KartikPrabhu: looks like you're an owner, you can add people on https://github.com/orgs/indieweb/people
#
snarfed
yeah, little to no process, just judgment, which is fine
#
snarfed
um open that link
#
[jgarber]
_owner status!_
#
KartikPrabhu
no I mean how did that happen :P
#
snarfed
default to trusting and empowering!
#
KartikPrabhu
ok [jgarber] what's your github
#
snarfed
wikipedia style
#
KartikPrabhu
"I dub thee member of Indiweb on github"
#
[jgarber]
Woohoo! Thanks!
#
Loqi
yay!
#
[jgarber]
My hope is to more-easily work on contributions to the webmention and microformats Ruby gems.
#
KartikPrabhu
:thumbsup:
#
Loqi
tantek__: [eddie] left you a message 16 hours, 38 minutes ago: Aperture doesn’t get date/time from your site 🤷‍♂️
#
tantek__
!tell [eddie] I wonder what mf2 parser Aperture is using then...
#
Loqi
Ok, I'll tell them that when I see them next
eli_oat and [jgmac1106] joined the channel
#
Zegnat
Aperture is using php-mf2, AFAIK
#
KartikPrabhu
Zegnat: but php-mf2 does get the published date/time from tantek's posts correctly http://pin13.net/mf2/?id=20180621190021644
#
KartikPrabhu
maybe Aperture is not playing nice with the space-separated time formatting?
#
Zegnat
Actually, upon further thinking, Aperture only uses XRay in feed mode I think? It never goes to fetch the separate posts. Unless that was updated.
eli_oat and [grantcodes] joined the channel
#
[grantcodes]
Security recommendation request: So I am building my new micropub endpoint, it is going to be headless (ie you can get lists of stored posts from it) but I don't want to run into an issue where there are expired tokens preventing you from getting the posts
#
[grantcodes]
I am not sure if I should add some other authentication system that never expires or force people to refresh tokens which could be kinda annoying
#
Zegnat
What keeps people from using non-expiring tokens in the first place? Most IndieAuth-issued tokens I have seen will be indefinitely valid. Where do you expect an issue with expiring tokens to come up from?
#
[grantcodes]
If I don't control the token endpoint though there is no guarantee of that though
#
Zegnat
That’s true, but as the micropub server is pinned to a single endpoint anyway, I feel it is OK to assume that the token endpoint you are working with should be compatible with your needs.
#
Zegnat
Or are you doing something like Aperture, where you will have separate endpoint URLs for different users, and support separate token endpoints?
#
[grantcodes]
Will be self hosted for now. And only handles the micropub and media endpoint, you pass your token endpoint into the options and it will validate tokens with your endpoint
#
Zegnat
That seems fully correct on all levels. It isn’t really up to the micropub endpoint to get mixed up in the auth level stuff then, imho :) I wouldn’t worry too much
#
[grantcodes]
I am worrying about it for my own use as my token endpoint does expire tokens 😛
#
Zegnat
That seems like your token endpoint needs more tinkering ;)
#
[grantcodes]
Yeah probably
#
[grantcodes]
I'll maybe build in an optional token endpoint in the future anyway. Makes sense to me to have all these endpoints bundled up together
#
Zegnat
It definitely can be. Can also save you some external HTTP calls, e.g. if the micropub endpoint can check the token internally.
#
KartikPrabhu
on the other hand, it might be better to keep all these parts separated and more "modular"
#
[grantcodes]
KartikPrabhu: Agreed, the way I am building it will be very modular.
#
[grantcodes]
But think it would be a nice package for people who want to develop an indieweb site but don't want to write a backend for it themselves.
#
[grantcodes]
Umm now I have a dev question I really should know the answer to... What would you call the base url of a site. It's not a domain because it includes the http(s) protocall
#
snarfed
origin
#
[grantcodes]
Can an origin include a path though?
#
snarfed
i don't know that there's a specific term for scheme + hostname + path
#
snarfed
base url is fine
#
KartikPrabhu
right, it also corresponds to the HTML <base>
#
[grantcodes]
Cool, think I want to support paths so base url works for me
#
KartikPrabhu
which uses the "base url" terminology
snarfed joined the channel
#
tantek__
digs up his URL blog post
eli_oat joined the channel
#
tantek__
[grantcodes]: do you include the query and fragment or not?
#
tantek__
if you don't, then the only thing that has a name for that is jQuery which calls it hrefNoSearch
#
KartikPrabhu
what an ugly name :P
[kevinmarks] joined the channel
#
[kevinmarks]
Base is good.
#
[kevinmarks]
There's a trailing / decision too.
#
tantek__
KartikPrabhu: just for that, you're assigned re-reading of http://tantek.com/2011/238/b1/many-ways-slice-url-name-pieces :P
#
Loqi
[Tantek Çelik] How many ways can you slice a URL and name the pieces?
#
[grantcodes]
In my use case I will not have trailing slashes or queries or fragments
#
snarfed
tantek__: interestingly i don't actually see a single term in that table for what [grantcodes] wanted. funny
#
snarfed
(everything from scheme up to but not including query)
#
tantek__
snarfed, look closer. jQuery row(s), "hrefNoSearch"
#
snarfed
nm, hrefNoSearch is the one
#
snarfed
base url it is! :P
#
gRegorLove
's eyes glaze over at that table
#
[grantcodes]
Who knew urls could be so complicated? 😛
#
snarfed
most of us
#
[grantcodes]
Ha it's usually something I don't need to worry about.
#
[grantcodes]
I also only recently learned the difference between a url and a uri
#
[grantcodes]
But for this case I am definitely not going to call it hrefNoSearch! Base url seems good to me
#
tantek__
"the" 😂
#
tantek__
Did you check the URL standard?
#
[grantcodes]
I can't remember what I was reading
#
gRegorLove
Speaking of URLs, I'm thinking through allowing them for indiebookclub posts.
#
[grantcodes]
It was something along the lines of "what is a uri"
#
gRegorLove
Wondering how paranoid I need to be about linking them on the indiebookclub site itself.
#
[grantcodes]
But now that the base url debate is done I need to decide on a default database. Another tricky decision 😛
snarfed joined the channel
#
[grantcodes]
gRegorLove: What does allowing urls mean in the indiebookclub use case?
#
gRegorLove
A URL to the canonical URL for the work being cited
#
gRegorLove
tries that sentence again
#
gRegorLove
Canonical URL for the work being cited; publisher's book page or an academic paper's URL, etc.
#
gRegorLove
No problem with that for the micropub request, but the posts are also shown on the ibc site.
#
[grantcodes]
I understood that one. I imagine they would be hard to find for books though. I don't know if I'd trust publishers to keep a url alive
#
[grantcodes]
And if the author has a website would that be the canonical url?
#
gRegorLove
I wouldn't either, but that's orthogonal. Mostly thinking about spam links.
#
[grantcodes]
Although that is not necessarily your problem
#
gRegorLove
Yeah, it can be any URL the poster wants to enter really. It would be the h-cite u-url in the mp request.
#
gRegorLove
btw I'm going to add visibility, though probably not before IWS
leg joined the channel
#
snarfed
gRegorLove: feature request? add already existing read posts
#
gRegorLove
I was thinking of a query param `read-of` on the new post form. It would take a URL and parse it for the first `read-of` or fall back to the first `h-cite` and populate the form.
#
gRegorLove
snarfed, is that kind of what you mean?
#
Loqi
[gRegorLove] #7 Feature: Support query string parameters
#
snarfed
maybe? i meant, if ibc is going to be an aggregator also, ie display a stream of read posts, i'd like to add to it (a la news.indieweb) even if i don't use it as my client to create the post
#
gRegorLove
Interesting
#
snarfed
not sure if you're actually doing the publicly visible aggregator thing though. if not, disregard
#
gRegorLove
Profiles are publicly visible, but there isn't a stream of all new posts.
#
gRegorLove
I'll think about it though. Want to focus on the mp client aspect first.
#
snarfed
feel free to use https://snarfed.org/2018-06-17_29222 as an example if/when you get there. parsed mf2 looks ok to me.
#
Loqi
[Ryan Barrett] Tree, trunk, branch, crown Climbing up and sitting down Morning sun becomes noon-blue All the world is old and new   Road, street, track, path Ship, boat, wooden raft Nest, bird, feather, fly All the world has got its sky ...
#
Loqi
[gRegorLove] #9 Consider aggregating read posts via webmention
#
[grantcodes]
gRegorLove++
#
Loqi
gregorlove has 47 karma in this channel (249 overall)
#
gRegorLove
The query parameter stuff I was describing is more for if I see your read post and want to easily add it to my list, a bookmarklet would open the client and have the information filled in by parsing the mf2.
KartikPrabhu, [miklb], snarfed, [kevinmarks], eli_oat and [tantek] joined the channel