forked from STI/Astroport.ONE
Informations in SECTOR : /RSS/_all.json /COINS /ZEN /N
This commit is contained in:
parent
6c9ea2a113
commit
8826624d6d
|
@ -159,16 +159,24 @@ for SECTOR in ${SECTORS[@]}; do
|
||||||
combinedrss=("${RSSNODE[@]}" "${RSSWARM[@]}")
|
combinedrss=("${RSSNODE[@]}" "${RSSWARM[@]}")
|
||||||
RSSALL=($(echo "${combinedrss[@]}" | tr ' ' '\n' | sort -u))
|
RSSALL=($(echo "${combinedrss[@]}" | tr ' ' '\n' | sort -u))
|
||||||
|
|
||||||
|
mkdir -p ~/.zen/tmp/${MOATS}/${SECTOR}/RSS
|
||||||
|
rm -f ~/.zen/tmp/${MOATS}/${SECTOR}/RSS/_all.json
|
||||||
################################## TRANSFER SIGNED TIDDLER IN SECTOR TW
|
################################## TRANSFER SIGNED TIDDLER IN SECTOR TW
|
||||||
for RSS in ${RSSALL[@]}; do
|
for RSS in ${RSSALL[@]}; do
|
||||||
|
## Extract New Tiddlers and maintain fusion in Sector TW.
|
||||||
${MY_PATH}/../tools/RSS2UPlanetTW.sh "${RSS}" "${SECTOR}" "${MOATS}" "${INDEX}"
|
${MY_PATH}/../tools/RSS2UPlanetTW.sh "${RSS}" "${SECTOR}" "${MOATS}" "${INDEX}"
|
||||||
|
## create sector RSS _all.json
|
||||||
|
cat ${RSS} >> ~/.zen/tmp/${MOATS}/${SECTOR}/RSS/_all.json
|
||||||
done
|
done
|
||||||
TOTL=$((${NL}+${NS}))
|
TOTL=$((${NL}+${NS}))
|
||||||
##############################################################
|
##############################################################
|
||||||
|
# Update COIN & ZEN value
|
||||||
|
echo ${COINS} > ~/.zen/tmp/${MOATS}/${SECTOR}/COINS
|
||||||
|
echo ${ZEN} > ~/.zen/tmp/${MOATS}/${SECTOR}/ZEN
|
||||||
|
|
||||||
echo "Number of RSS : "${TOTL}
|
echo "Number of RSS : "${TOTL}
|
||||||
rm ~/.zen/tmp/${MOATS}/${SECTOR}/N_RSS*
|
rm ~/.zen/tmp/${MOATS}/${SECTOR}/N_RSS* ## TODO REMOVE
|
||||||
echo ${TOTL} > ~/.zen/tmp/${MOATS}/${SECTOR}/N_RSS_${TOTL}
|
echo ${TOTL} > ~/.zen/tmp/${MOATS}/${SECTOR}/N
|
||||||
|
|
||||||
###########################################################################################
|
###########################################################################################
|
||||||
## MAKE SECTOR PLANET WITH ASTONAUTENS LINKS
|
## MAKE SECTOR PLANET WITH ASTONAUTENS LINKS
|
||||||
|
|
Loading…
Reference in New Issue