geo.js fix

This commit is contained in:
NN Solex 2023-05-01 22:59:40 +03:00
parent 20c0224bc8
commit 4203301112
35 changed files with 556 additions and 23 deletions

View file

@ -0,0 +1,5 @@
Title: Journal Entry 4
Date: 2023-04-12
Category: Blue Eyed Donkey
The festival of the Golden Calf is approaching, and the whole town is buzzing with anticipation. People are putting up decorations and practicing music for the big day. I can feel the excitement building, but I'm not sure what to expect. The cultists seem to be especially fervent this year, and they've been constructing an elaborate shrine in the town square. I can't help but wonder what it means for the town and its people.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 5
Date: 2023-04-12
Category: Blue Eyed Donkey
Last night I had a nightmare about a donkey with blue eyes. In the dream, he was leading me through a maze of underground caves, but every time I looked back, the tunnels had shifted and I couldn't find my way back. Suddenly, I woke up with a start, convinced that someone or something was in my room. But when I turned on the light, there was nothing there. Maybe it was just my mind playing tricks on me.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 6
Date: 2023-04-12
Category: Blue Eyed Donkey
I met Sunday today, and he's a strange fellow. He's fascinated by musical machines and their ability to manipulate reality. He spoke about how music can influence the world and change the way we perceive things. Although I couldn't follow everything he said, I found myself captivated by his words. There's something odd about him, though. I can't help feeling like he's not entirely human.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 7
Date: 2023-04-12
Category: Blue Eyed Donkey
I ventured deep into one of the caves that dot this place. Its twisting tunnels and cavernous halls seem to have no end, and I feel like I've been wandering for hours. The musty air is thick with dust and the scent of damp earth, and the walls are slick with moss and lichen. It's as if the very rocks themselves are alive and breathing. As I explored further, I heard strange echoes and whispers, and the sound of footsteps coming from far away. I'm starting to wonder if I'm the only one down here, or if something else is lurking in the darkness.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 8
Date: 2023-04-12
Category: Blue Eyed Donkey
I met a man today who calls himself the Blue-Eyed Donkey. He was cooking an omelet with a pigeon's egg on a British kerosene stove. He ate it with gusto, but he refused to speak to me. I could see the fear in his eyes. It's strange how guarded some people are in this town. The people here are peculiar. They act in mysterious ways, like they're hiding something. It's unsettling, but also intriguing. I can't help but wonder what secrets this place holds.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 9
Date: 2023-04-12
Category: Blue Eyed Donkey
As I delve deeper into the world of Dada, I can't help but notice the striking similarities between the movement and the strange occurrences in this town. The absurdity and chaos, the rejection of societal norms and values, the questioning of reality itself -- all of it seems to be reflected in the bizarre events that I've witnessed. It's almost as if the Dadaists were prophesying what was to come. And yet, I can't shake the feeling that there's something deeper, something more sinister at play. Is it possible that this is all part of a grand scheme, orchestrated by some unseen force? The more I learn, I'm starting to wonder if there's more to this than just my imagination.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 10
Date: 2023-04-12
Category: Blue Eyed Donkey
The tunnels beckon me, their twisted paths leading deeper into the heart of the mountain. I know that I must follow, that the answers I seek are waiting for me in the darkness. The walls seem to whisper secrets, ancient knowledge that has been lost to time. I feel as though I am on the verge of a great discovery. I have seen things that cannot be explained, visions of a world beyond our own. The lines between reality and fantasy have become blurred, and I am not sure which is which anymore. But I do not fear the unknown, for I know that I am on the right path. The music guides me, and I will follow it wherever it leads.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 11
Date: 2023-04-12
Category: Blue Eyed Donkey
As I fell asleep last night, the fragrance of the wildflowers filled my senses, and I found myself wandering in a beautiful valley full of olive trees. The sun was setting, casting the sky in hues of orange and red. As I wandered between the trees, I heard a faint tinkling sound, and soon it grew louder, forming a symphony of music. Suddenly, I was surrounded by strange mechanical creatures, their limbs moving in perfect sync with the melody. The music was like nothing I had ever heard before, ethereal and otherworldly. When I woke up, I felt like I had just returned from a far-off land. The music was still ringing in my ears, and I couldn't shake off the feeling that it was calling out to me.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 12
Date: 2023-04-12
Category: Blue Eyed Donkey
The paranoia is really starting to set in. I can't trust anyone, not even myself. I keep having these vivid nightmares and I'm starting to lose track of what's real and what's just my imagination. I'm afraid that if I stay here much longer, I'll never be able to leave. I've decided to leave the village tomorrow. I don't care if I never figure out what's really going on here. I just want to get as far away from this place as possible. I packed my bags this afternoon, and when I opened my door to leave, I found a blue-eyed donkey standing outside. It just stared at me with those piercing blue eyes...

