Merge branch 'master' of ssh://vvvvvvaria.org:12345/varia/etherdump
This commit is contained in:
commit
8171da6d6e
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,4 +2,4 @@
|
||||
publish/
|
||||
publish/*
|
||||
index.html
|
||||
certbot.log
|
||||
cron.log
|
||||
|
12
cron.sh
12
cron.sh
@ -1,10 +1,14 @@
|
||||
date >> cron.log
|
||||
echo "cronjob started!" >> cron.log
|
||||
echo "" > cron.log
|
||||
|
||||
# This will dump all the pads with a __PUBLISH__ tag into a folder "publish" as meta.json, txt, html and dhtml
|
||||
etherdump pull --all --meta --text --dhtml --publish __PUBLISH__ --publish-opt-in --pub ./publish --fix-names --no-raw-ext
|
||||
/usr/local/bin/etherdump pull --all --meta --text --dhtml --publish __PUBLISH__ --publish-opt-in --pub publish --fix-names --no-raw-ext
|
||||
|
||||
# This will make an index for the dump
|
||||
etherdump index input \
|
||||
./publish/*.meta.json \
|
||||
/usr/local/bin/etherdump index input \
|
||||
publish/*.meta.json \
|
||||
--order lastedited \
|
||||
--templatepath ./templates \
|
||||
--templatepath templates \
|
||||
--title "etherdump @ Varia" \
|
||||
--output index.html
|
||||
|
Loading…
Reference in New Issue
Block a user