From e0b97e0e2168c4d2b9cf60b16e81591f912c2f4a Mon Sep 17 00:00:00 2001 From: defanor Date: Mon, 30 Apr 2018 08:39:10 +0300 Subject: Only include notes into the feed Index updates wouldn't be of much use. --- tools/html-to-atom.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tools') 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 '' && echo '' && - find "${BASEDIR}" -name '*.xhtml' | - grep -Ev "^(${TOOLS}|${SOURCES}).*" | + find "${NOTES}" -name '*.xhtml' | + # grep -Ev "^(${TOOLS}|${SOURCES}).*" | sed -e "sS^${BASEDIR}/\(.*\)SS" && echo '') | xsltproc "${TOOLS}/html-to-atom-dump.xsl" - | -- cgit v1.2.3