Sep 20, 2022 9:15 am
I was thinking about writing something that could be probably called "plug-in" for this site. I mean: in special section/tag of the post there could be i.e. JSON data - that this plugin will use to change rendering of this post. I'm even thinking about using those tools in browsers that provide so called "user JS scripts" for chosen page. I could probably do it without this site API... but I have to store data somewhere. And I don't want to use browser storage for this - it should be stored "in post body". It could work similar to those interactive character sheets - you have edition, calculation capabilities - but the data is stored in the post. If I will write something good maybe the site owner will consider make it an official "plugin framework". I know there are another 1000 details to consider, but first let's look at possible effects. But to start my experiments I have to have some access to post data - is there something like it? In frontend trough JS, or through backend(REST API maybe? ).