Luke Murphy
3 years ago
1 changed files with 15 additions and 5 deletions
@ -1,24 +1,34 @@ |
|||||
|
echo "Pulling pads now ..." |
||||
|
|
||||
# This will pump all the pads with a __PUBLISH__ tag into a folder "publish" as meta.json, txt, html and dhtml |
# This will pump all the pads with a __PUBLISH__ tag into a folder "publish" as meta.json, txt, html and dhtml |
||||
etherpump pull --meta --html --text --magicwords --publish-opt-in --pub p --css ../stylesheet.css --fix-names --connection 5 --force |
etherpump pull \ |
||||
|
--meta \ |
||||
|
--html \ |
||||
|
--text \ |
||||
|
--magicwords \ |
||||
|
--publish-opt-in \ |
||||
|
--pub p \ |
||||
|
--css ../stylesheet.css \ |
||||
|
--fix-names \ |
||||
|
--connection 5 \ |
||||
|
--force |
||||
|
|
||||
echo "Making the Etherpump index now ..." |
echo "Making the Etherpump index now ..." |
||||
|
|
||||
# This will make an index for the dump |
# This will make an index for the dump |
||||
etherpump index input \ |
etherpump index \ |
||||
|
input \ |
||||
p/*.meta.json \ |
p/*.meta.json \ |
||||
--templatepath templates \ |
--templatepath templates \ |
||||
--title "Notes, __MAGICWORDS__, readers & more ..." \ |
--title "Notes, __MAGICWORDS__, readers & more ..." \ |
||||
--output index.html |
--output index.html |
||||
|
|
||||
# tmp |
# tmp |
||||
|
|
||||
#rm -r ../publish/ |
#rm -r ../publish/ |
||||
#mv publish ../ |
#mv publish ../ |
||||
#mv index.html ../ |
#mv index.html ../ |
||||
|
|
||||
echo "Done!" |
echo "Done!" |
||||
|
|
||||
|
|
||||
|
|
||||
# This will save a pad.css file every hour from the pad https://pad.vvvvvvaria.org/pad.css |
# This will save a pad.css file every hour from the pad https://pad.vvvvvvaria.org/pad.css |
||||
# cp publish/pad.css /srv/etherpad-lite/src/altetherpad/src/static/skins/no-skin/pad.css |
# cp publish/pad.css /srv/etherpad-lite/src/altetherpad/src/static/skins/no-skin/pad.css |
||||
|
Loading…
Reference in new issue