Continuing the discussion from How to get MobileDoc document?
I have a VueJS front-end to my blog and it would be useful ( and required for some card rendering ) to be able to render the MobileDoc directly using Vue components, but right now there isn’t any way for me to get the MobileDoc that doesn’t involve using the Admin API, which doesn’t work for a user-facing frontend.
The documentation here specifically states the use-case of parsing the content to render on the web, but in its current state it is only useful to parse and render if you are building a static site, or you have admin access to the site:
Because MobileDoc is Just JSON ™️, it’s extremely portable and can be transformed into multiple formats. This is particularly powerful because it’s just as easy to parse your content into HTML to render on the web as it is to pull the same content into a mobile app using completely different syntax.
Another use-case is to embed a custom video player for self-hosted videos, but as it stands I would instead have to create my own oEmbed provider for my hosted videos to accomplish that.