Wiki to print

From XPUB & Lens-Based wiki
Revision as of 15:53, 14 October 2018 by Andre Castro (talk | contribs) (Created page with "= Wiki To Print Workflow = == required sofware == * [https://github.com/mwclient/mwclient mwclient] * [https://pandoc.org/ pandoc] * [https://weasyprint.org/ WeasyPrint] ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Wiki To Print Workflow

required sofware

mwclient

Python library to interface with the MediaWiki API.

https://github.com/mwclient/mwclient

Use: to download content from wiki pages, through the wiki-download.py script ./wiki-download.py -h

Wiki_publishing

Pandoc

A universal document converter - converst from one markup language onto another

https://pandoc.org/

Use: convert downloaded wiki pages onto HTML files

extesive documentation in Pandoc’s Manual or man pandoc

WeasyPrint

A visual rendering engine for HTML and CSS that can export to PDF. It aims to support web standards for printing. . The CSS layout engine is written in Python, designed for pagination, and meant to be easy to hack on.

https://weasyprint.org/, WeadyPrint documentation

Use: to convert HTML + CSS onto a PDF