#dev 2021-04-02
2021-04-02 UTC
btrem and [tantek] joined the channel
#
@dansvel ↩️ blogspot tapi pengen webmention,,?
keknya cuma bentuk html component aja,,
aku udah nulis yg graphcomment (twitter.com/_/status/1377802268624396290)
lanodan and [cleverdevil] joined the channel
#
@GR36 One thing I don’t like is webmention doesn’t seem to work very well on http://micro.blog.
If someone writes a post on here, about my post I have no idea. Where as on WordPress I got a comment. (twitter.com/_/status/1377860151487688705)
jjuran, samwilson, dhanesh, ShadowKyogre, KartikPrabhu, [Rose] and [KevinMarks] joined the channel; ShadowKyogre left the channel
#
[KevinMarks] Interesting https://www.sarasoueidan.com/blog/redesign/
![](https://chat.indieweb.org/img.php?url=http%3A%2F%2Fwww.kevinmarks.com%2Fkm.jpg&sig=6494ae80202670629add2c3b259652af09c48c2abbee37ed05b3e75e2d83577b)
djmoch and [tantek] joined the channel
[snarfed] joined the channel
ShadowKyogre joined the channel; ShadowKyogre left the channel
superkuh, KartikPrabhu and ShadowKyogre joined the channel
[chrisaldrich], [tw2113_Slack_] and [schmarty] joined the channel
[KevinMarks] joined the channel
#
[KevinMarks] Inkstone maybe?
![](https://chat.indieweb.org/img.php?url=http%3A%2F%2Fwww.kevinmarks.com%2Fkm.jpg&sig=6494ae80202670629add2c3b259652af09c48c2abbee37ed05b3e75e2d83577b)
tomlarkworthy joined the channel
#
tomlarkworthy Awesome my relmeaith server can get a github access_token. I don;t actually want these potentially PII things in my system, so I want to exchange a 3rd party token for one that just has the username/URL data in it
#
tomlarkworthy This seems like it would fit the indieauth token_endpoint use case https://indieweb.org/token-endpoint#Creating_a_token_endpoint
#
tomlarkworthy seems like have a ton of design liberties with how I make the token, so I am going to create my tokens using the Firebase CustomToken scheme
#
tomlarkworthy @Aaronpk, yeah, I can exchange the token in memory so I never persist it
#
tomlarkworthy if I use a Firebase customToken, then I can use those tokens to auth with Firebase services which will be generally handy elsewhere
#
tomlarkworthy ok so with pure RelMeAuth
#
tomlarkworthy I would jsut send the github token off?
shoesNsocks joined the channel
#
tomlarkworthy or more accurately, a service accepting relme, uses the links to know that github is an acceptable form of identification for a person identified as a URL
#
tomlarkworthy so one the service has to bring its own Oauth client for github, and accepts that authentication
#
tomlarkworthy yeah
#
tomlarkworthy yeah
#
tomlarkworthy ok so I want to go a bit further as I want to mint cusotm tokens that do not contain PII that work with the Firebase ecosystem
#
tomlarkworthy so I need to mint my own tokens
#
tomlarkworthy ok yeah, coz indie auth allows you to bring your own token endpoint and makes no assertions ont he structure
#
tomlarkworthy so in general, you have no idea what comes out of people's token endpoints, only that they are later verifiable
#
tomlarkworthy at that same endpoint
#
tomlarkworthy ok jsut the authorization code is enough to confirm identity? at the authoerization_endpoint?
#
aaronpk right, that will return the "me" url in the response, described here https://indieauth.spec.indieweb.org/#profile-url-response
![](https://chat.indieweb.org/img.php?url=https%3A%2F%2Faaronparecki.com%2Fimages%2Faaronpk-128.jpg&sig=fcc92d9a2a2192cebb3e92cd1bf91bd7b844f7ef87301cbe5d35b9847b0d0ae0)
#
tomlarkworthy yep ok
#
tomlarkworthy awesome thanks for clarifying
alex11 joined the channel
btrem joined the channel
#
btrem I recently learned that colons are acceptable in urls. So I could use e.g. `/foo/2021/02/22-10:37`
#
btrem But there are probably caveats. Anyone want to point one (or more) out?
#
btrem "anchor part"? You mean a fragment url? Like `foo#10:37`?
#
btrem So what do you mean by "used to parse timestamps?" The "10:37" *is* a timestamp for a post written on February 2, 2021 at 10:37.
#
btrem aaronpk: is this a chicken/egg question? How does one start a new mf idea?
#
btrem A month ago or so, someone added `u-translation-of` to `h-entry`, but there was no consumer when he proposed as far I know.
#
btrem bicbw
#
btrem Maybe I forgot what it was, or maybe I don't grok "consumer."
[KevinMarks] joined the channel
#
btrem Ah yes, that jogs my memory.
#
btrem Right you are
#
[KevinMarks] btrem: the media fragment spec uses them for timestamps https://www.w3.org/TR/media-frags/#naming-time eg foo#t=10:37
![](https://chat.indieweb.org/img.php?url=http%3A%2F%2Fwww.kevinmarks.com%2Fkm.jpg&sig=6494ae80202670629add2c3b259652af09c48c2abbee37ed05b3e75e2d83577b)
#
btrem I see, but that spec refers specifically to media url fragments. In the case of an html fragment, it doesn't (seem to?) apply.
[tantek] joined the channel
#
btrem In any case, if timestamps are a convention in urls, should I regard that as a good reason to use `10:37` as part of an html page url? Or a reason to avoid it?
#
Loqi URL design is the practice of deliberately designing URLs, in particular, permalinks, typically for a better UX for everyone who creates, reads, and shares content https://indieweb.org/URL_design
![](https://chat.indieweb.org/img.php?url=http%3A%2F%2Floqi.me%2Flogo%2Floqisaur.png&sig=3571041228810c0664972bd517c3e0cb2b50fe82c7359f310bed393df91a84e0)
#
btrem I've read that, but apparently not well enough to recall the section on time in urls. Which indicate that colons in time are ok (and preferable to no seperaters, even!).
#
btrem I'm probably going to omit seconds. That way I can regret it for the one time two months from now when I create two brief items in the same minute of a day. ;-)
#
btrem lol
#
btrem I don't create posts via cron jobs, so not a worry for me.
#
btrem Thing is there isn't a convenient way to create arbitrary urls in 11ty, e.g., `2021/04/02-1` 2021/04/02-2`, etc.
#
btrem If there were, I'd most likely go with that.
#
btrem I imagine that's common to ssg programs that store data in text files.
#
btrem Hmm, I wonder if that is possible in 11ty. I haven't come across anything like that in my searches (and I have been searching for a few weeks now). I gotta think on that.
#
btrem jekyll is ruby based, is that right?
#
aaronpk this is what mine looks like on disk https://indieweb.org/p3k#Folder_Structure
![](https://chat.indieweb.org/img.php?url=https%3A%2F%2Faaronparecki.com%2Fimages%2Faaronpk-128.jpg&sig=fcc92d9a2a2192cebb3e92cd1bf91bd7b844f7ef87301cbe5d35b9847b0d0ae0)
#
btrem I don't know much about it, but do you store data in frontmatter?
#
btrem sknebel: in fact, osx seems to not like them. I can't create a file with a colon in the name. But for reasons that escape me, 11ty writes files and substitutes a solidus for the colon, but then serves them up correctly. It's actually kinda weird, and I haven't poked around to see what exactly is happening.
#
btrem sknebel: what would be the problem with relative links?
#
btrem Yeah, it *is* really strange on osx.
#
btrem Yeah, that could be a problem.
#
btrem I almost never write urls that way. Intrasite urls almost always start with a solidus `/foo/lorem-10:37`.
#
btrem sknebel: I could. The site is just my personal site, nothing critical.
#
btrem [tantek]: I'm (nearly?) always relative to the domain. (I'm actually not sure what you mean by "document base.")
#
[KevinMarks] : was the directory separator in Mac OS pre X, so it needed special casing for compatibility
![](https://chat.indieweb.org/img.php?url=http%3A%2F%2Fwww.kevinmarks.com%2Fkm.jpg&sig=6494ae80202670629add2c3b259652af09c48c2abbee37ed05b3e75e2d83577b)
#
btrem [tantek]: ok, that's what I guessed. So yeah, my relative urls are relative to the url in (almost?) all cases.
#
btrem [KevinMarks]: I have 11ty write files like `26-17:56`, and what I see in my directory is `26-17/56`. But I can then open that in Firefox and the url shows `2021/01/26-17:56`. I don't know what voodoo is going on, but it seems to work.
#
[tantek] great and now I've made up another name for a part of a URL (which AFAIK didn't previously have a part, though maybe the HTML spec says something). More work for https://tantek.com/2011/238/b1/many-ways-slice-url-name-pieces
![](https://chat.indieweb.org/img.php?url=https%3A%2F%2Ftantek.com%2Flogo.jpg&sig=fdc026586d46976e19df06a113be643ff26d1dec5e3cb4e70d23224b6b3de6d0)
#
btrem [tantek]: I think that's normally called the path, isn't it?
#
[tantek] see diagram here with which parts are called what: https://tantek.com/2011/238/b1/many-ways-slice-url-name-pieces#ud
![](https://chat.indieweb.org/img.php?url=https%3A%2F%2Ftantek.com%2Flogo.jpg&sig=fdc026586d46976e19df06a113be643ff26d1dec5e3cb4e70d23224b6b3de6d0)
#
btrem Right. Umm, so what's the difference between path and document base?
#
btrem Yeah, our messages crossed paths. (See what I did there?) :)
#
btrem That table is bonkers!
#
btrem Ok, there's some voodoo magic happening with the colons. 11ty write a file `02-17:56`. In the os, the file appears as `02-17/56`. When I upload it to a Linux server, it's `02-17:56`. So the solidus substitution is perhaps only a display thing?
#
btrem ...and only in the gui finder window. In a terminal, the colon is, in fact, there.
#
btrem So yeah, apparently just a display feature of osx finder.
#
btrem Yes, I noticed that. If in finder I try to rename a file to include a `:` it says no.
#
btrem But 11ty can create a file with a `:` without a problem afaics.
#
btrem But I can rename a file with a colon in a terminal using `mv`.
#
jacky I was hunting for a page that highlighted how syndication is an extension to Micropub and found https://indieweb.org/Micropub-brainstorming#syndication
![](https://chat.indieweb.org/img.php?url=https%3A%2F%2Fjacky.wtf%2Fassets%2Ffavicon.c9a993d2.png&sig=f2731de85966af5259a40133cfd12adf08de58bdc4e0afcf86d5e5da01d988cc)
[KevinMarks] joined the channel
#
[KevinMarks] When we were building OS X compatibility with older macos was key, and Carbon used : everywhere, the apps concatenated paths with strings etc so the finder preserved that
![](https://chat.indieweb.org/img.php?url=http%3A%2F%2Fwww.kevinmarks.com%2Fkm.jpg&sig=6494ae80202670629add2c3b259652af09c48c2abbee37ed05b3e75e2d83577b)
KartikPrabhu, [fluffy] and [tantek] joined the channel