get more goodies

This commit is contained in:
fred 2023-10-03 00:33:27 +02:00
parent 9c3ad6bf08
commit f029251571
3 changed files with 4 additions and 4 deletions

View File

@ -244,7 +244,7 @@ mkdir ~/.zen/tmp/${MOATS}
## RECORD P4N SPOT DATA
curl -s "https://www.park4night.com/api/places/around?lat=$LAT&lng=$LON&radius=200&filter=%7B%7D&lang=fr" -o ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json
[[ -s ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json ]] \
&& cp ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json
&& mv ~/.zen/tmp/${MOATS}/${UMAP}/fetch.json ~/.zen/tmp/${MOATS}/${UMAP}/p4n.json
## GET 100KM GCHANGE ADS ( https://data.gchange.fr )
${MY_PATH}/../tools/gchange_get_50km_around_LAT_LON_ads.sh ${LAT} ${LON} > ~/.zen/tmp/${MOATS}/${UMAP}/gchange50.json

View File

@ -32,7 +32,7 @@ G1PUB="$3"
## EXPORT [tag[voeu]]
echo "## EXTRACTION DE NOUVEAUX VOEUX pour $PLAYER TW"
echo "$INDEX [tag[voeu]] ?"
rm -f ~/.zen/tmp/voeu.json
rm -f ~/.zen/tmp/voeu.json 2>/dev/null
tiddlywiki --load ${INDEX} --output ~/.zen/tmp --render '.' 'voeu.json' 'text/plain' '$:/core/templates/exporters/JsonFile' 'exportFilter' '[tag[voeu]]'
[[ ! -s ~/.zen/tmp/voeu.json ]] && echo "AUCUN VOEU - EXIT -" && exit 0

View File

@ -31,7 +31,7 @@ header {
#yellow {
background: yellow;
position: absolute;
top: 15%;
top: 1%;
right: 6%;
width: 180;
visibility: hidden;
@ -143,7 +143,7 @@ header {
<option value='@astroport'>G1CARD+@</option>
</select>
<input type='hidden' name='dice' value='4' >&nbsp;&nbsp;&nbsp;&nbsp;
<button type='submit'>get more wallets...</button>
<button type='submit'>get more goodies...</button>
</form>
</h2>