I know that there are lots of ways to do this, but I'd like to know if
anyone has a simple way to display all or part of an arbitrary page in
an XWiki document.
I don't have a really concrete example at the moment, but things I have
wanted to do in the past involve such things as:
- putting a display on users' profile pages of their company directory
lookup page (which is not in the wiki), either included directly (not so
nice) or dissected so that its DOM elements can be extracted and the
desired ones reformatted as a part of the page (much better)
- posting a table of contents for a reference document, or a table
within it, so that I can link directly to the heading or table entry and
users need not go to the document and search for the specific
information - without having to code each reference by hand, of course
I'm pretty sure I know how, using either Javascript or the Java DOM
methods supplied with XWiki, to parse and display the information when I
get it, but how to go about getting XWiki to fetch the included document
seems to escape me. I know that various things such as the feed plugin
do this, and I'll probably go to the source to learn how if I don't get
an easier answer. But I hope that someone has done this already and has
found an easy way to do it.
brain[sic]