diff options
Diffstat (limited to 'tools/html-to-atom.sh')
-rwxr-xr-x | tools/html-to-atom.sh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/html-to-atom.sh b/tools/html-to-atom.sh deleted file mode 100755 index 3bebf45..0000000 --- a/tools/html-to-atom.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -# Composes an atom feed out of XHTML files. - -BASEDIR=~/homepage -TOOLS="${BASEDIR}/tools" -SOURCES="${BASEDIR}/src" -ATOM="${BASEDIR}/atom.xml" -NOTES="${BASEDIR}/notes" - -(echo '<?xml version="1.0" encoding="UTF-8"?>' && - echo '<list>' && - find "${NOTES}" -name '*.xhtml' | - # grep -Ev "^(${TOOLS}|${SOURCES}).*" | - sed -e "sS^${BASEDIR}/\(.*\)S<entry name=\"\\1\" />S" && - echo '</list>') | - xsltproc "${TOOLS}/html-to-atom-dump.xsl" - | - xsltproc "${TOOLS}/atom-sort.xsl" - | - xsltproc "${TOOLS}/atom-limit.xsl" - | - xmllint --format --nsclean - > "${ATOM}" |