View file

@ -0,0 +1,5 @@
Title: Journal Entry 13
Date: 2023-04-12
Category: Blue Eyed Donkey
The Prophet's cave holds the key to unlocking the mysteries of this land. I can feel his presence all around me, a guiding force that leads me closer to my goal. The whispers of the wind seem to carry his words, and I know that I am on the right path. It was as if the very cave itself was a musical instrument, waiting to be played. The Prophet's words echoed off the walls like a symphony, and I couldn't help but feel like I was part of his grand composition. It was a tune that I couldn't get out of my head, a melody that danced through the caves and into my soul.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 14
Date: 2023-04-12
Category: Blue Eyed Donkey
I delved deep into the thorn-laden thicket, my mind ablaze with the key that glimmered in my hand. The path twisted and turned like a demented serpent, the air grew thick and syrupy, like molasses infused with the scent of ancient secrets. And then, there he was. Sunday, the prophet of madness, stood before me, surrounded by his infernal machines and writhing in a fevered frenzy. I could feel the music coursing through my veins, like a thousand serpents uncoiling in a never-ending dance. It spoke to me in tongues unknown, and I felt my mind unraveling like a ball of yarn caught in a hurricane. And then, in a blinding flash of light and sound, the world was reborn in a symphony of chaos and destruction.

View file

@ -0,0 +1,5 @@
Title: Journal Entry 15
Date: 2023-04-12
Category: Blue Eyed Donkey
I need to leave this place, but I fear I won't make it out alive. They are everywhere, and I don't know who I can trust. Even my own mind feels like it's turning against me, taunting me with visions of things I can't explain. I need to find a way out, but it feels like I'm trapped in a nightmare. I must leave. I must escape. I must run. I must forget. I must burn this journal. I must burn this memory. I must burn this music. I must burn this reality. I must burn myself. I must be reborn. I must be free.

View file

@ -4,12 +4,16 @@ const ios = ua.indexOf("ios") > -1;
const windows = ua.indexOf("windows") > -1;
const linux = ua.indexOf("linux") > -1;
const mac = ua.indexOf("macos") > -1;
var hashlinks = document.querySelectorAll(".geo a");
var hashlinks = document.querySelectorAll('[href*="geo:"]');
var hasharray = [...hashlinks];
if ( hasharray.length > 0 ) {
hasharray.forEach(hashlink => {
if ( windows || mac || linux ) hashlink.href = "https://maps.google.com/?q=" + hashlink.getAttribute("latlon");
else if ( android ) hashlink.href = "geo:0,0?q=" + hashlink.getAttribute("latlon");
else if ( ios ) hashlink.href = "http://maps.apple.com/?ll=" + hashlink.getAttribute("latlon") + "&q=" + hashlink.innerHTML;
const geolink = hashlink.getAttribute("href").match(/(-?\d+(\.\d+)?),\s*(-?\d+(\.\d+)?)/g);
var latlon;
if ( geolink.length > 1 && geolink[0] == '0,0') latlon = geolink[1];
else latlon = geolink[0];
if ( windows || mac || linux ) hashlink.href = "https://maps.google.com/?q=" + latlon;
else if ( android ) hashlink.href = "geo:0,0?q=" + latlon;
else if ( ios ) hashlink.href = "http://maps.apple.com/?ll=" + latlon + "&q=" + hashlink.innerHTML;
});
}

View file

@ -9,9 +9,12 @@
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark">{{ article.category }}: {{ article.title }}</a>
<a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark">{{ article.category }}: {{ article.title }}</a>
{% if article.metadata['geohash'] %}
[<a href="geo:{{ article.metadata['lat'] }},{{ article.metadata['lon'] }}">{{ article.metadata['geohash'] }}</a>]
{% endif %}
</h2>
<span class="entry-summary">{{ article.summary }}</span>
</header>
</article>
{% endfor %}

View file

@ -4,7 +4,7 @@
<div class="entry-content">
{{ article.content }}
{% if article.metadata.geohash %}
<a href="{{ SITEURL }}/{{ article.category.url }}">NFC</a>
<a href="{{ SITEURL }}/{{ article.category.url }}">Map</a>
{% endif %}
</div>
</section>

