Hey guys!
I'd like to show tables inside of DW-pages. The tables contents (raw data) should be fetched via an JSON REST-API. I'd like to use jQuery JavaScript for this. As the API only delivers unformatted content, i wonder how i should create a table from it? Should i translate the data via JS into HTML and put this inside the page to a div-element mit special ID? Or any other ideas?
I'd like to control the look of the data by some configuration information put into the page text as plugin markup, as some data needs some sort of "expansion", e.g. from an name to an label.
I also wonder how i can add the results into the search-index of Dokuwiki and if somebody get a result, how that could lead to a given record?
Any ideas are highly appreciated 😀