DokuWiki

It's better when it's simple

User Tools

Site Tools


tips:htmltowiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tips:htmltowiki [2015-03-05 20:08] 67.136.40.162tips:htmltowiki [2017-09-27 22:25] (current) Aleksandr
Line 10: Line 10:
     * [[http://tools.wmflabs.org/magnustools/html2wiki.php|HTML2Wiki Converter]] - Convert HTML text to wiki markup (This is a slightly altered mirror of a script by Borislav Manolov)     * [[http://tools.wmflabs.org/magnustools/html2wiki.php|HTML2Wiki Converter]] - Convert HTML text to wiki markup (This is a slightly altered mirror of a script by Borislav Manolov)
    
-  * A Converter Tool (HTML>DokuWiki, UTF8, Tablespacing) [[http://runtimebasic.net/Projekt:WikiTool|WikiTool]]+  * A Converter Tool (HTML -> DokuWiki, UTF8, Tablespacing) [[http://runtimebasic.net/Projekt:WikiTool|WikiTool]] (in German)
  
-  * **Pandoc:** Webinterface: http://johnmacfarlane.net/pandoc/try/ (Pandoc includes a Haskell library and a standalone command-line program.)+  * **Pandoc:**  
 +    * Webinterface: http://johnmacfarlane.net/pandoc/try/ (Pandoc includes a Haskell library and a standalone command-line program.) 
 +    * Starting in [[http://pandoc.org/releases.html#pandoc-1.13-15-august-2014|version 1.13]], pandoc suports DokuWiki output. Example: <code>pandoc -s -r html https://www.dokuwiki.org/tips:htmltowiki -t dokuwiki > tips.txt</code>
  
 ===== Html2DokuWiki Converter GUI for Win32 ===== ===== Html2DokuWiki Converter GUI for Win32 =====
Line 33: Line 35:
   * **<DEL>** -> ''<del>''   * **<DEL>** -> ''<del>''
   * **<DL>, <DT>, and <DD>** -> Simulate output as simple unnumbered lists with ''<DT>'' as bold.   * **<DL>, <DT>, and <DD>** -> Simulate output as simple unnumbered lists with ''<DT>'' as bold.
-  * **<H1>** ... **<H5>** -> ''======'' to ''==''+  * **<H1>** ... **<H5>** -> ''%%======%%'' to ''%%==%%''
   * **<I>** -> ''%%//%%''   * **<I>** -> ''%%//%%''
   * **<IMG>** -> images   * **<IMG>** -> images
Line 60: Line 62:
   * Support for alignment in table cells and rows.   * Support for alignment in table cells and rows.
   * Image properties are converted, including alignment, width, and height.   * Image properties are converted, including alignment, width, and height.
-  * Formatting is only applied where accepted by DokuWiki, but not to ''=== ... ==='' and ''<code> ... </code>'', for example.+  * Formatting is only applied where accepted by DokuWiki, but not to ''%%=== ... ===%%'' and ''%%<code> ... </code>%%'', for example.
   * Full Unicode support, with optional UTF-8 input or output encoding.   * Full Unicode support, with optional UTF-8 input or output encoding.
   * Option to hide links from DokuWiki syntax.   * Option to hide links from DokuWiki syntax.
  
-** Author, Contact, and Development **+**Author, Contact, and Development**
  
 Html2DokuWiki is developed by Ralf Junker. You can contact the author via the [[http://www.freelists.org/list/yunqa|Yunqa mailing list]]. Feel free to report praise, bugs, or suggestions about Html2DokuWiki. Html2DokuWiki is developed by Ralf Junker. You can contact the author via the [[http://www.freelists.org/list/yunqa|Yunqa mailing list]]. Feel free to report praise, bugs, or suggestions about Html2DokuWiki.
Line 70: Line 72:
 The converter might also be available as a software library (*.DLL, *.DCU, or Delphi source code). Please get in touch if interested. The converter might also be available as a software library (*.DLL, *.DCU, or Delphi source code). Please get in touch if interested.
  
-** Version History **+**Version History**
  
 // 2007-08-27 // // 2007-08-27 //
Line 93: Line 95:
  
 ===== Workflow Microsoft Word 2 DokuWiki using html2wiki-GUI ===== ===== Workflow Microsoft Word 2 DokuWiki using html2wiki-GUI =====
 +
 I was looking for a way to convert about 150 DOC-files (Microsoft Word2000 or 2003) in our new wiki without too much hassle. I was looking for a way to convert about 150 DOC-files (Microsoft Word2000 or 2003) in our new wiki without too much hassle.
 +
 The macros available didn't work for me. The macros available didn't work for me.
  
Line 114: Line 118:
  
 ===== Create HTML in Microsoft Word 2007+ for DokuWiki ===== ===== Create HTML in Microsoft Word 2007+ for DokuWiki =====
-  * Open Word document+  * Open/Compose Word document
   * Click Save As   * Click Save As
-  * Choose Web Page Filtered for the Save As Type +  * Choose **Web Page Filtered** for the Save As Type
-  * +
   * Open the HTML page in a text editor   * Open the HTML page in a text editor
   * Copy all HTML code   * Copy all HTML code
   * Paste into appropriate place on the wiki page   * Paste into appropriate place on the wiki page
 +  * if needed change the html tag from ''<html xmlns:n...>'' to simple ''<html>... </html>''
  
 -> (2015/05/15 by qtrolazyg) -> (2015/05/15 by qtrolazyg)
 +
 +> :!: This will only work if the [[config:htmlok]] config setting was enabled. But that opens up a huge **security risk**. So, please **use this approach only in closed wikis**! Apart from that, the HTML that Word creates is awful... --- [[user>ach|Anika Henke]] //2015-03-15 18:42//
tips/htmltowiki.1425582530.txt.gz · Last modified: 2015-03-05 20:08 by 67.136.40.162

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki