Encouraging mf2json in an alternate? woah, what happened to the anti-sidefile fight, the html-as-one-true-source idea?
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?
@aaronpk I'm implementing a Micropub endpoint on a Vapor site (written in Swift). According to the Indieweb.org documentation, the state
parameter βcan contain anythingβ. Does this mean a String or Int are perfectly acceptable?
@aaronpk for example a jf2 feed as fallback if theme does not support mf2?
Like: Accept: text/html, application/jf2feed+json