Open main menu

Changes

1,055 bytes added ,  15:43, 3 June 2014
no edit summary
Books (Collections is the formal software name, Books is the more User-friendly feature name) allows you to export any content you want from the wiki into formats more suitable for offline reading, sharing, printing etc.
Books is a feature of this wiki, added by [[mw:Extension:Collection]] which in turn relies on a host of other goodies such as Python's [http://pypi.python.org/pypi/setuptools setuptools], [http://pythonware.com/products/pil/ Imaging Library]<ref>sudo yum install python-imaging or sudo apt-get install python-imaging should do the trick, but make sure you have a proper python</ref>, and a whole render server which is supplied by PediaPress. Because of the Python dependencies, you should make sure you have a proper Python, which at the time of this writing <ref>~~~~</ref> means 2.6 or 2.7 (maybe later a 3.x version?)
== Users ==
* http://code.pediapress.com/wiki/wiki/WikiToPDF
== Installation ==
To get the MediaWiki Document server going locally, follow the guide on pediapress.com
<source lang="bash">cdMYENV=WIKIsudo easy_install pippip install virtualenvvirtualenv $MYENVcd $MYENVsource WIKI/bin/activate./bin/pip install -i http://pypi.pediapress.com/simple/ mwlib./bin/pip install -i http://pypi.pediapress.com/simple/ mwlib.rlmw-zip -c :en -o test.zip Acdc Numbermw-render -c test.zip -o test.pdf -w rl# view error messages and view pdf file for resultswget http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/pdftk-2.02-1.el6.x86_64.rpmsudo yum install libgcjsudo rpm -i pdftk-2.02-1.el6.x86_64.rpm</source><pre>Successfully installed mwlib pyparsing timelib bottle pyPdf apipkg qserve lxml py sqlite3dbm simplejson roman gevent odfpy Pillow greenlet</pre>
{{Messagebox
| type = failure
exit 0
</source>
 
{{References}}
4,558

edits