diff --git a/RUNTIME/SECTOR.refresh.sh b/RUNTIME/SECTOR.refresh.sh index 03757786..0338988d 100755 --- a/RUNTIME/SECTOR.refresh.sh +++ b/RUNTIME/SECTOR.refresh.sh @@ -288,8 +288,18 @@ echo "" > ~/.z ###################################################### +################################################### +## EXTRACT SECTOR LAST WEEK TIDDLERS TO IPFSNODEID CACHE + echo "(☉_☉ ) ${SECTOR}.week.rss.json (☉_☉ )" + mkdir -p ~/.zen/tmp/${IPFSNODEID}/SECTORS/ + rm -f ~/.zen/tmp/${IPFSNODEID}/SECTORS/${SECTOR}.week.rss.json + ## CREATING 7 DAYS JSON RSS STREAM + tiddlywiki --load ${INDEX} \ + --output ~/.zen/tmp/${IPFSNODEID}/SECTORS --render '.' "${SECTOR}.week.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-7]!is[system]!tag[G1Voeu]]' + + ## TODO FILTER INFORMATION WITH MULTIPLE SIGNATURES (DONE in REGION.refresh.sh) + ## TODO EXPORT AS RSS ## https://talk.tiddlywiki.org/t/has-anyone-generated-an-rss-feed-from-tiddlywiki/966/28 + done - - exit 0 diff --git a/tools/RSS2UPlanetTW.sh b/tools/RSS2UPlanetTW.sh index ce60e8a1..1ae9b031 100755 --- a/tools/RSS2UPlanetTW.sh +++ b/tools/RSS2UPlanetTW.sh @@ -195,16 +195,6 @@ To Refuse
done < ~/.zen/tmp/${MOATS}/${SECTOR}/tiddlers.list -################################################### -## EXTRACT LAST WEEK TIDDLERS TO IPFSNODEID CACHE - echo "(☉_☉ ) (☉_☉ ) (☉_☉ ) RSS" - rm -f ~/.zen/tmp/${IPFSNODEID}/${SECTOR}.week.rss.json - ## CREATING 7 DAYS JSON RSS STREAM - tiddlywiki --load ${INDEX} \ - --output ~/.zen/tmp/${IPFSNODEID} --render '.' "${SECTOR}.week.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-7]!is[system]!tag[G1Voeu]]' - - ## TODO FILTER INFORMATION WITH MULTIPLE SIGNATURES (DONE in REGION.refresh.sh) - ## TODO EXPORT AS RSS ## https://talk.tiddlywiki.org/t/has-anyone-generated-an-rss-feed-from-tiddlywiki/966/28 #################################################### ################################################