View file

@ -24,6 +24,7 @@
"id" : "{{ category.slug }}",
"features": [
{% for article in articles_page.object_list %}
{% if article.metadata['lat'] and article.metadata['lon'] %}
{
"type": "Feature",
"id": "{{ article.slug }}",
@ -35,6 +36,7 @@
"title": "{{ article.title }}"
},
},
{% endif %}
{% endfor %}
]
};

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>The tunnels beckon me, their twisted paths leading deeper into the heart of the mountain. I know that I must follow, that the answers I seek are waiting for me in the darkness. The walls seem to whisper secrets, ancient knowledge that has been lost to time. I feel as though I am on the verge of a great discovery. I have seen things that cannot be explained, visions of a world beyond our own. The lines between reality and fantasy have become blurred, and I am not sure which is which anymore. But I do not fear the unknown, for I know that I am on the right path. The music guides me, and I will follow it wherever it leads.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>As I fell asleep last night, the fragrance of the wildflowers filled my senses, and I found myself wandering in a beautiful valley full of olive trees. The sun was setting, casting the sky in hues of orange and red. As I wandered between the trees, I heard a faint tinkling sound, and soon it grew louder, forming a symphony of music. Suddenly, I was surrounded by strange mechanical creatures, their limbs moving in perfect sync with the melody. The music was like nothing I had ever heard before, ethereal and otherworldly. When I woke up, I felt like I had just returned from a far-off land. The music was still ringing in my ears, and I couldn't shake off the feeling that it was calling out to me.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>The paranoia is really starting to set in. I can't trust anyone, not even myself. I keep having these vivid nightmares and I'm starting to lose track of what's real and what's just my imagination. I'm afraid that if I stay here much longer, I'll never be able to leave. I've decided to leave the village tomorrow. I don't care if I never figure out what's really going on here. I just want to get as far away from this place as possible. I packed my bags this afternoon, and when I opened my door to leave, I found a blue-eyed donkey standing outside. It just stared at me with those piercing blue eyes...</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>The Prophet's cave holds the key to unlocking the mysteries of this land. I can feel his presence all around me, a guiding force that leads me closer to my goal. The whispers of the wind seem to carry his words, and I know that I am on the right path. It was as if the very cave itself was a musical instrument, waiting to be played. The Prophet's words echoed off the walls like a symphony, and I couldn't help but feel like I was part of his grand composition. It was a tune that I couldn't get out of my head, a melody that danced through the caves and into my soul.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>I delved deep into the thorn-laden thicket, my mind ablaze with the key that glimmered in my hand. The path twisted and turned like a demented serpent, the air grew thick and syrupy, like molasses infused with the scent of ancient secrets. And then, there he was. Sunday, the prophet of madness, stood before me, surrounded by his infernal machines and writhing in a fevered frenzy. I could feel the music coursing through my veins, like a thousand serpents uncoiling in a never-ending dance. It spoke to me in tongues unknown, and I felt my mind unraveling like a ball of yarn caught in a hurricane. And then, in a blinding flash of light and sound, the world was reborn in a symphony of chaos and destruction.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>I need to leave this place, but I fear I won't make it out alive. They are everywhere, and I don't know who I can trust. Even my own mind feels like it's turning against me, taunting me with visions of things I can't explain. I need to find a way out, but it feels like I'm trapped in a nightmare. I must leave. I must escape. I must run. I must forget. I must burn this journal. I must burn this memory. I must burn this music. I must burn this reality. I must burn myself. I must be reborn. I must be free.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>The festival of the Golden Calf is approaching, and the whole town is buzzing with anticipation. People are putting up decorations and practicing music for the big day. I can feel the excitement building, but I'm not sure what to expect. The cultists seem to be especially fervent this year, and they've been constructing an elaborate shrine in the town square. I can't help but wonder what it means for the town and its people.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>Last night I had a nightmare about a donkey with blue eyes. In the dream, he was leading me through a maze of underground caves, but every time I looked back, the tunnels had shifted and I couldn't find my way back. Suddenly, I woke up with a start, convinced that someone or something was in my room. But when I turned on the light, there was nothing there. Maybe it was just my mind playing tricks on me.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>I met Sunday today, and he's a strange fellow. He's fascinated by musical machines and their ability to manipulate reality. He spoke about how music can influence the world and change the way we perceive things. Although I couldn't follow everything he said, I found myself captivated by his words. There's something odd about him, though. I can't help feeling like he's not entirely human.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>I ventured deep into one of the caves that dot this place. Its twisting tunnels and cavernous halls seem to have no end, and I feel like I've been wandering for hours. The musty air is thick with dust and the scent of damp earth, and the walls are slick with moss and lichen. It's as if the very rocks themselves are alive and breathing. As I explored further, I heard strange echoes and whispers, and the sound of footsteps coming from far away. I'm starting to wonder if I'm the only one down here, or if something else is lurking in the darkness.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>I met a man today who calls himself the Blue-Eyed Donkey. He was cooking an omelet with a pigeon's egg on a British kerosene stove. He ate it with gusto, but he refused to speak to me. I could see the fear in his eyes. It's strange how guarded some people are in this town. The people here are peculiar. They act in mysterious ways, like they're hiding something. It's unsettling, but also intriguing. I can't help but wonder what secrets this place holds.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="english">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="/theme/local.css" rel="stylesheet">
</head>
<body id="index" class="home">
<section id="content" class="body">
<div class="entry-content">
<p>As I delve deeper into the world of Dada, I can't help but notice the striking similarities between the movement and the strange occurrences in this town. The absurdity and chaos, the rejection of societal norms and values, the questioning of reality itself -- all of it seems to be reflected in the bizarre events that I've witnessed. It's almost as if the Dadaists were prophesying what was to come. And yet, I can't shake the feeling that there's something deeper, something more sinister at play. Is it possible that this is all part of a grand scheme, orchestrated by some unseen force? The more I learn, I'm starting to wonder if there's more to this than just my imagination.</p>
</div>
</section>
</body>
<script src="/theme/platform.js"></script>
<script src="/theme/geo.js"></script>
</html>

