summaryrefslogtreecommitdiff
path: root/tools/html-to-atom.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/html-to-atom.sh')
-rwxr-xr-xtools/html-to-atom.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/html-to-atom.sh b/tools/html-to-atom.sh
index 6fb2e01..3bebf45 100755
--- a/tools/html-to-atom.sh
+++ b/tools/html-to-atom.sh
@@ -6,11 +6,12 @@ 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 "${BASEDIR}" -name '*.xhtml' |
- grep -Ev "^(${TOOLS}|${SOURCES}).*" |
+ 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" - |