From 2a293d1fc3395f7ba5ca8eb9fcd092a58e8df124 Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 21 Oct 2023 02:18:50 +0200 Subject: [PATCH] should work better --- tools/RSS2UPlanetTW.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/RSS2UPlanetTW.sh b/tools/RSS2UPlanetTW.sh index 458137a7..647ab7c8 100755 --- a/tools/RSS2UPlanetTW.sh +++ b/tools/RSS2UPlanetTW.sh @@ -26,6 +26,9 @@ cat "${RSS}" | jq -r '.[] | .title' > ~/.zen/tmp/${MOATS}/titles.list while read title; do + [[ ${title} == "GettingStarted" || ${title} == "GPS" || ${title} == "AstroID" || ${title} == "Astroport" || ${title} == "MadeInZion" || ${title} == "G1Visa" ]] \ + && echo "FILTERED TITLE" && continue + ## CHECK FOR TIDDLER WITH SAME TITTLE IN SECTOR TW rm -f ~/.zen/tmp/${MOATS}/TMP.json tiddlywiki --load ${INDEX} --output ~/.zen/tmp/${MOATS} --render '.' 'TMP.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' "${title}"