Cookbook /
Doc2Pmwiki
Summary: Convert Word documents to PmWiki pages
Version: 0.1
Prerequisites: catdoc
Status: working
Maintainer: Utopiah
Categories: OfficeIntegration
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
- make sure that you have catdoc installed
- if not you can easily
apt-get install catdoc
- if not you can easily
- save doc2pmwiki.txtΔ as a script (without
.txt
) in your path, e.g.~/bin/doc2pmwiki
- 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 usepdftotext
to convert PDF instead of Word documents
Change log / Release notes
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.