Pumping pads as files into publishing frameworks!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Michael Murtaugh 423832f125 synced README with reality 8 years ago
bin html5tidy as proper tool 8 years ago
etherdump dump styles and versions script now parameterized to customize 8 years ago
.gitignore new things 9 years ago
LICENSE.txt added license document 9 years ago
README.md synced README with reality 8 years ago
padinfo.sample.json continued tweaks 9 years ago
setup.py subcommands 9 years ago

README.md

etherdump

Tool to publish etherpad pages to files.

Requirements

python-dateutil, html5lib

Installation

pip install python-dateutil 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
  • gethtml
  • creatediffhtml
  • revisionscount

To get help on a subcommand:

etherdump revisionscount --help

file sync

epfs? pad to file

etherdump init http://localhost:9001/ --path foo etherdump status compare state of files to etherpad & report etherdump pull <padid/path> etherdump sync push / pull file contents to pad

why

Etherdump is useful as a means of dumping the contents of etherpad to files, as a way of opening up the contents of the service to other services / methods / uses / tools / situations. (Files also of course allow for archival tools / methods)