0.3
This commit is contained in:
parent
068536a84c
commit
229ed6ac9b
|
@ -310,13 +310,15 @@ for PLAYER in ${PLAYERONE[@]}; do
|
||||||
echo "================================================"
|
echo "================================================"
|
||||||
|
|
||||||
echo "(☉_☉ ) (☉_☉ ) (☉_☉ ) RSS"
|
echo "(☉_☉ ) (☉_☉ ) (☉_☉ ) RSS"
|
||||||
## CREATING 30 DAYS RSS STREAM
|
## CREATING 30 DAYS JSON RSS STREAM
|
||||||
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
|
tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
|
||||||
--output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${PLAYER}.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-30]!is[system]!tag[G1Voeu]]'
|
--output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${PLAYER}.rss.json" 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[days:created[-30]!is[system]!tag[G1Voeu]]'
|
||||||
[[ ! -s ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json ]] && echo "NO ${PLAYER} RSS - BAD ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json -"
|
[[ ! -s ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json ]] && echo "NO ${PLAYER} RSS - BAD ~/.zen/game/players/${PLAYER}/ipfs/${PLAYER}.rss.json -"
|
||||||
|
|
||||||
## TODO EXPORT RSS.XML ATOM FEED FORMAT
|
## TODO CREATING 30 DAYS XML RSS STREAM
|
||||||
## https://talk.tiddlywiki.org/t/has-anyone-generated-an-rss-feed-from-tiddlywiki/966/26
|
## https://talk.tiddlywiki.org/t/has-anyone-generated-an-rss-feed-from-tiddlywiki/966/26
|
||||||
|
# tiddlywiki.js --load my-wiki.html --render "[[$:/plugins/sq/feeds/templates/rss]]" "feed.xml" "text/plain" "$:/core/templates/wikified-tiddler"
|
||||||
|
### $:/plugins/sycom/atom-feed/atom.xml
|
||||||
#~ tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
|
#~ tiddlywiki --load ~/.zen/tmp/${IPFSNODEID}/TW/${PLAYER}/index.html \
|
||||||
#~ --output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${PLAYER}.rss.xml" 'text/plain' "$:/core/templates/wikified-tiddler" 'exportFilter' '[days:created[-30]!is[system]!tag[G1Voeu]]'
|
#~ --output ~/.zen/game/players/${PLAYER}/ipfs --render '.' "${PLAYER}.rss.xml" 'text/plain' "$:/core/templates/wikified-tiddler" 'exportFilter' '[days:created[-30]!is[system]!tag[G1Voeu]]'
|
||||||
|
|
||||||
|
|
|
@ -290,7 +290,7 @@ if [[ ${wishnumbers} -gt 0 ]]; then
|
||||||
SECTORG1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}")
|
SECTORG1PUB=$(${MY_PATH}/../tools/keygen -t duniter "${UPLANETNAME}${SECTOR}" "${UPLANETNAME}${SECTOR}")
|
||||||
##############################################################
|
##############################################################
|
||||||
GRATITUDE=$($MY_PATH/../tools/getcoins_from_gratitude_box.sh)
|
GRATITUDE=$($MY_PATH/../tools/getcoins_from_gratitude_box.sh)
|
||||||
G1AMOUNT=$(echo "$GRATITUDE / 10" | bc -l | xargs printf "%.2f" )
|
G1AMOUNT=$(echo "$GRATITUDE / 10" | bc -l | xargs printf "%.2f" | sed "s~,~.~g" )
|
||||||
echo "***** PLAYER $PLAYER *************************************"
|
echo "***** PLAYER $PLAYER *************************************"
|
||||||
echo "GRATITUDE ${GRATITUDE} ZEN = ${G1AMOUNT} G1
|
echo "GRATITUDE ${GRATITUDE} ZEN = ${G1AMOUNT} G1
|
||||||
to ${SECTOR} WALLET ${SECTORG1PUB}"
|
to ${SECTOR} WALLET ${SECTORG1PUB}"
|
||||||
|
|
Loading…
Reference in New Issue