Pumping pads as files into publishing frameworks!
Go to file
2015-09-17 11:40:02 +02:00
templates using pipelines template 2015-09-17 11:40:02 +02:00
.gitignore added separate createDiffHTML script 2015-07-23 15:14:06 +02:00
createDiffHTML.py updated dump_html 2015-07-23 18:34:36 +02:00
etherdump etherdump post-pipelines version 2015-09-17 11:34:34 +02:00
etherdump_original moved html / history dump to main etherdump 2015-08-24 16:06:50 +02:00
getRevisionsCount.py more utility functions 2015-07-23 18:35:32 +02:00
listAllPads.py updated dump_html 2015-07-23 18:34:36 +02:00
listAuthorsOfPad.py more utility functions 2015-07-23 18:35:32 +02:00
padinfo.sample.json added list 2015-07-23 15:19:17 +02:00
README.md updated dump_html 2015-07-23 18:34:36 +02:00

etherdump

Tool to publish etherpad pages to (archival) HTML.

Requirements

Python (2.7) with:

  • html5lib
  • jinja2

Installation

pip install html5lib jinja2

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

And then for instance:

etherdump --padinfo padinfo.json listpads

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