news-script

git-svn-id: svn://svn.c3d2.de/c3d2-web/branches/toidinamais_noch_coolere_scheisse@342 31f61c52-7bfb-0310-b897-fc00f8a278f0
This commit is contained in:
toidinamai 2006-05-31 17:45:46 +00:00
parent 4076510712
commit 7eea00ae51

16
scripts/gen_news.xml.sh Normal file
View File

@ -0,0 +1,16 @@
#!/bin/sh
cat <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<page title="News">"
<news>
EOF
for item in $* ; do
echo " <newsfile>${item}</newsfile>"
done
cat <<EOF
</news>
</page>
EOF