Difference between revisions of "DocumentationGuidelines/ConvertExistingContent"

From Eclipsepedia

Jump to: navigation, search
(Converting HTML)
 
Line 2: Line 2:
  
 
=Converting HTML=
 
=Converting HTML=
 +
Converting from HTML into mediawiki is actually very straight forward, as MediaWiki allows for the inclusion of HTML tags.  However, this can make editing of the pages much more difficult.  There are tools available to allow the conversion of HTML to particular wiki formats.
  
 
==Online Conversion==
 
==Online Conversion==

Latest revision as of 16:35, 26 August 2009

Warning2.png
Draft Content
This page is currently under construction. Community members are encouraged to maintain the page, and make sure the information is accurate.


Contents

[edit] Converting HTML

Converting from HTML into mediawiki is actually very straight forward, as MediaWiki allows for the inclusion of HTML tags. However, this can make editing of the pages much more difficult. There are tools available to allow the conversion of HTML to particular wiki formats.

[edit] Online Conversion

[edit] Converting DocBook

This section will discuss ways in which existing DocBook source files can be converted into media wiki syntax.

Important.png
Round Tripping
There is not a one to one mapping of tags to wiki markup, so some semantics may be lost in a round trip scenario.


[edit] DocBook XSL Stylesheets

There is work underway to provide a contribution to the DocBook Project on sourceforge to allow the use of the existing DocBook Project's stylesheets to generate the wiki content. The advantage here is that most all of the docbook tags are covered, and the appropriate templates can be overriden to provide additional custom wiki support.

These stylesheets are still a work in progress. Other options include:

  • DocBook to Wiki - a set of perl scripts that do a decent job of converting but only handle a limited subset of the DocBook elements.
Note.png
Manual Clean
As with any conversion process, all of these will need some minor manual clean up.


[edit] Converting DITA