Let's say I have a wiki page with a glossary of terms. Each term is formatted as a level (whatever) heading, and the text following it would be its definition. For example:
==== Term 1 =====
Definition for first term
==== Term 2 =====
Definition for second term
and so on...
Then, by specifying the URL of the glossary page with some additional params, you would only return the HTML for the desired term. In theory, the page would be parsed until the desired term was found in a level (whatever) heading tag, then all the text immediately following would be returned, ending at the next level (whatever) heading tag, or end of file.
The intent behind such a plugin/feature would be to maintain a glossary within DokuWiki, but then create popup definitions elsewhere on the site (handled via javascript).
I tried searching for an existing plugin that could potentially do this, but was unsuccessful. So if anyone knows of one, I'd love to hear about it!