etherpump/README.md

82 lines
1.7 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
-------------
2018-01-12 14:45:36 +01:00
* python3
2016-10-17 15:40:16 +02:00
* html5lib
* requests (settext)
2018-01-12 15:46:10 +01:00
* python-dateutil, jinja2 (index subcommand)
2015-02-26 17:15:41 +01:00
2015-03-05 16:24:23 +01:00
Installation
-------------
2016-10-17 15:40:16 +02:00
pip install python-dateutil jinja2 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
2016-10-17 15:40:31 +02:00
* settext
2015-11-19 12:52:35 +01:00
* gethtml
* creatediffhtml
2015-09-17 18:47:25 +02:00
* revisionscount
2016-10-17 15:40:16 +02:00
* index
2016-10-17 15:40:31 +02:00
* deletepad
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
2016-10-17 15:40:16 +02:00
Change log / notes
=======================
Originally designed for use at: [constant](http://etherdump.constantvzw.org/).
17 Oct 2016
-----------------------------------------------
Preparations for [Machine Research](https://machineresearch.wordpress.com/) [2](http://constantvzw.org/site/Machine-Research,2646.html)
2018-01-12 14:42:55 +01:00
6 Oct 2017
----------------------
Feature request from PW: When deleting a previously public document, generate a page / pages with an explanation (along the lines of "This document was previously public but has been marked .... maybe give links to search").
3 Nov 2017
---------------
machineresearch seems to be __NOPUBLISH__ but still exists (also in recentchanges)
2018-01-12 14:45:36 +01:00
Jan 2018
-------------
Updated files to work with python3 (probably this has broken python2).