SEARCH FOR TW on NODE & in SWARM
This commit is contained in:
parent
d92aa2d88d
commit
58e38a4b09
|
@ -212,8 +212,8 @@ echo "<meta http-equiv=\"refresh\" content=\"0; url='/ipfs/${ZCHAIN}' />" > ~/.z
|
|||
echo "<meta http-equiv=\"refresh\" content=\"0; url='${USATGEN}'\" />" > ~/.zen/tmp/${MOATS}/${UMAP}/Usat.html
|
||||
|
||||
## ¤$£€
|
||||
## # GET SCREENSHOT UMAP SECTOR & REGION JPG
|
||||
## PROBLEM ON LIBRA ... MORE TEST NEEDED ... TODO
|
||||
## TODO # GET SCREENSHOT UMAP SECTOR & REGION JPG
|
||||
## PROBLEM ON LIBRA ... MORE TEST NEEDED ...
|
||||
[[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/Umap.jpg ]] \
|
||||
&& python ${MY_PATH}/../tools/page_screenshot.py "${myIPFS}${UMAPGEN}" ~/.zen/tmp/${MOATS}/${UMAP}/Umap.jpg 900 900 2>/dev/null \
|
||||
&& [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/Umap.jpg ]] && killall chrome
|
||||
|
@ -221,9 +221,9 @@ echo "<meta http-equiv=\"refresh\" content=\"0; url='/ipfs/${ZCHAIN}' />" > ~/.z
|
|||
[[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/Usat.jpg ]] \
|
||||
&& python ${MY_PATH}/../tools/page_screenshot.py "${myIPFS}${USATGEN}" ~/.zen/tmp/${MOATS}/${UMAP}/Usat.jpg 900 900 2>/dev/null \
|
||||
&& [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/Usat.jpg ]] && killall chrome
|
||||
#### NOT WORKING !!!
|
||||
|
||||
|
||||
## GEOLINKING SURROUNDING UMAPS ###############################
|
||||
## GEOLINKING CALCULATE SURROUNDING UMAPS ###############################
|
||||
if [[ ! -s ~/.zen/tmp/${MOATS}/${UMAP}/geolinks.json ]]; then
|
||||
|
||||
${MY_PATH}/../tools/Umap_geolinks.sh "${LAT}" "${LON}" "${UMAP}" "${MOATS}" "${UMAPNS}"
|
||||
|
@ -270,7 +270,10 @@ echo "<meta http-equiv=\"refresh\" content=\"0; url='/ipfs/${ZCHAIN}' />" > ~/.z
|
|||
" > ~/.zen/tmp/world.js
|
||||
floop=1
|
||||
|
||||
TWFILES=($(ls ~/.zen/tmp/swarm/*/UPLANET/_${LAT}_${LON}/TW/*/index.html 2>/dev/null))
|
||||
SWARMTW=($(ls ~/.zen/tmp/swarm/*/UPLANET/_${LAT}_${LON}/TW/*/index.html 2>/dev/null))
|
||||
NODETW=($(ls ~/.zen/tmp/${IPFSNODEID}/UPLANET/_${LAT}*_${LON}*/TW/*/index.html 2>/dev/null))
|
||||
TWFILES=("${SWARMTW[@]}" "${NODETW[@]}")
|
||||
|
||||
for TWRED in ${TWFILES[@]}; do
|
||||
ZMAIL=$(echo ${TWRED} | rev | cut -d '/' -f 2 | rev)
|
||||
TWADD=$(cat ${TWRED} | grep -o "/ipns/[^\"]*" | sed "s/'$//")
|
||||
|
|
|
@ -99,8 +99,8 @@
|
|||
#yellow {
|
||||
background: black;
|
||||
position: absolute;
|
||||
top: 2%;
|
||||
right: 4%;
|
||||
top: 5%;
|
||||
right: 5%;
|
||||
width: 55%;
|
||||
}
|
||||
|
||||
|
@ -131,47 +131,40 @@
|
|||
padding: 5px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<button style="position: fixed; top: 10px; left: 10px;" onclick="document.getElementById('console').style.visibility = (document.getElementById('console').style.visibility === 'visible' ? 'hidden' : 'visible');">(-/+)</button>
|
||||
<body>
|
||||
<button style="position: fixed; top: 10px; left: 10px;" onclick="document.getElementById('console').style.visibility = (document.getElementById('console').style.visibility === 'visible' ? 'hidden' : 'visible');">(-/+)</button>
|
||||
<div id="demo">
|
||||
<div id="description">
|
||||
|
||||
<div id="showoff">
|
||||
<div id="yellow" >
|
||||
<div id="container">
|
||||
<br><br>
|
||||
<br><br>
|
||||
<canvas id="sphere" width="400" height="400"></canvas>
|
||||
<div id="glow-shadows" class="earth"></div>
|
||||
<canvas id="flights" width="400" height="400"></canvas>
|
||||
<div id="locations"></div>
|
||||
<div id="description">
|
||||
<div id="showoff">
|
||||
<div id="yellow">
|
||||
<div id="container">
|
||||
<br><br><br><br>
|
||||
<canvas id="sphere" width="400" height="400"></canvas>
|
||||
<div id="glow-shadows" class="earth"></div>
|
||||
<canvas id="flights" width="400" height="400"></canvas>
|
||||
<div id="locations"></div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<p><a href="http://127.0.0.1:8080/ipns/_UPZONENS_">"_UPZONE_"</a></p>
|
||||
<p><a href="http://127.0.0.1:8080/ipns/_ZONENS_">"_ZONE_"</a></p>
|
||||
<p>👍 UPlanet Ditributed Ẑen Banks</p>
|
||||
<br>
|
||||
<p>powered by <a href="https://github.com/papiche/Astroport.ONE">Astroport.ONE</a></p>
|
||||
<p>designed by <a href="https://opencollective.com/monnaie-libre/projects/stiits">LaSTI</a></p>
|
||||
<p>juiced by <a href="https://opencollective.com/monnaie-libre/projects/coeurbox">La♥BOX</a></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<p><a href="http://127.0.0.1:8080/ipns/_UPZONENS_">"_UPZONE_"</a></p>
|
||||
<p><a href="http://127.0.0.1:8080/ipns/_ZONENS_">"_ZONE_"</a></p>
|
||||
|
||||
<p>
|
||||
👍 UPlanet Ditributed Data Storage
|
||||
</p>
|
||||
<br>
|
||||
<p> 👍 powered by <a href="https://github.com/papiche/Astroport.ONE">Astroport.ONE</a>
|
||||
<br> designed by <a href="https://opencollective.com/monnaie-libre/projects/stiits">LaSTI</a>
|
||||
<br> juiced by <a href="https://opencollective.com/monnaie-libre/projects/coeurbox">La♥BOX</a>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="console"><a href="_index.p4n.html" target="aframe">O</a> ___ <a href="/ipns/_ZONENS_/TW" target="aframe">ZONE TW _ZONE_ (@@@) </a> ___ <button onclick="document.getElementById('console').style.visibility = 'hidden';"> X </button>
|
||||
<div id="console">
|
||||
<a href="_index.p4n.html" target="aframe">O</a> ___ <a href="/ipns/_ZONENS_/TW" target="aframe">ZONE TW _ZONE_ (@@@) </a> ___
|
||||
<button onclick="document.getElementById('console').style.visibility = 'hidden';"> X </button>
|
||||
<iframe name="aframe" id="aframe" src="_index.p4n.html" width="100%" height="100%"></iframe>
|
||||
</div>
|
||||
|
||||
</body></html>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
Loading…
Reference in New Issue