Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

DocumentationGuidelines/ConvertExistingContent

< DocumentationGuidelines
Revision as of 16:35, 26 August 2009 by D a carver.yahoo.com (Talk | contribs) (Converting HTML)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.


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

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.


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.


Converting DITA

Back to the top