View file

@ -11,7 +11,7 @@
<section id="content" class="body">
<div class="entry-content">
<p>As I wandered through the museum today, I stumbled upon a hidden room tucked away in a corner. It was like nothing I'd ever seen before. The air was heavy with the scent of wood and brass, and strange instruments and machines filled the room. Pipes and horns seemed to sprout from the walls like metallic vines, and the organs were unlike any I'd ever laid eyes on, with keyboards sprouting in every direction. As I explored further, I found boxes adorned with mysterious levers and knobs that seemed to emit a cacophony of otherworldly sounds. It was as though I had stumbled into the secret workshop of a mad scientist.</p>
<a href="/projects/testing">NFC</a>
<a href="/projects/testing">Map</a>
</div>
</section>

View file

@ -11,7 +11,7 @@
<section id="content" class="body">
<div class="entry-content">
<p>I spent the day exploring the town and stumbled upon an old, abandoned house. Inside, I found a collection of paintings that immediately caught my eye. They were unlike anything I had ever seen before, with bold colors and abstract shapes. I later learned that the artist who painted them was an Austrian painter who had worked as a traffic warden in the early days of the country. Her eccentricity was well-known among the locals, and it's said that she inspired Sunday, one of the founders of the town, in his own artistic pursuits. It's a shame that her work has been forgotten and left to decay in this abandoned house.</p>
<a href="/projects/blue-eyed-donkey">NFC</a>
<a href="/projects/blue-eyed-donkey">Map</a>
</div>
</section>

View file

@ -11,7 +11,7 @@
<section id="content" class="body">
<div class="entry-content">
<p>As I wandered through the museum today, I stumbled upon a hidden room tucked away in a corner. It was like nothing I'd ever seen before. The air was heavy with the scent of wood and brass, and strange instruments and machines filled the room. Pipes and horns seemed to sprout from the walls like metallic vines, and the organs were unlike any I'd ever laid eyes on, with keyboards sprouting in every direction. As I explored further, I found boxes adorned with mysterious levers and knobs that seemed to emit a cacophony of otherworldly sounds. It was as though I had stumbled into the secret workshop of a mad scientist.</p>
<a href="/projects/blue-eyed-donkey">NFC</a>
<a href="/projects/blue-eyed-donkey">Map</a>
</div>
</section>

View file

@ -11,7 +11,7 @@
<section id="content" class="body">
<div class="entry-content">
<p>I noticed a peculiar sensation in the air as soon as I arrived in town. It was as if an electric charge was coursing through the air beneath the pastoral tranquillity, making me nervous. I looked around, but there was no one to be found. The faint odor of decay lingered around me, mingled with the sweet fragrance of incense. The mix made me feel uneasy, like if I'd stepped into a strange, surreal dream.</p>
<a href="/projects/blue-eyed-donkey">NFC</a>
<a href="/projects/blue-eyed-donkey">Map</a>
</div>
</section>

