-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.php
More file actions
413 lines (371 loc) · 23.8 KB
/
index.php
File metadata and controls
413 lines (371 loc) · 23.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
<!DOCTYPE html>
<html lang="en-US">
<!-- Head -->
<head>
<!-- Meta Tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Page Title -->
<title>Zachary Kai</title>
<!-- Stylesheet -->
<link rel="stylesheet" href="/assets/style.css">
<!-- Page Info -->
<meta name="date" content="2024-03-25">
<meta name="last-modified" content="2026-03-08">
<meta name="description" content="Hi! I'm Zachary Kai, a scifi writer, and the sole operator of Road Less Read. Also an offbeat queer, twenty-something, curiosity enthusiast, and traveler.">
<!-- File Links -->
<link rel="shortcut icon" href="/assets/icon.ico" type="image/x-icon">
<link rel="stylesheet" href="/assets/print.css" media="print">
<!-- Relevant Links -->
<link rel="alternate" type="application/rss+xml" title="Zachary Kai" href="/assets/rss.xml">
<link rel="webmention" href="https://webmention.io/zacharykai.net/webmention" />
<link rel="canonical" href="https://zacharykai.net">
</head>
<!-- Body -->
<body>
<!-- Skip Link -->
<p><a href="#top" class="essentials">Begin reading...</a></p>
<!-- Site Header -->
<header><nav><a href="https://zacharykai.net/" class="u-url u-uid">Zachary Kai</a></nav></header>
<!-- Main Content -->
<main class="h-entry e-content">
<!-- Page Header -->
<header>
<!-- Breadcrumbs -->
<p class="essentials"><a href="/">Homepage</a> • <a href="/sitemap#pages">Pages</a> ↴</p>
<!-- Page Title -->
<h1 class="p-name">Zachary Kai</h1>
<!-- Necessary Metadata -->
<p class="essentials">
<strong>Written By</strong>: <a href="/about">Zachary Kai</a> »
<strong>Published</strong>: <time class="dt-published" datetime="2024-03-25">25 Mar 2024</time> |
<strong>Updated</strong>: <time class="dt-modified" datetime="2026-03-08">8 Mar 2026</time>
</p>
<!-- Other Metadata -->
<details class="essentials">
<summary>Expand For Other (Hopefully Useful) Metadata</summary>
<ul>
<li>Reading Time: ~1 min (at 238 WPM)
<li>Word Count: 299</li>
</ul>
</details>
</header>
<!-- Page Body -->
<section class="e-content">
<!-- Introduction -->
<p id="top" class="p-summary">Hi! I'm Zachary Kai, a <a href="https://lunaseeker.com/catalog" rel="noopener">space fantasy writer</a>. Also an offbeat queer, twenty-something, curiosity enthusiast, and traveler. An avowed generalist, and learning to be proud of it.</p>
<p>Want to have look around? See: <a href="/about">about me</a>, <a href="/tags">pages/notes by tag</a>, <a href="/now">what I'm working on</a>, <a href="/search">search the site</a>, and <a href="/sitemap">the sitemap</a> for everything else.</p>
<!-- More About Me + Links -->
<p><strong>I'm seeking remote work! Here's my <a href="https://lunaseeker.com/cv" rel="noopener">CV</a>. If I'd be a good fit, <a href="/hello">contact me</a>.</strong></p>
<p>I'm Australian, and oscillate between living there and overseas. Now? I'm in Kosovo.</p>
<p>I run <a href="https://www.roadlessread.com/" rel="noopener">Road Less Read</a>, where I compile my book notes. I make <a href="/art">art</a> and <a href="https://lunaseeker.com/catalog/zines" rel="noopener">zines</a>, take <a href="/photos">photos</a>, so I'd love <a href="/hello#trade">to trade</a>! I also have <a href="https://lunaseeker.com/offerings/" rel="noopener">various offerings</a> (which you can partake in!)</p>
<p id="rel-me">Meeting folks is a delight! <a href="/contact">Contact me</a>, <a href="/guestbook">sign the guestbook</a>, or <a href="/unoffice-hours">book an UnOffice Hours call</a>.</p>
<p>Want to go for a web wander? Visit the <a href="/blogroll">blogroll</a>, <a href="/bookmarks">my bookmarks</a>, or a <a href="/random">random page</a>.</p>
<hr>
<!-- Latest Notes: Script For Pulling In Latest Ones -->
<h2>Latest Notes</h2>
<ul>
<?php
$notesDir = __DIR__ . '/notes/';
$files = scandir($notesDir);
$posts = [];
foreach ($files as $file) {
if (pathinfo($file, PATHINFO_EXTENSION) === 'html') {
$filePath = $notesDir . $file;
$content = file_get_contents($filePath);
$title = '';
$dateAttr = '';
// Extract Title & Remove " | Zachary Kai"
if (preg_match('/<title>(.*?)<\/title>/s', $content, $matches)) {
$fullTitle = trim($matches[1]);
$title = preg_replace('/ \| Zachary Kai$/i', '', $fullTitle);
}
// Extract DateTime Attribute
if (preg_match('/<time\s+class="dt-published"\s+datetime="([^"]+)">.*?<\/time>/s', $content, $matches)) {
$dateAttr = $matches[1];
}
if (!empty($title) && !empty($dateAttr)) {
$slug = pathinfo($file, PATHINFO_FILENAME);
$formattedDisplayDate = date('j M Y', strtotime($dateAttr));
$posts[] = [
'title' => $title,
'date_attr' => $dateAttr,
'display_date' => $formattedDisplayDate,
'url' => '/notes/' . $slug,
];
}
}
}
// Sort Posts In Descending Order
usort($posts, function($a, $b) {
return strtotime($b['date_attr']) - strtotime($a['date_attr']);
});
// Get Latest Six Posts
$latestSixPosts = array_slice($posts, 0, 6);
foreach ($latestSixPosts as $post) {
echo ' <li><a href="' . htmlspecialchars($post['url']) . '">' . htmlspecialchars($post['title']) . '</a> | ' . htmlspecialchars($post['display_date']) . '</li>' . "\n";
}
?>
</ul>
<hr>
<section>
<!-- Webrings -->
<h2 id="webrings">Webrings</h2>
<!-- List -->
<details>
<summary><strong>Go on! Explore the world wide web!</strong></summary>
<ul>
<li>
<!-- A11y Webring -->
<strong>
<a href="https://a11y-webring.club/" rel="noopener">a11y-webring.club</a> →
</strong>
<a rel="noopener" href="https://a11y-webring.club/prev">Previous</a> |
<a rel="noopener" href="https://a11y-webring.club/random">Random</a> |
<a rel="noopener" href="https://a11y-webring.club/next">Next</a>
</li>
<li>
<!-- Bucketfish Webring -->
<strong>
<a href="https://webring.bucketfish.me" rel="noopener">Bucketfish Webring</a> →
</strong>
<a href="https://webring.bucketfish.me/redirect.html?to=prev&name=Zachary Kai" rel="noopener">Previous</a> |
<a href="https://webring.bucketfish.me/redirect.html?to=next&name=Zachary Kai" rel="noopener">Next</a>
</li>
<li>
<!-- Catppuccin Webring -->
<strong>
<a href="https://ctp-webr.ing/" rel="noopener">Catppuccin Webring</a> →
</strong>
<a href="https://ctp-webr.ing/zacharykai/previous" rel="noopener">Previous</a> |
<a href="https://ctp-webr.ing/zacharykai/next" rel="noopener">Next</a>
</li>
<li>
<!-- Conehead Webring -->
<strong>
<a href="https://coneheads.netlify.app/" rel="noopener">Conehead Webring</a> →
</strong>
<a href="https://coneheads.n3bula.lol/redirect.html?to=prev&name=zacharykai" rel="noopener">Previous</a> |
<a href="https://coneheads.n3bula.lol/redirect.html?to=random&name=zacharykai" rel="noopener">Random</a> |
<a href="https://coneheads.n3bula.lol/redirect.html?to=next&name=zacharykai" rel="noopener">Next</a>
</li>
<li>
<!-- CSS Joy Webring -->
<strong>
<a href="https://cs.sjoy.lol/" rel="noopener">CSS Joy Webring</a> →
</strong>
<a href="https://webri.ng/webring/cssjoy/previous?via=https://zacharykai.net/" rel="noopener">Previous</a> |
<a href="https://webri.ng/webring/cssjoy/random?via=https://zacharykai.net/" rel="noopener">Random</a> |
<a href="https://webri.ng/webring/cssjoy/next?via=https://zacharykai.net/" rel="noopener">Next</a>
</li>
<li>
<!-- Design Systems Webring -->
<strong>
<a href="https://design-system.club/" rel="noopener">Design Systems Webring</a> →
</strong>
<a href="https://design-system.club/prev" rel="noopener">Previous</a> |
<a href="https://design-system.club/random" rel="noopener">Random</a> |
<a href="https://design-system.club/next" rel="noopener">Next</a>
</li>
<li>
<!-- Ghostring -->
<strong>
<a href="https://ghostring.neocities.org/" rel="noopener">Ghostring</a> →
</strong>
<a href="https://ghostring.neocities.org/zacharykai/previous" rel="noopener">Previous</a> |
<a href="https://ghostring.neocities.org/zacharykai/next" rel="noopener">Next</a>
</li>
<li id="femslashfans">
<!-- Femslash Webring -->
<strong>
<a href="https://alien.hospital/femslashring" rel="noopener">Femslash Webring</a> <img src="https://file.garden/Zw17vw8ctXTQw7PV/femslashfansonline.png" width="30"> →
</strong>
<a href="https://alien.hospital/femslashring?action=previous" rel="noopener">Previous</a> |
<a href="https://alien.hospital/femslashring?action=random" rel="noopener">Random</a> |
<a href="https://alien.hospital/femslashring?action=next" rel="noopener">Next</a>
</li>
<li>
<!-- Hacker Webring -->
<strong>
<a href="https://ring.acab.dev/" rel="noopener">Hacker Webring</a> →
</strong>
<a href="https://ring.acab.dev/prev/ef5cb8df0f" rel="noopener">Previous</a> |
<a href="https://ring.acab.dev/rand/ef5cb8df0f" rel="noopener">Random</a> |
<a href="https://ring.acab.dev/next/ef5cb8df0f" rel="noopener">Next</a>
</li>
<li>
<!-- IndieWeb Webring -->
<strong>
<a href="https://xn--sr8hvo.ws" rel="noopener">IndieWeb Webring 🕸💍</a> →
</strong>
<a href="https://xn--sr8hvo.ws/previous" rel="noopener">Previous</a> |
<a href="https://xn--sr8hvo.ws/next" rel="noopener">Next</a>
</li>
<li>
<!-- Loop Webring -->
<strong>
<a href="https://loop.graycot.dev/webring.html?action=home" rel="noopener">Loop Webring</a> →
</strong>
<a href="https://loop.graycot.dev/webring.html?action=prev" rel="noopener">Previous</a> |
<a href="https://loop.graycot.dev/webring.html?action=next" rel="noopener">Next</a>
</li>
<li>
<!-- Meta Ring -->
<strong>
<a href="https://meta-ring.hedy.dev/" rel="noopener">Meta Ring</a> →
</strong>
<a href="https://meta-ring.hedy.dev/previous" rel="noopener">Previous</a> |
<a href="https://meta-ring.hedy.dev/random" rel="noopener">Random</a> |
<a href="https://meta-ring.hedy.dev/next" rel="noopener">Next</a>
</li>
<li>
<!-- Muhokama.Fun Ring -->
<strong>
<a href="https://ring.muhokama.fun">Muhokama.Fun Ring</a> →
</strong>
<a href="https://ring.muhokama.fun/u/zacharykai/pred">Previous</a> |
<a href="https://ring.muhokama.fun/u/zacharykai/succ">Next</a>
</li>
<li>
<!-- Outside Webring -->
<strong>
<a href="https://0uts1de.hisvirusness.com" rel="noopener">0UTS1DE Webring</a> →
</strong>
<a href="https://0uts1de.hisvirusness.com/?prev=zacharykai.net" rel="noopener">Previous</a> |
<a href="https://0uts1de.hisvirusness.com/?next=zacharykai.net" rel="noopener">Next</a>
</li>
<li>
<!-- Retronaut Webring -->
<strong>
<a href="https://webring.dinhe.net/" rel="noopener">Retronaut Webring</a> →
</strong>
<a href="https://webring.dinhe.net/prev/zacharykai.net" rel="noopener">Previous</a> |
<a href="https://webring.dinhe.net/next/zacharykai.net" rel="noopener">Next</a>
</li>
<li>
<!-- Simple Chats Webring -->
<strong>
Simple Chats Webring →
</strong>
<a href="https://sg.kamiscorner.xyz/webring/previous.php?url=https://zacharykai.net" rel="noopener">Previous</a> |
<a href="https://sg.kamiscorner.xyz/webring/random.php" rel="noopener">Random</a> |
<a href="https://sg.kamiscorner.xyz/webring/next.php?url=https://zacharykai.net" rel="noopener">Next</a>
</li>
<li>
<!-- Star Wars Webring -->
<strong>
<a href="/lists/starwars" rel="noopener">Star Wars Webring</a> →
</strong>
<a href="/lists/starwars?action=prev" rel="noopener">Previous</a> |
<a href="/lists/starwars?action=random" rel="noopener">Random</a> |
<a href="/lists/starwars?action=next" rel="noopener">Next</a>
</li>
<li>
<!-- The Claw Webring -->
<strong>
<a href="https://github.com/whitep4nth3r/the-claw-webring" rel="noopener">The Claw Webring</a>
</strong>
</li>
<li>
<!-- UnOffice Hours Webring -->
<strong>
<a href="https://unofficehours.com/" rel="noopener">UnOffice Hours Webring</a> →
</strong>
<a href="https://unofficehours.com/prev.html" rel="noopener">Previous</a> |
<a href="https://unofficehours.com/random.html" rel="noopener">Random</a> |
<a href="https://unofficehours.com/next.html" rel="noopener">Next</a>
</li>
<li>
<!-- Webmaster Webring -->
<strong>
<a href="https://webmasterwebring.netlify.app">Webmaster Webring</a> →
</strong>
<a href="https://webmasterwebring.netlify.app?zacharykai-previous" rel="noopener">Previous</a> |
<a href="https://webmasterwebring.netlify.app?zacharykai-random">Random</a> |
<a href="https://webmasterwebring.netlify.app?zacharykai-next" rel="noopener">Next</a>
</li>
<li>
<!-- XXIIVV Webring -->
<strong>
<a href="https://webring.xxiivv.com/#zacharykai" rel="noopener">XXIIVV Webring</a>
</strong>
</li>
</ul>
</details>
</section>
<!-- Closing -->
<p>•--♡--•</p>
</section>
<section>
<!-- Closing Metadata -->
<section>
<!-- Tags -->
<p class="essentials"><strong>Tags</strong>: <a href="/tags?tag=personal">personal</a> · <a href="/tags?tag=indieweb">indieweb</a> · <a href="/tags?tag=writing">writing</a></p>
</section>
<section>
<!-- Copy + Share -->
<p><strong>Copy + Share</strong>: <a href="/">zacharykai.net</a></p>
</section>
</section>
</main>
<!-- Back To Top Link -->
<p><a href="#top" class="essentials">Read again...</a></p>
<section class="support">
<h2>Enjoy What I Do? Find It (Hopefully) Helpful?</h2>
<p>I'm so glad! If you feel moved to <a href="/support">support me</a> in making things, I'd most appreciate it!</p>
</section>
<!-- H-Card -->
<section class="h-card vcard">
<section id="h-card-image">
<picture>
<source srcset="/assets/icon.webp" type="image/webp">
<img class="u-photo" loading="lazy" src="/assets/icon.png" alt="Zachary Kai's digital drawing: 5 stacked books (blue/teal/green/purple, black spine designs), green plant behind top book, purple heart on either side.">
</picture>
</section>
<section id="h-card-content">
<p><strong><a class="u-url u-id p-name" href="https://zacharykai.net" rel="me"><span class="fn">Zachary Kai</span></a></strong> — <span class="p-pronouns">he/him</span> | <a class="u-email email" href="mailto:hi@zacharykai.net" rel="me">hi@zacharykai.net</a></p>
<p class="p-note">Zachary Kai is a space fantasy writer, offbeat queer, traveler, zinester, and avowed generalist. The internet is his livelihood and lifeline.</p>
</section>
</section>
<!-- Footer -->
<footer>
<!-- Acknowledgement Of Country -->
<p style="margin-top: 0.25em;"><strong>Acknowledgement Of Country</strong>: I owe my existence to the <a href="https://kht.org.au/" rel="noopener">Koori people's</a> lands: tended for millennia by the traditional owners and storytellers. What a legacy. May it prevail.</p>
<!-- Reply Via -->
<p>
<strong>Reply Via</strong>:
<a href="/contact">Email</a> |
<a href="/guestbook">Guestbook</a> |
<a href="/unoffice-hours">UnOffice Hours</a> |
<a href="/webmention" rel="noopener">Webmention</a>
</p>
<!-- Footer Menu -->
<p>
<strong>Est. 2024</strong> ||
<a href="/about">About</a> |
<a href="/art">Art</a> |
<a href="/colophon">Accessibility & Colophon</a> |
<a href="/changelog">Changelog</a> |
<a href="/jots">Jots</a> |
<a href="/now">Now</a> |
<a href="/random">Random</a> |
<a href="/assets/rss.xml">RSS</a> |
<a href="/sitemap">Sitemap</a> |
<a href="/uses">Uses</a>
</p>
<!-- Elsewhere Links -->
<p style="margin-bottom: 0;">
<strong>Elsewhere</strong>:
<a href="https://roadlessread.com" rel="noopener">Blog</a> |
<a href="https://lunaseeker.com/catalog/" rel="noopener">Books</a> |
<a href="https://lunaseeker.com/cv" rel="noopener">CV</a> |
<a href="/github" rel="noopener">Github</a> |
<a href="/linkedin" rel="noopener">Linkedin</a> |
<a href="https://lunaseeker.com/newsletter/" rel="noopener">Newsletter</a> |
<a href="https://lunaseeker.com/offerings" rel="noopener">Offerings</a> |
<a href="https://lunaseeker.com" rel="noopener">Portfolio</a>
</p>
</footer>
<p class="essentials" style="margin-top: 2em;">Hi. Yes, you, lovely human. Have a wonderful <a href="https://indieweb.org/Universal_Greeting_Time" rel="noopener">morning</a> and make time for a small moment of joy, wheverever you are. ♡</p>
</body>
</html>