Skip to content

Commit 10d0d84

Browse files
committed
stories: authors.piml refactoring
1 parent 651114f commit 10d0d84

File tree

10 files changed

+119
-104
lines changed

10 files changed

+119
-104
lines changed

public/rss.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<link>https://fezcode.com</link>
1010
</image>
1111
<generator>RSS for Node</generator>
12-
<lastBuildDate>Thu, 13 Nov 2025 22:01:35 GMT</lastBuildDate>
12+
<lastBuildDate>Thu, 13 Nov 2025 23:51:29 GMT</lastBuildDate>
1313
<atom:link href="https://fezcode.com/rss.xml" rel="self" type="application/rss+xml"/>
14-
<pubDate>Thu, 13 Nov 2025 22:01:35 GMT</pubDate>
14+
<pubDate>Thu, 13 Nov 2025 23:51:29 GMT</pubDate>
1515
<copyright><![CDATA[2025 Ahmed Samil Bulbul]]></copyright>
1616
<language><![CDATA[en]]></language>
1717
<managingEditor><![CDATA[samil.bulbul@gmail.com (Ahmed Samil Bulbul)]]></managingEditor>

public/sitemap.xml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2,55 +2,55 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://fezcode.com/</loc>
5-
<lastmod>2025-11-13T22:01:35.905Z</lastmod>
5+
<lastmod>2025-11-13T23:51:29.542Z</lastmod>
66
<changefreq>monthly</changefreq>
77
<priority>1.0</priority>
88
</url>
99
<url>
1010
<loc>https://fezcode.com/about</loc>
11-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
11+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
1212
<changefreq>monthly</changefreq>
1313
<priority>0.8</priority>
1414
</url>
1515
<url>
1616
<loc>https://fezcode.com/blog</loc>
17-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
17+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
1818
<changefreq>monthly</changefreq>
1919
<priority>0.8</priority>
2020
</url>
2121
<url>
2222
<loc>https://fezcode.com/projects</loc>
23-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
23+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
2424
<changefreq>monthly</changefreq>
2525
<priority>0.8</priority>
2626
</url>
2727
<url>
2828
<loc>https://fezcode.com/logs</loc>
29-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
29+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
3030
<changefreq>monthly</changefreq>
3131
<priority>0.8</priority>
3232
</url>
3333
<url>
3434
<loc>https://fezcode.com/stories</loc>
35-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
35+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
3636
<changefreq>monthly</changefreq>
3737
<priority>0.8</priority>
3838
</url>
3939
<url>
4040
<loc>https://fezcode.com/settings</loc>
41-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
41+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
4242
<changefreq>monthly</changefreq>
4343
<priority>0.8</priority>
4444
</url>
4545
<url>
4646
<loc>https://fezcode.com/apps</loc>
47-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
47+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
4848
<changefreq>monthly</changefreq>
4949
<priority>0.8</priority>
5050
</url>
5151
<url>
5252
<loc>https://fezcode.com/stories/lore</loc>
53-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
53+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
5454
<changefreq>monthly</changefreq>
5555
<priority>0.8</priority>
5656
</url>
@@ -278,91 +278,91 @@
278278
</url>
279279
<url>
280280
<loc>https://fezcode.com/#/projects/fezcodex</loc>
281-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
281+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
282282
<changefreq>monthly</changefreq>
283283
<priority>0.7</priority>
284284
</url>
285285
<url>
286286
<loc>https://fezcode.com/#/projects/piml</loc>
287-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
287+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
288288
<changefreq>monthly</changefreq>
289289
<priority>0.7</priority>
290290
</url>
291291
<url>
292292
<loc>https://fezcode.com/#/projects/bm</loc>
293-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
293+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
294294
<changefreq>monthly</changefreq>
295295
<priority>0.7</priority>
296296
</url>
297297
<url>
298298
<loc>https://fezcode.com/#/projects/villain-couch</loc>
299-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
299+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
300300
<changefreq>monthly</changefreq>
301301
<priority>0.7</priority>
302302
</url>
303303
<url>
304304
<loc>https://fezcode.com/#/projects/go-piml</loc>
305-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
305+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
306306
<changefreq>monthly</changefreq>
307307
<priority>0.7</priority>
308308
</url>
309309
<url>
310310
<loc>https://fezcode.com/#/projects/piml.js</loc>
311-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
311+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
312312
<changefreq>monthly</changefreq>
313313
<priority>0.7</priority>
314314
</url>
315315
<url>
316316
<loc>https://fezcode.com/#/projects/doku</loc>
317-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
317+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
318318
<changefreq>monthly</changefreq>
319319
<priority>0.7</priority>
320320
</url>
321321
<url>
322322
<loc>https://fezcode.com/#/projects/stroque</loc>
323-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
323+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
324324
<changefreq>monthly</changefreq>
325325
<priority>0.7</priority>
326326
</url>
327327
<url>
328328
<loc>https://fezcode.com/#/projects/scrappy</loc>
329-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
329+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
330330
<changefreq>monthly</changefreq>
331331
<priority>0.7</priority>
332332
</url>
333333
<url>
334334
<loc>https://fezcode.com/#/projects/go-homo-sapiens-time</loc>
335-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
335+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
336336
<changefreq>monthly</changefreq>
337337
<priority>0.7</priority>
338338
</url>
339339
<url>
340340
<loc>https://fezcode.com/#/projects/go-tournament-brackets</loc>
341-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
341+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
342342
<changefreq>monthly</changefreq>
343343
<priority>0.7</priority>
344344
</url>
345345
<url>
346346
<loc>https://fezcode.com/#/projects/open-tab-with-respect</loc>
347-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
347+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
348348
<changefreq>monthly</changefreq>
349349
<priority>0.7</priority>
350350
</url>
351351
<url>
352352
<loc>https://fezcode.com/#/projects/clipboard-concat</loc>
353-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
353+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
354354
<changefreq>monthly</changefreq>
355355
<priority>0.7</priority>
356356
</url>
357357
<url>
358358
<loc>https://fezcode.com/#/projects/boxer</loc>
359-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
359+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
360360
<changefreq>monthly</changefreq>
361361
<priority>0.7</priority>
362362
</url>
363363
<url>
364364
<loc>https://fezcode.com/#/projects/firefox-themes</loc>
365-
<lastmod>2025-11-13T22:01:35.906Z</lastmod>
365+
<lastmod>2025-11-13T23:51:29.543Z</lastmod>
366366
<changefreq>monthly</changefreq>
367367
<priority>0.7</priority>
368368
</url>
@@ -488,73 +488,73 @@
488488
</url>
489489
<url>
490490
<loc>https://fezcode.com/#/stories/books/1</loc>
491-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
491+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
492492
<changefreq>monthly</changefreq>
493493
<priority>0.6</priority>
494494
</url>
495495
<url>
496496
<loc>https://fezcode.com/#/stories/books/1/pages/1</loc>
497-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
497+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
498498
<changefreq>weekly</changefreq>
499499
<priority>0.5</priority>
500500
</url>
501501
<url>
502502
<loc>https://fezcode.com/#/stories/books/1/pages/2</loc>
503-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
503+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
504504
<changefreq>weekly</changefreq>
505505
<priority>0.5</priority>
506506
</url>
507507
<url>
508508
<loc>https://fezcode.com/#/stories/books/2</loc>
509-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
509+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
510510
<changefreq>monthly</changefreq>
511511
<priority>0.6</priority>
512512
</url>
513513
<url>
514514
<loc>https://fezcode.com/#/stories/books/2/pages/1</loc>
515-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
515+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
516516
<changefreq>weekly</changefreq>
517517
<priority>0.5</priority>
518518
</url>
519519
<url>
520520
<loc>https://fezcode.com/#/stories/books/2/pages/2</loc>
521-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
521+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
522522
<changefreq>weekly</changefreq>
523523
<priority>0.5</priority>
524524
</url>
525525
<url>
526526
<loc>https://fezcode.com/#/stories/books/3</loc>
527-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
527+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
528528
<changefreq>monthly</changefreq>
529529
<priority>0.6</priority>
530530
</url>
531531
<url>
532532
<loc>https://fezcode.com/#/stories/books/3/pages/1</loc>
533-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
533+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
534534
<changefreq>weekly</changefreq>
535535
<priority>0.5</priority>
536536
</url>
537537
<url>
538538
<loc>https://fezcode.com/#/stories/books/3/pages/2</loc>
539-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
539+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
540540
<changefreq>weekly</changefreq>
541541
<priority>0.5</priority>
542542
</url>
543543
<url>
544544
<loc>https://fezcode.com/#/stories/books/4</loc>
545-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
545+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
546546
<changefreq>monthly</changefreq>
547547
<priority>0.6</priority>
548548
</url>
549549
<url>
550550
<loc>https://fezcode.com/#/stories/books/4/pages/1</loc>
551-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
551+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
552552
<changefreq>weekly</changefreq>
553553
<priority>0.5</priority>
554554
</url>
555555
<url>
556556
<loc>https://fezcode.com/#/stories/books/4/pages/2</loc>
557-
<lastmod>2025-11-13T22:01:35.909Z</lastmod>
557+
<lastmod>2025-11-13T23:51:29.546Z</lastmod>
558558
<changefreq>weekly</changefreq>
559559
<priority>0.5</priority>
560560
</url>

