2015-02-26 13:54:26 +01:00
etherdump
=========
2015-02-26 17:15:41 +01:00
Tool to publish [etherpad ](http://etherpad.org/ ) pages to (archival) HTML.
Requirements
-------------
Python (2.7) with:
* html5lib
* jinja2
2015-03-05 16:24:23 +01:00
Installation
-------------
pip install html5lib jinja2
2015-09-17 18:47:25 +02:00
python setup.py install
2015-03-05 16:24:23 +01:00
2015-06-18 14:56:48 +02:00
Padinfo file
-------------
2015-09-17 18:47:25 +02:00
All pad-specific settings are loaded from a file called "padinfo.json" -- by default etherdump looks in the current directory. Make a copy of padinfo.sample.json to start one. Make sure to check that the URL and port settings are correct, and to paste the correct apikey here!
2015-06-18 14:56:48 +02:00
2015-09-17 18:47:25 +02:00
cp padinfo.sample.json ~/yourfolder/padinfo.json
2015-06-18 14:56:48 +02:00
nano padinfo.json
2015-07-23 18:34:36 +02:00
And then for instance:
2015-06-18 14:56:48 +02:00
2015-09-17 18:47:25 +02:00
etherdump list
2015-06-18 14:56:48 +02:00
2015-09-17 18:47:25 +02:00
subcommands
2015-06-18 14:56:48 +02:00
----------
2015-09-17 18:47:25 +02:00
* dump (the default)
* list
* listauthors
* text
* diffhtml
* revisionscount
2015-06-18 14:56:48 +02:00
2015-09-17 18:47:25 +02:00
To get help on a subcommand:
2015-06-18 14:56:48 +02:00
2015-09-17 18:47:25 +02:00
etherdump revisionscount --help
2015-11-13 11:03:57 +01:00
TODO
--------
* Modify tools to work with make
** Sync command
** Dump command that works on a single page
** Post processing as separable filters (such as linkify)
* Support for migrating (what dump formats exist that would allow pushing to another instance?)