Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » WikiText Confluce to HTML
WikiText Confluce to HTML [message #602075] Sun, 05 September 2010 22:38 Go to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
While using the HTMLBuilder class, and the confluence wiki markuplanguage class, if the markup refers to other pages, like:

h1. Some Header

Introduces the features that SOA Plugin provides for working with the SOA framework in eBox.
* [Page1]
* [Page2]
* [Page3]

The HTML that is generated, contains the links to the pages but does not put, ".html" on the end of the links, so a link may show as:

<a href="Page1">Page1</a>

Instead of:

<a href="Page1.html">Page1</a>

Is there a way to configure the builders or markuplanguage generation so that the links are generated with .html on the end? Or do I need to write my own custom builder?
Re: WikiText Confluce to HTML [message #602082 is a reply to message #602075] Wed, 08 September 2010 00:10 Go to previous message
David Green is currently offline David GreenFriend
Messages: 136
Registered: July 2009
Senior Member
David,

Are you using HtmlDocumentBuilder directly (via API) or the built-in Ant
tasks provided by WikiText? The Ant tasks should take care of
cross-file links automatically providing that the documentation source
is a single file of wiki markup.

Generating HTML from multiple wiki markup source files is handled
gracefully for MediaWiki sources
( http://greensopinion.blogspot.com/2010/03/crowdsourcing-docu mentation-made-easy.html)
however this level of integration has not yet been completed for
Confluence sources.

Regards,

David

On 9/5/2010 3:38 PM, Dave Carver wrote:
> While using the HTMLBuilder class, and the confluence wiki
> markuplanguage class, if the markup refers to other pages, like:
>
> h1. Some Header
>
> Introduces the features that SOA Plugin provides for working with the
> SOA framework in eBox. * [Page1] * [Page2] * [Page3]
> The HTML that is generated, contains the links to the pages but does not
> put, ".html" on the end of the links, so a link may show as:
>
> <a href="Page1">Page1</a>
>
> Instead of:
>
> <a href="Page1.html">Page1</a>
>
> Is there a way to configure the builders or markuplanguage generation so
> that the links are generated with .html on the end? Or do I need to
> write my own custom builder?
>
>
Previous Topic:Why don't changes stay reassigned when I switch tasks?
Next Topic:How to retrieve context-artifacts and change them
Goto Forum:
  


Current Time: Thu Mar 28 14:42:27 GMT 2024

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

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

Back to the top