View file

@ -20,6 +20,60 @@
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
@ -38,6 +92,60 @@
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<span class="geo"><a latlon="" href="geo:"></a></span>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">

View file

@ -14,36 +14,148 @@
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/svbfh1049ck" rel="bookmark">Blue Eyed Donkey: Journal Entry 1</a>
<a href="/svbfh1049ck" rel="bookmark">Blue Eyed Donkey: Journal Entry 1</a>
[<a href="geo:32.70124169424201,34.9805500394171">svbfh1049ck</a>]
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/svbfh0cc5fp" rel="bookmark">Blue Eyed Donkey: Journal Entry 2</a>
<a href="/journal-entry-10" rel="bookmark">Blue Eyed Donkey: Journal Entry 10</a>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/svbfh0geqrx" rel="bookmark">Blue Eyed Donkey: Journal Entry 3</a>
<a href="/journal-entry-11" rel="bookmark">Blue Eyed Donkey: Journal Entry 11</a>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/svbf5c4nwkr" rel="bookmark">Testing: Test</a>
<a href="/journal-entry-12" rel="bookmark">Blue Eyed Donkey: Journal Entry 12</a>
</h2>
<span class="entry-summary"></span>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/journal-entry-13" rel="bookmark">Blue Eyed Donkey: Journal Entry 13</a>
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/journal-entry-14" rel="bookmark">Blue Eyed Donkey: Journal Entry 14</a>
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/journal-entry-15" rel="bookmark">Blue Eyed Donkey: Journal Entry 15</a>
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/svbfh0cc5fp" rel="bookmark">Blue Eyed Donkey: Journal Entry 2</a>
[<a href="geo:32.699615286072735,34.98304356695975">svbfh0cc5fp</a>]
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/svbfh0geqrx" rel="bookmark">Blue Eyed Donkey: Journal Entry 3</a>
[<a href="geo:32.70003059472479,34.985554114475526">svbfh0geqrx</a>]
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/journal-entry-4" rel="bookmark">Blue Eyed Donkey: Journal Entry 4</a>
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/journal-entry-5" rel="bookmark">Blue Eyed Donkey: Journal Entry 5</a>
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/journal-entry-6" rel="bookmark">Blue Eyed Donkey: Journal Entry 6</a>
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/journal-entry-7" rel="bookmark">Blue Eyed Donkey: Journal Entry 7</a>
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/journal-entry-8" rel="bookmark">Blue Eyed Donkey: Journal Entry 8</a>
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/journal-entry-9" rel="bookmark">Blue Eyed Donkey: Journal Entry 9</a>
</h2>
</header>
</article>
<article class="hentry">
<header>
<h2 class="entry-title">
<a href="/svbf5c4nwkr" rel="bookmark">Testing: Test</a>
[<a href="geo:32.70194460092584,34.972507850461874">svbf5c4nwkr</a>]
</h2>
</header>
</article>

View file

@ -4,12 +4,16 @@ const ios = ua.indexOf("ios") > -1;
const windows = ua.indexOf("windows") > -1;
const linux = ua.indexOf("linux") > -1;
const mac = ua.indexOf("macos") > -1;
var hashlinks = document.querySelectorAll(".geo a");
var hashlinks = document.querySelectorAll('[href*="geo:"]');
var hasharray = [...hashlinks];
if ( hasharray.length > 0 ) {
hasharray.forEach(hashlink => {
if ( windows || mac || linux ) hashlink.href = "https://maps.google.com/?q=" + hashlink.getAttribute("latlon");
else if ( android ) hashlink.href = "geo:0,0?q=" + hashlink.getAttribute("latlon");
else if ( ios ) hashlink.href = "http://maps.apple.com/?ll=" + hashlink.getAttribute("latlon") + "&q=" + hashlink.innerHTML;
const geolink = hashlink.getAttribute("href").match(/(-?\d+(\.\d+)?),\s*(-?\d+(\.\d+)?)/g);
var latlon;
if ( geolink.length > 1 && geolink[0] == '0,0') latlon = geolink[1];
else latlon = geolink[0];
if ( windows || mac || linux ) hashlink.href = "https://maps.google.com/?q=" + latlon;
else if ( android ) hashlink.href = "geo:0,0?q=" + latlon;
else if ( ios ) hashlink.href = "http://maps.apple.com/?ll=" + latlon + "&q=" + hashlink.innerHTML;
});
}