Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Using Xtext for content in Confluence wiki
Using Xtext for content in Confluence wiki [message #1216458] Thu, 28 November 2013 13:35
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 601
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
Previous Topic:[Xtext 2.4.1] Register parser without file extension
Next Topic:[Xtext 2.3.1] : Ineffective syntactic predicate
Goto Forum:
  


Current Time: Fri Nov 28 14:44:42 GMT 2014

Powered by FUDForum. Page generated in 0.01635 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software