Doc2Pmwiki

Summary: Convert Word documents to PmWiki pages
Version: 0.1
Prerequisites: catdoc
Status: working
Maintainer: Utopiah
Categories: OfficeIntegration
Users: (view / edit)
Discussion: Doc2Pmwiki-Talk?

Questions answered by this recipe

How can I include the text content of Word documents in my PmWiki instance?

Description

Convert the text from a Word document to PmWiki PageFileFormat

Installation

  1. make sure that you have catdoc installed
    1. if not you can easily apt-get install catdoc
  2. save doc2pmwiki.txtΔ as a script (without .txt) in your path, e.g. ~/bin/doc2pmwiki
  3. make it executable (chmod +x doc2pmwiki)

Configuration

Usage

doc2pmwiki worddocument.doc > path/to/wiki.d/MyGroup.MyDoc

or for multiple documents

doc2pmwiki *.doc > path/to/wiki.d/MyGroup.AllMyDocs

Notes

  • Styles are not kept, only the text!
  • This was done as alternative for GNU/Linux systems and for handling a large amount of documents.
  • Instead of catdoc one can use pdftotext to convert PDF instead of Word documents

Change log / Release notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See also

Contributors

Comments

See discussion at Doc2Pmwiki-Talk?

User notes : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.