summaryrefslogtreecommitdiff
path: root/gen-bible.sh
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-07-02 15:27:44 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-07-02 15:29:23 +0200
commitbecfb3387fcbc428d8f0b3ea05a9f65d17b36d1f (patch)
treeac05afc9b8bcab73bfa67741b8c638d1313b91ab /gen-bible.sh
parent6eb284844a99e4f74ca976bac21eb9964aa9c393 (diff)
downloadbible-fetch-becfb3387fcbc428d8f0b3ea05a9f65d17b36d1f.tar.gz
bible-fetch-becfb3387fcbc428d8f0b3ea05a9f65d17b36d1f.tar.bz2
bible-fetch-becfb3387fcbc428d8f0b3ea05a9f65d17b36d1f.zip
Merge make-xml.sh into gen-bible.sh
Diffstat (limited to 'gen-bible.sh')
-rwxr-xr-xgen-bible.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/gen-bible.sh b/gen-bible.sh
index c6e56df..c4eb50e 100755
--- a/gen-bible.sh
+++ b/gen-bible.sh
@@ -1,6 +1,11 @@
#!/bin/sh
-./make-xml.sh
+./list-chapters.sh | while read file
+do
+ echo "$file"
+ ./convert.sed "$file" | \
+ xsltproc --encoding utf-8 --html convert.xsl - > "${file}.xml"
+done
./concat.sh > elberfelder2006.xml
zip elberfelder2006.zip elberfelder2006.xml