#dev 2020-08-01
2020-08-01 UTC
geoffo and [tw2113] joined the channel
[arush] and [tw2113] joined the channel
# jacky TikTok << Downloader tool for one's TikTok profile https://www.fyp.rip/
# Loqi ok, I added "Downloader tool for one's TikTok profile https://www.fyp.rip/" to the "See Also" section of /TikTok https://indieweb.org/wiki/index.php?diff=71778&oldid=70987
nickodd, [fluffy], dckc, dhanesh95, moppy and vika_nezrimaya joined the channel
# vika_nezrimaya Oh no. I am completely infuriated
# vika_nezrimaya Why the heck a styled div and input don't look the same with the EXACT SAME border settings?
swentel joined the channel
# vika_nezrimaya This is impossible, this is literally impossibl
# vika_nezrimaya I tell you, I am using the exact same CSS that the inspector shows to me as a UA stylesheet
# vika_nezrimaya which means that the UA stylesheet is... WRONG?
# vika_nezrimaya How is this possible?!
# vika_nezrimaya This is impossible...
# vika_nezrimaya I am completely lost and I do not understand how styling an item with the exact same CSS as a browser stylesheet will result in a different result.
[KevinMarks] joined the channel
# [KevinMarks] Inputs have different default styles in different browsers
# vika_nezrimaya But I even set `appearance: textfield`, `appearance: searchfield` and generally everything I could do!
# vika_nezrimaya wait
# vika_nezrimaya oh no it didn't work again :c
# vika_nezrimaya maybe I need more coffee?
# hirusi[m] Is there a way for me to check if a Micropub endpoint supports the slug extension?
# vika_nezrimaya As far as I know, your only way is to hope it does. If it doesn't, it simply ignores the "mp-slug" command and does its own thing with the URL.
# [KevinMarks] You can see if your slug is in the location returned after posting, but I don't think you can check in advance
# hirusi[m] Thanks, Kevin. I thought so too... The only thing to do would be to remember it for every user, which is not fun.
# hirusi[m] vika_nezrimaya: Thanks, I'm relying on that hehe
# vika_nezrimaya I definitely need more coffee. Several attempts to parse rel-urls from a page, including a JS library (which doesn't work with ES6 modules yet) and two endpoints with CORS not configured, all obviously failed
[jgmac1106] and [grantcodes] joined the channel
# [grantcodes] hirusi: there is an experimental query for supported properties. But probably only implemented by 1 or 2 people
# jacky you can check for what properties a Micropub endpoint support by checking if `mp-slug` or `slug` is in `?q=config` https://micropub.spec.indieweb.org/#configuration
# hirusi[m] Yeah, I don't see anything there, and I didn't expect to
# hirusi[m] If this is the case, wiki needs to be updated and projects will need to be informed
# hirusi[m] grantcodes: you have in fact left a comment about this in oct 2019 :)
# hirusi[m] > Then there are lots of other things that may not be supported but are not necessarily dangerous - eg. mp-slug, category etc etc. So it would still be nice to be able so remove redundant UI components in micropub clients.
# hirusi[m] This is exactly my use case.
nickodd joined the channel
# @VincentTunru Just realised that I never really shared that I wrote a small npm package to send #WebMentions a while ago. It's automatically tested against the full https://webmention.rocks test suite, work in both Node and the browser, and includes type definitions.
https://www.npmjs.com/package/webmen (twitter.com/_/status/1289585902893912066)
[tb] joined the channel
# [tb] Is the the `q=config` endpoint on a Micropub server supposed to allow unauthenticated requests? The spec seems to indicate it should be authenticated just the same as any other request, but I was racking my brain as to why iA Writer couldn't connect to my server this morning and then realized upon inspecting the request that it's not even sending the token that I gave it in its initial `/micropub?q=config` request
# hirusi[m] Is syndicated content supposed to carry a link to the original content page (our sites) - or is that optional?
# [tb] I shot them an email about it
[KevinMarks] joined the channel
# [KevinMarks] If the original fits in a tweet anyway, then for people who click through expecting more, they're disappointed.
# [tb] I suppose I'll just keep developing my server to spec — I'd really like to use iA Writer directly in my workflow but not the end of the world
# hirusi[m] yeah, my idea when writing notes would be to keep it under 280 or 500 depending on if im syndicating to just mastodon, or twitter as well.
# [KevinMarks] Also, if you set up the twitter/fb preview metadata, then the link can e d up showing the tweet text again
# hirusi[m] KevinMarks: YES!!
# hirusi[m] but how is it configured? is this happening in my case because I'm using brid.gy to syndicate?
# hirusi[m] i.e. link back being included
# [KevinMarks] And if you put it in the title and the content, you get 3 copies of it, and a link to the same text again
# hirusi[m] Wow, thank you! I just thought this was necessary and it was really turning me off.
# [tb] Oh wow iA Writer's team responded to me right away, they said that the `Authorization` header should indeed be getting sent in the `q=config` request so now I'm about to jump down the rabbit hole and see what in my chain of things is stripping that header lol
# aaronpk there are some reasons *to* include the link... https://indieweb.org/POSSE#Why_Link_To_Your_Original
# [tb] This is strange though... what would be stripping an Authorization header lol
# aaronpk there's also some notes here https://indieweb.org/Twitter#Why_permashortcitation
# [tb] Ngrok isn't getting it in its own request inspector so the only culprit upstream from there would be CloudFlare
# [tb] (My local dev environment is my Rails app served up from my machine through Ngrok and then put behind CloudFlare so I can simulate the production environment more closely)
KartikPrabhu and [chrisaldrich] joined the channel
# hirusi[m] aaronpk: thanks aaron, lots of stuff to go through.
KartikPrabhu joined the channel
# [tb] Hrm I don't think I believe them now... made a manual curl request that followed the same signal path and the Authorization header was not stripped
# [tb] Hehe I was just trying that actually and since the ngrok direct CNAME is a self-signed cert, iA Writer gives me an SSL error and asks me if I want to proceed anyway, but then does nothing if I hit Ok lol
# [tb] This is turning into more of a rabbit hole than I wanted now though and I'd much rather be refactoring the awful looking Ruby code that I wrote for my Micropub prototype server
[Chaitanya] joined the channel; nickodd left the channel
# lahacker aaronpk you had mentioned maybe doing things differently with webmention.io had you started fresh today -- did that extend to XRay?
# lahacker ah, gotcha
# lahacker before i put my PHP cap back on maybe you can point me to the correct places --
# lahacker does https://github.com/aaronpk/XRay/blob/master/lib/XRay/Formats/Mf2.php parse html->mf2 and then mf2->jf2?
# lahacker or is there somewhere else that takes the output from their and turns it into jf2
# lahacker does it ever wind up in the intermediate parsed mf2 format?
# lahacker i think that expects the parsed mf2.. ok i got it
# lahacker thanks
leg and geoffo joined the channel
# lahacker GWG class method?
KartikPrabhu joined the channel
# lahacker ah
# lahacker that's a good question -- i feel like i'm unearthing some untouched documentation on this matter of post-processing
# lahacker interpreter, translator, ..
# lahacker hah
# lahacker i love how strangely familiar that word was at first sight
[KevinMarks] joined the channel
# [KevinMarks] A munger?
# lahacker ah, yes, forgot about that one
[Chaitanya] joined the channel
# [KevinMarks] I remember sending citations in to the OED for munger in the 1990s
sp1ff and Toomim joined the channel