From be3d9531e813a33155ff46f463ff347a2cb5ebbb Mon Sep 17 00:00:00 2001 From: fred Date: Sat, 30 Mar 2024 14:25:53 +0100 Subject: [PATCH] MULTIPASS DID fine tune --- RUNTIME/VISA.new.sh | 16 ++++++++++++++++ templates/UPlanetZine/index.es.html | 6 ++---- templates/UPlanetZine/index.fr.html | 7 ++----- templates/UPlanetZine/index.html | 7 ++----- 4 files changed, 22 insertions(+), 14 deletions(-) diff --git a/RUNTIME/VISA.new.sh b/RUNTIME/VISA.new.sh index d65e14a4..dcf9e51b 100755 --- a/RUNTIME/VISA.new.sh +++ b/RUNTIME/VISA.new.sh @@ -527,6 +527,21 @@ echo "" ####tools##########################################getUMAP_ENV.sh $(${MY_PATH}/../tools/getUMAP_ENV.sh "${LAT}" "${LON}" | tail -n 1) + + +ipns2did="" + +# Loop through the ASTRONAUTENS two characters at a time +for ((i = 0; i < ${#ASTRONAUTENS}; i += 2)); do + ipns2did+=" ${ASTRONAUTENS:i:2}" + # Check if 12 doublets have been added + if (( (i / 2 + 1) % 12 == 0 )); then + ipns2did+="
" # Add a newline character + fi +done + +# Print the result with leading space removed +echo -e "${ipns2did:1}" ####################################################### EMAIL [[ -s ${MY_PATH}/../templates/UPlanetZine/index.${LANG}.html ]] \ && ZINE="${MY_PATH}/../templates/UPlanetZine/index.${LANG}.html" \ @@ -538,6 +553,7 @@ cat ${ZINE} \ -e "s~_MOATS_~${MOATS}~g" \ -e "s~_G1PUB_~${G1PUB}~g" \ -e "s~_ASTRONAUTENS_~${ASTRONAUTENS}~g" \ + -e "s~_ASTRODID_~${ipns2did:1}~g" \ -e "s~0448~${PASS}~g" \ -e "s~_IPFSNODEID_~${IPFSNODEID}~g" \ -e "s~_EARTHCID_~${EARTHCID}~g" \ diff --git a/templates/UPlanetZine/index.es.html b/templates/UPlanetZine/index.es.html index 76063d21..d34a8ed0 100644 --- a/templates/UPlanetZine/index.es.html +++ b/templates/UPlanetZine/index.es.html @@ -21,8 +21,7 @@ href="/ipfs/QmeegmN4shouhnzvnDYpbSEJtdRsyy39SpL9XqYVHgtN44/style.css" />

MULTIPASS ☼☼☼☼☼

-

"TW5"

-
did:ipns:_ASTRONAUTENS_
+
_ASTRODID_
@@ -57,8 +56,7 @@ href='_EARTHCID_/map_render.html?southWestLat=_SLAT_&southWestLon=_SLON_°=0.1 Estamos encantados de presentarle su ZenCard, un símbolo tangible de poder y soberanía financiera en nuestro cosmos descentralizado.
-ZenCard + TW5
+

ZenCard + "TW5"



_G1PUB_
 _IPFSNODEID_
diff --git a/templates/UPlanetZine/index.fr.html b/templates/UPlanetZine/index.fr.html index c3b6a031..e18f4ec2 100644 --- a/templates/UPlanetZine/index.fr.html +++ b/templates/UPlanetZine/index.fr.html @@ -21,8 +21,7 @@ href="/ipfs/QmeegmN4shouhnzvnDYpbSEJtdRsyy39SpL9XqYVHgtN44/style.css" />

MULTIPASS ☼☼☼☼☼

-

"TW5"

-
did:ipns:_ASTRONAUTENS_
+
_ASTRODID_
@@ -54,9 +53,7 @@ href='_EARTHCID_/map_render.html?southWestLat=_SLAT_&southWestLon=_SLON_°=0.1 Nous sommes ravis de vous présenter votre ZenCard, un symbole tangible d'autonomisation et de souveraineté financière dans notre cosmos décentralisé.
-ZenCard + TW5
+

ZenCard + "TW5"



_G1PUB_
 _IPFSNODEID_
diff --git a/templates/UPlanetZine/index.html b/templates/UPlanetZine/index.html index 808582fe..10f806eb 100644 --- a/templates/UPlanetZine/index.html +++ b/templates/UPlanetZine/index.html @@ -21,8 +21,7 @@ href="/ipfs/QmeegmN4shouhnzvnDYpbSEJtdRsyy39SpL9XqYVHgtN44/style.css" />

MULTIPASS ☼☼☼☼☼

-

"TW5"

-
did:ipns:_ASTRONAUTENS_
+
_ASTRODID_
@@ -59,9 +58,7 @@ href='_EARTHCID_/map_render.html?southWestLat=_SLAT_&southWestLon=_SLON_°=0.1 We are thrilled to unveil your ZenCard—a tangible symbol of empowerment and financial sovereignty in our decentralized cosmos.
-ZenCard + TW5
+

ZenCard + "TW5"



_G1PUB_
 _IPFSNODEID_