I think I'm in favor of merging this as is, even if it still returns invalid URLs, because it won't return anything more broken than the current version. I do think it should properly escape URLs in the parsed result though, since that's what would happen if you included a link in an <a>
tag in a browser that included spaces. (The browser converts those to %20
.
One fun thing I just learned is that ActivityPub has almost no implementations, certainly no barebones modules I can tell except maybe https://github.com/Arkanosis/microstatus ? except I can't even tell if that is a module or a full-fledged server or both or what
I am a professional software developer and this shit is so byzantine, no wonder the indie web is having such a rough time
Encouraging mf2json in an alternate? woah, what happened to the anti-sidefile fight, the html-as-one-true-source idea?
Just wanted to chime in here again to say that my implementation now also includes a rel=alternate
link to the ActivityStreams JSON representation of the page.
e.g.
https://aaronparecki.com/2018/07/12/10/indieauth
<link rel="alternate" type="application/activity+json"
href="https://aaronparecki.com/2018/07/12/10/indieauth.as2" />
That brings this up to at least 3 implementations that support it, making it a good candidate to incorporate into the spec.
While Iβm still working out some details about the format, audio, etc, the first episode of my microcast βΒ Shortbox β will be available Friday, August 3rd. If you have any comic related comments or questions, let me know and Iβll discuss them on the show.
@aaronpk Yeah, I was hoping I could debug stuff locally and not have to deploy for testing. But it's not exactly "live" code on my site that I'm using yet so it's low impact. Thanks!
@aaronpk Cool. With my Swift type I had to declare it as a type at the outset, so I just wrote up a custom decoder to check for a string, then an Int, and otherwise it will be nil. The Int gets coerced to a String if itβs there. Do you know of any good test suite I could run locally against my server?