💾 Archived View for 1436.ninja › Phlog › gmi › 20181219.gmi captured on 2023-11-14 at 08:12:30. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-08)

-=-=-=-=-=-=-

On bringing back the blog

entered in vim on RPoJ

20181219

A while back

I posted when I deleted my website. For months, it said only "use gopher." I put some thought into where I went wrong with the website. My answer to myself was that it was too full of bullshit fluff. I css'ed the crap out of it.

The return

I have decided to bring it back, but keep it very gopherish. Toward that end, it is a simple directory listing, auto- generated by my httpd. Since the files are written in markdown, I wanted to be able to convert these to html, without converting to html (which is another reason I hated the old site -- > 100 static pages to rebuild everytime I post). The answer was

mod_markdown

which allows exactly what I was looking for.

Along with that, I used

mod_ext_filter

to utilize sed on the streaming output from the httpd. This allows on-the-fly changing of gopher to http URLS on the blog, and the utilization of the floodgap proxy on non-local links in gopherspace.

I added a one liner in my blogproc script to generate .htaccess descriptions for each phost, using head -1 on each file. The result it native looking html blog entries, that live on the server as plaintext files formatted in markdown. I utilize a symlink, so RPoD only has one copy of the Phlog/Blog files. The entire thing is a

git repo

as well. In addition to all this, I have reintroduced http links in the atom feed and in the gopher version as well.