Using Xtext for content in Confluence wiki [message #1216458] |
Thu, 28 November 2013 13:35 |
Hallvard Traetteberg Messages: 673 Registered: July 2009 Location: Trondheim, Norway |
Senior Member |
|
|
Hi,
The Confluence enterprise wiki supports inserting custom content in a
wiki page by means of what they call macros. A macro is essentially a
block of text (raw or a simplified xhtml) that is rendered as html by a
text-to-html translators. An example is PlantUML
(http://plantuml.sourceforge.net/) which translates a textual syntax to
a UML diagram as a .png image and provides a Confluence plugin that
inserts this image into a wiki page (e.g.
https://www.ntnu.no/wiki/pages/viewpage.action?pageId=65937373).
This is interesting for the Xtext community for two reasons:
1. Xtext (and Xtend) support writing textual DSL and translators
2. Confluence uses osgi and has a plugin mechanism similar to Eclipse's
(osgi manifest and something similar to plugin.xml).
So, in principle, it should be fairly straight-forward to develop and
test a DSL with HTML translation using Xtext within Eclipse and deploy
and use in Confluence.
The question is: Has anyone looked into this, in particular deploying
Eclipse-based plugins within Confluence?
Regards,
Hallvard
|
|
|
Powered by
FUDForum. Page generated in 0.03086 seconds