pppadump/README.md

69 lines
1.4 KiB
Markdown
Raw Normal View History

2015-02-26 13:54:26 +01:00
etherdump
=========
2015-11-19 12:52:35 +01:00
Tool to publish [etherpad](http://etherpad.org/) pages to files.
2015-02-26 17:15:41 +01:00
Requirements
-------------
python-dateutil, html5lib
2015-02-26 17:15:41 +01:00
2015-03-05 16:24:23 +01:00
Installation
-------------
pip install python-dateutil html5lib
2015-09-17 18:47:25 +02:00
python setup.py install
2015-03-05 16:24:23 +01:00
2016-10-17 13:06:56 +02:00
Example
---------------
mkdir mydump
cd myddump
etherdump init
The program then interactively asks some questions:
2015-06-18 14:56:48 +02:00
2016-10-17 13:06:56 +02:00
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
2015-06-18 14:56:48 +02:00
2016-10-17 13:06:56 +02:00
The settings are placed in a file called .etherdump/settings.json and are used (by default) by future commands.
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
----------
2016-10-17 13:06:56 +02:00
* init
* pull
2015-09-17 18:47:25 +02:00
* list
* listauthors
2015-11-19 12:52:35 +01:00
* gettext
* gethtml
* creatediffhtml
2015-09-17 18:47:25 +02:00
* 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
2015-11-22 21:59:52 +01:00
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)