public/stories/README.md

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ The content is organized as follows:
88

99
```
1010
public/stories/
11+
├── authors.piml
1112
├── books.piml
1213
└── [book-directory-name]/
1314
├── episode1.txt
1415
└── episode2.txt
1516
└── ...
1617
```
1718

18-
* `books.piml`: This PIML file serves as the main index for all story books, authors, and their respective episodes.
19+
* `authors.piml`: This PIML file contains the definitions for all authors.
20+
* `books.piml`: This PIML file serves as the main index for all story books and their respective episodes.
1921
* `[book-directory-name]/`: Each book's individual episode content files are stored in their own dedicated subdirectories. For example, `book-one/` would contain episodes for "Book One".
2022
* `episodeX.txt`: These are plain text files containing the actual narrative content for each episode.
2123

@@ -29,24 +31,11 @@ Every file should end with `.txt` format however you can write `markdown` in it
2931

3032
When you don't have to show underline in a `h2` (`##`), use `h3` (`###`) header instead. Do not go under h3. (i.e. do not use h4 and below)
3133

32-
## Book and Author Structure (books.piml)
34+
## Book Structure (books.piml)
3335

34-
The `books.piml` file is a PIML document that, when parsed, results in an object containing `authors` and `books` arrays.
36+
The `books.piml` file is a PIML document that, when parsed, results in an object containing a `books` array.
3537

