Pumping pads as files into publishing frameworks!
Go to file
2016-10-21 20:13:18 +02:00
bin html5tidy as proper tool 2016-01-15 14:08:09 +01:00
etherdump moved update info to bottom of page 2016-10-21 20:13:18 +02:00
.gitignore new things 2015-12-03 12:14:47 +01:00
LICENSE.txt added license document 2015-09-17 17:51:48 +02:00
padinfo.sample.json continued tweaks 2015-09-19 11:43:16 +02:00
README.md changes, requests for settext with long texts 2016-10-21 13:04:15 +02:00
setup.py subcommands 2015-09-17 18:23:18 +02:00

etherdump

Tool to publish etherpad pages to files.

Requirements

* html5lib
* requests (settext)
* python-datutil, jinja2 (index subcommand)

Installation

pip install python-dateutil jinja2 html5lib
python setup.py install

Example

mkdir mydump
cd myddump
etherdump init

The program then interactively asks some questions:

Please type the URL of the etherpad: 
	http://automatist.local:9001/
The APIKEY is the contents of the file APIKEY.txt in the etherpad folder
Please paste the APIKEY: 
	xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

The settings are placed in a file called .etherdump/settings.json and are used (by default) by future commands.

subcommands

  • init
  • pull
  • list
  • listauthors
  • gettext
  • settext
  • gethtml
  • creatediffhtml
  • revisionscount
  • index
  • deletepad

To get help on a subcommand:

etherdump revisionscount --help

Change log / notes

Originally designed for use at: constant.

17 Oct 2016

Preparations for Machine Research 2