Site Tools


Hotfix release available: 2026-07-14c "Mort". upgrade now! [57.3] (what's this?)
Hotfix release available: 2026-07-14b "Mort". upgrade now! [57.2] (what's this?)
Hotfix release available: 2026-07-14a "Mort". upgrade now! [57.1] (what's this?)
New release available: 2026-07-14 "Mort". upgrade now! [57] (what's this?)
Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
web-app-team:projects:export-google-docs-to-dokuwiki

Differences

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

Link to this comparison view

Next revision
Previous revision
web-app-team:projects:export-google-docs-to-dokuwiki [2020/05/14 19:52] – edit bsupca5web-app-team:projects:export-google-docs-to-dokuwiki [2026/06/26 08:49] (current) – external edit 127.0.0.1
Line 10: Line 10:
 [[https://www.dokuwiki.org/DokuWiki|DokuWiki]] supports some simple markup language. First, Google Docs content should be converted to Dokuwiki language. Different solutions can be used for conversion. We suggest using [[https://gsuite.google.com/marketplace/app/docs_to_markdown/700168918607|Docs to Markdown Addon]] to convert Google Docs to Markdown language. Then use [[https://pandoc.org/|Pandoc]] to convert Markdown to Dokuwiki Markup thru command-lines, for example [[https://www.dokuwiki.org/DokuWiki|DokuWiki]] supports some simple markup language. First, Google Docs content should be converted to Dokuwiki language. Different solutions can be used for conversion. We suggest using [[https://gsuite.google.com/marketplace/app/docs_to_markdown/700168918607|Docs to Markdown Addon]] to convert Google Docs to Markdown language. Then use [[https://pandoc.org/|Pandoc]] to convert Markdown to Dokuwiki Markup thru command-lines, for example
  
-<html><span class=‘codeline’></html>pandoc googledocs.md -f markdown -t dokuwiki -s -o dokuwiki.txt<html></span></html>+<html><span class='codeline'></html>pandoc googledocs.md -f markdown -t dokuwiki -s -o dokuwiki.txt<html></span></html>
  
 ===== Step 2 - Special Characters ===== ===== Step 2 - Special Characters =====
Line 22: Line 22:
   - Put the file populated by Pandoc in the dokuwiki root folder > data > tmp folder.   - Put the file populated by Pandoc in the dokuwiki root folder > data > tmp folder.
   - Connect to SSH and change the directory to the root directory of Dokuwiki.   - Connect to SSH and change the directory to the root directory of Dokuwiki.
-  - Run the commit command, <html><span class=‘codeline’></html>php bin/dwpage.php commit -m “some-comment” data/tmp/source-file.txt destination-namespace:destination-page<html></span></html>. For more information about committing, please refer to the [[https://www.dokuwiki.org/cli|Dokuwiki CLI]]. The above command line consists of+  - Run the commit command, <html><span class='codeline'></html>php bin/dwpage.php commit -m “some-comment” data/tmp/source-file.txt destination-namespace:destination-page<html></span></html>. For more information about committing, please refer to the [[https://www.dokuwiki.org/cli|Dokuwiki CLI]]. The above command line consists of
     - //php //: php command     - //php //: php command
     - //bin/dwpage.php //: the path to dwpage.php     - //bin/dwpage.php //: the path to dwpage.php
web-app-team/projects/export-google-docs-to-dokuwiki.1589485922.txt.gz · Last modified: 2026/06/26 08:49 (external edit)