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-06-18 14:56:48 +02:00
Padinfo file
-------------
The easiest way to use etherdump is to create a padinfo JSON file that contains all the information necessary to connect to a particular etherpad server (including hostname, port, and API key).
cp padinfo.sample.json padinfo.json
nano padinfo.json
2015-07-23 18:34:36 +02:00
And then for instance:
2015-06-18 14:56:48 +02:00
2015-07-23 18:34:36 +02:00
etherdump --padinfo padinfo.json listpads
2015-06-18 14:56:48 +02:00
listpads
----------
To dump the names of the pads in JSON format:
./etherdump --padinfo padinfo.json listpads
./etherdump --padinfo padinfo.json listpads > pads.json
To format for the screen add the --lines option:
./etherdump --padinfo padinfo.json listpads --lines