3638
```piml
37-
(authors)
38-
> (author)
39-
(name) Samil
40-
(alias) fezcode
41-
(website) https://fezcode.com
42-
(image) https://avatars.githubusercontent.com/u/49845895?v=4
43-
> (author)
44-
(name) Sabri
45-
(alias) TheLastRoadRunner
46-
(website) https://github.com/TheLastRoadRunner
47-
(image) https://avatars.githubusercontent.com/u/99679216?v=4
48-
# more authors.
49-
5039
(books)
5140
> (book)
5241
(bookId) 1
@@ -74,9 +63,27 @@ The `books.piml` file is a PIML document that, when parsed, results in an object
7463

7564
### Root Object Properties:
7665

77-
* `authors` (Array): An array of author objects.
7866
* `books` (Array): An array of book objects.
7967

68+
## Author Structure (authors.piml)
69+
70+
The `authors.piml` file is a PIML document that, when parsed, results in an object containing an `authors` array.
71+
72+
```piml
73+
(authors)
74+
> (author)
75+
(name) Samil
76+
(alias) fezcode
77+
(website) https://fezcode.com
78+
(image) https://avatars.githubusercontent.com/u/49845895?v=4
79+
> (author)
80+
(name) Sabri
81+
(alias) TheLastRoadRunner
82+
(website) https://github.com/TheLastRoadRunner
83+
(image) https://avatars.githubusercontent.com/u/99679216?v=4
84+
# more authors.
85+
```
86+
8087
### Author Object Properties:
8188

8289
* `name` (String): The name of the author.

public/stories/authors.piml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
(authors)
2+
> (author)
3+
(name) Samil
4+
(alias) fezcode
5+
(website) https://fezcode.com
6+
(image) https://avatars.githubusercontent.com/u/49845895?v=4
7+
> (author)
8+
(name) Sabri
9+
(alias) TheLastRoadRunner
10+
(website) https://github.com/TheLastRoadRunner
11+
(image) https://avatars.githubusercontent.com/u/99679216?v=4

public/stories/books.piml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,3 @@
1-
(authors)
2-
> (author)
3-
(name) Samil
4-
(alias) fezcode
5-
(website) https://fezcode.com
6-
(image) https://avatars.githubusercontent.com/u/49845895?v=4
7-
> (author)
8-
(name) Sabri
9-
(alias) TheLastRoadRunner
10-
(website) https://github.com/TheLastRoadRunner
11-
(image) https://avatars.githubusercontent.com/u/99679216?v=4
12-
131
(books)
142
> (book)
153
(bookId) 1

src/components/Search.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const Search = ({ isVisible }) => {
4646
{ title: 'Settings', slug: '/settings', type: 'route' },
4747
{ title: 'Dungeons and Dragons', slug: '/stories', type: 'route' },
4848
{ title: 'Stories', slug: '/stories', type: 'route' },
49+
{ title: 'From Serfs and Frauds', slug: '/stories', type: 'route' },
4950
{ title: 'Apps', slug: '/apps', type: 'route' },
5051
{ title: 'Random', slug: '/random', type: 'route' },
5152
];

0 commit comments

Comments
 (0)