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 c00e9d89f6 old dump history, started reorg as package 9 years ago
templates using pipelines template 9 years ago
.gitignore added separate createDiffHTML script 9 years ago
README.md updated dump_html 9 years ago
createDiffHTML.py updated dump_html 9 years ago
dump_history.py old dump history, started reorg as package 9 years ago
etherdump.py old dump history, started reorg as package 9 years ago
etherdump_original moved html / history dump to main etherdump 9 years ago
getRevisionsCount.py more utility functions 9 years ago
listAllPads.py updated dump_html 9 years ago
listAuthorsOfPad.py more utility functions 9 years ago
setup.py old dump history, started reorg as package 9 years ago

README.md

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