From d0b319143fd413f33b4086fb49fb5b9aa65194a2 Mon Sep 17 00:00:00 2001 From: Castro0o Date: Tue, 5 Mar 2019 16:46:07 +0100 Subject: [PATCH] collective documentation scripts --- .gitignore | 6 +++++- reader-scripts/downloadpad.sh | 9 +++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100755 reader-scripts/downloadpad.sh diff --git a/.gitignore b/.gitignore index 3ae96af..cbc2c0a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ etherpad-api/api.key -Jinja-prototype/index.html \ No newline at end of file +Jinja-prototype/index.html +reader-scripts/**.html +reader-scripts/**.css +reader-scripts/**.md +reader-scripts/**.pdf \ No newline at end of file diff --git a/reader-scripts/downloadpad.sh b/reader-scripts/downloadpad.sh new file mode 100755 index 0000000..9f67ef7 --- /dev/null +++ b/reader-scripts/downloadpad.sh @@ -0,0 +1,9 @@ + +#!/bin/sh +while true; +do +curl https://pad.xpub.nl/p/special_issue_8_jargoncss/export/txt > style.pdf.css +curl https://pad.xpub.nl/p/special_issue_8_jargonhtml/export/txt > content.md +pandoc --from markdown --to html content.md --output content.html +sleep 5 +done; \ No newline at end of file