summaryrefslogtreecommitdiff
path: root/concat.sh
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-02 11:30:09 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-02 11:30:09 +0100
commit9bef1834756cf16e8b4fc7b365a058422a355691 (patch)
tree8929d04f2f88075968c53a318d1cc4b7ad94abe9 /concat.sh
parent79901116aaa26ad24d7d0d157d3e72bedcfe0834 (diff)
downloadbible-fetch-9bef1834756cf16e8b4fc7b365a058422a355691.tar.gz
bible-fetch-9bef1834756cf16e8b4fc7b365a058422a355691.tar.bz2
bible-fetch-9bef1834756cf16e8b4fc7b365a058422a355691.zip
Use capital letters in xml tagsHEADmaster
Many bible programs dont know the aliases.
Diffstat (limited to 'concat.sh')
-rwxr-xr-xconcat.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/concat.sh b/concat.sh
index d6931d1..9b176a1 100755
--- a/concat.sh
+++ b/concat.sh
@@ -4,15 +4,15 @@ translation=$1
title="$2"
echo '<?xml version="1.0" encoding="UTF-8"?>'
-printf '<xmlbible type="x-bible" biblename="%s" status="v">\n' "$title"
-echo '<information>'
+printf '<XMLBIBLE type="x-bible" biblename="%s" status="v">\n' "$title"
+echo '<INFORMATION>'
echo "<title>${title}</title>"
echo '<format>Zefania XML Bible Markup Language</format>'
-echo '</information>'
+echo '</INFORMATION>'
j=1
cat ${translation}/book-list | while read buch
do
- echo "<biblebook bname=\"$buch\" bnumber=\"$j\">"
+ echo "<BIBLEBOOK bname=\"$buch\" bnumber=\"$j\">"
buchdir=$(echo "$buch" | sed "y/äöü /aou_/")
i=1
@@ -23,6 +23,6 @@ do
done
j=$((j+1))
- echo "</biblebook>"
+ echo "</BIBLEBOOK>"
done
-echo '</xmlbible>'
+echo '</XMLBIBLE>'