going-flying.com gemini git repository
2371380e8b6ae457986c87a9e9e5717ab4024d3e - Matthew Ernisse - 1672673163
2023 alive and well.
diff --git a/build/index.txt b/build/index.txt index 09c3a81..9645169 100644 --- a/build/index.txt +++ b/build/index.txt @@ -9,4 +9,4 @@ => / โฉ -๐ ยฉ MMXX-MMXXII matt@going-flying.com +๐ ยฉ MMXX-MMXXIII matt@going-flying.com diff --git a/build/template.txt b/build/template.txt index 9648503..3e48b71 100644 --- a/build/template.txt +++ b/build/template.txt @@ -3,7 +3,6 @@ {{content}} => {{ up }} โฉ back to index -=> gemini://gus.guru/backlinks?{{ me }} backlinks [GUS] => gemini://geminispace.info/backlinks?{{ me }} backlinks [geminispace.info] -๐ ยฉ MMXX-MMXXII matt@going-flying.com +๐ ยฉ MMXX-MMXXIII matt@going-flying.com diff --git a/files/thoughts-to-gemini.py b/files/thoughts-to-gemini.py index 8682ade..cda66af 100755 --- a/files/thoughts-to-gemini.py +++ b/files/thoughts-to-gemini.py @@ -62,16 +62,16 @@ index_template = '''``` |_____| ``` -# ๐ญ Random Thoughts +๐ญ Random Thoughts => atom.xml Atom feed of my thoughts {% for year in thoughts.years %} -## {{ year }} +# {{ year }} {% for month in thoughts.byYear(year) %} -### {{ month }} +## {{ month }} {% for entry in thoughts.forMonth(year, month) %} -{{ entry }} +### {{ entry }} {% endfor %} {% endfor %} {% endfor %} @@ -80,7 +80,7 @@ index_template = '''``` # ๐ฐ๏ธ Generated at {{ build_time }} -๐ ยฉ MMXX-MMXXII matt@going-flying.com +๐ ยฉ MMXX-MMXXIII matt@going-flying.com ''' URLBASE = 'gemini://going-flying.com/thoughts/' @@ -150,6 +150,8 @@ class DeHTMLizer(object): return f'ยซ{tag.string}ยป{sNum!s}' + if tag.name == 'br': + elif tag.name == 'del': return f'{tag.string}^W' diff --git a/users/mernisse/articles/31.gmi b/users/mernisse/articles/31.gmi new file mode 100644 index 0000000..1e8f3f0 --- /dev/null +++ b/users/mernisse/articles/31.gmi @@ -0,0 +1,42 @@ +--- +Title: Moving onward to 2023 +Date: 1/2/2023 10:30 + +As I try to get myself back into something that resembles a routine after the +holiday break I started to poke around at some things that have been needing +attention. It seems that my microblog to gemini renderer has been broken for +about a month. A quick fix and it seems to be functioning but that gave me +an excuse to tweak the overall layout. Previously I rendered gemtext headings +for the years and the months, leaving the individual entries as just simple +paragraphs, however it seems more logical to expose individual entries so +you can navigate the in-reply-to chain using your user-agent, assuming it +has the ability to navigate headings (Lagrange does). + +I admit I mostly ignored this capsule last year, writing only 6 posts. In +reviewing the statistics I generate a few things popped out to me that I +found interesting. It seems that robots.txt is completely useless as the + #1 hit on my capsule seems to be crawlers trying to traverse the git +repository interface (about 20k hits / month), while actual posts account +for tens of hits per month (gemlog posts being about 50 / month and other +pages like the generated stats pages are 20-30 / month). The gemlog +atom feed is about 2 orders of magnitude more popular than the microblog +feed. I don't know if this is indicative of actual use or if it is +because of differences in crawler behaviors. The most common error code +served by a long shot was 51, and other than the crawler screwing around +in the git repository, they all appear to be a client mishandling relative +links in the Thoughts microblog page trying to load attachments from / +instead of /thoughts/. I guess poorly implemented clients are at least +indicative of continued interest and experimentation in the Gemini +protocol, so that's a good thing! + +=> /thoughts/atom.xml Thoughts (microblog) atom feed +=> /~mernisse/atom.xml This Gemlog's atom feed + +Anyway, as always, if something is overtly broken, useful, or interesting +feel free to reach out. I still get a few messages a month of the silly +VFD display so that is still running on my desk and does bring a smile +to my face when I notice it lit up. + +=> /cgi-bin/vfdsay.py VFD Display + +Stay safe out there.