Galleries in Saaze

, 1 min read

This blog runs using Simplified Saaze. Simplified Saaze now provides galleries. I.e., a set of images all in one place, where you can choose which image to present by pressing on a preview in the caption area. Syntax is: [gallery] path /regex/ [/gallery] path is the path of the directory, where to…

Table of Contents in Saaze

, 1 min read

Assume you write a longer blog post with multiple headings. Then you probably want to have a table of contents at the head of your text, so readers can easily navigate and have a better overview of the content. This blog contains mostly shorter posts, so usually there is no need for a table of…

Adding Categories to Saaze

, 5 min read

This blog runs using Simplified Saaze. Almost every blog post contains categories and tags. Although previously these categories and tags were not linked together in any way. I.e., there is no way to find all blog post relating to one specific category. Task at hand: Add categories and tags to…

Accelerating Page Load Times by Reducing Requests, Part #2

, 4 min read

In continuation of Accelerating Page Load Times by Reducing Requests from last year, I tried to reduce the number of request even further. This time I stumbled on this opportunity by accident. When I changed my favicon.ico file, I read at favicon.cc that you can embed your favicon.ico between the…

PHPMagazin On Simplified Saaze

, 1 min read

The German magazine PHPMagazin has an article written by me on Static Site Generators, PHP-FFI, PHP-PECL, and on XHProf. The article is in German. The English version is: A Static Site Generator in PHP. Simplified Saaze is the static site generator used by this blog. Its description is here:…

Testing COBOLworx gcc-cobol

, 5 min read

In an article An open-source COBOL contender emerges a "real" compiler for COBOL was announced. This newly announced compiler is a frontend to gcc. This contrasts with GnuCOBOL, which translates COBOL to C and then calls gcc. As the performance of GnuCOBOL is a little bit disappointing,…

ReverseProxy and UrlToolkit in Hiawatha

, 1 min read

This blog uses the Hiawatha web-server. Hiawatha is a lightweight web-server with special focus on security. Hiawatha offers, among other features, reverse proxy functionality and URL rewriting, see man page. Reverse proxy is configured by keyword ReverseProxy. Multiple reverse proxies may be…

Mass Lowercasing of File Names

, 1 min read

Task at hand: lowercase ca. half a million file names. The obvious solution would be to use the mv command together with tr to accomplish the job: for i in A B C ...; do mv $i `echo $i | tr '[A-Z]' '[a-z]'`; done Each file would spawn two processes: one for the tr and one for the mv itself. The…

IMS/DC MFS To PHP

, 5 min read

Task at hand: Convert IMS/DC MFS to PHP code. This is vaguely similar to the task that the MFS language utility DFSUPAA0 does. IMS/DC is a mainframe based transaction manager. MFS is an Assembler like description of the message format used in IMS/DC. Parse MFS using Perl: Screen layout is…

Generate RSS from HTML

, 3 min read

As written in Generate RSS from Markdown extracting RSS from Markdown with frontmatter is simple. Now I took a slightly different approach and generate RSS from the HTML files directly. For this blog I still want an RSS feed. Simplified Saaze did not provide this functionality. Since 15-Aug-2022…

Statistics of this Blog in 2021

, 1 min read

End of May 2021 I moved my blog from WordPress to self hosted, see Moved Blog To eklausmeier.goip.de. Now after roughly half a year I regained ca. half of the visitors I had on WordPress. Contrary to some murky SEO advice Google does not honor "noindex". I have below HTML code in all my…

HashOver Comment System with Hiawatha

, 4 min read

1. Problem statement. When you have a blog you might want to engage with your readers by allowing them to comment on your posts. WordPress allows this out of the box. But when using a static site generator then having a commenting system is a bit more difficult. Many have resorted to Disqus. But…

Internet Adoption

, 1 min read

Internet adoption rates are phenomenal. I already mentioned in India is now the third largest Smartphone market in the world - Android Authority the massive growth in India. Above graphs are from Our World in Data: Technology Adoption written by Hannah Ritchie and Max Roser.

URL Count Statistics

, 2 min read

When I moved away from WordPress to Saaze, see Moved Blog To eklausmeier.goip.de, I first used StatCounter to count how many times my blog posts were visited. Later I added Matomo, or Google Analytics, or Yandex Metrika. It turned out that all these counting mechanism use quite large JavaScript…

Filtering Bots and Crawlers from Access.log

, 9 min read

1. Problem statement. When you run a web-server on your machine many bots and crawlers will visit. When analysing how many "real" visitors you have, you should therefore suppress these entries in your analysis from your log file of the web-server. This blog is served by Hiawatha…

AWStats and Hiawatha

, 3 min read

Hiawatha is a secure and reliable web-server. It is used for this blog. AWStats is a collection of Perl-scripts to analyze log-files from web-servers. By default, AWStats can read Apache log-files. It cannot directly read log-files from Hiawatha. The Hiawatha log-file format is: host, this is the…

Accelerating Page Load Times by Reducing Requests

, 1 min read

In trying to decrease load times of this blog, I noticed that the prism.js library requires quite a number of requests to the unpkg-server. So I tried to combine all these requests into only two. The results are quite impressive. I compared various measurements using tools.pingdom.com. Old…

Performance Comparison Saaze vs. Hugo vs. Zola

, 3 min read

Zola is a static site generator written in Rust. Hugo is a static site generator written in Go. Simplified Saaze, Saaze for short, is written in PHP. Task: Compare run times of Saaze vs. Hugo vs Zola. I didn't find a direct comparison so far. There is a comparison of Eleventy vs. Gatsby vs. Hugo…

Making Static Site Generator 500-Times Faster

, 2 min read

I already described some changes I made to the original Saaze software: Moved Blog To eklausmeier.goip.de Calling MD4C from PHP via FFI Considerations Regarding Simplifications of Saaze Profiling PHP Programs In Making Static Site Generator 30-Times Faster I already described that removing…

Simplified Saaze

, 33 min read

Introduction Installation Directory structure Basic usage 4.1 Static site generator 4.2 Dynamic content generation 4.3 Single file generation 4.4 Specifying an alternate build directory 4.5 Turning extract file generation on 4.6 Draft-mode 4.7 Parallel output 4.8 Stealth-mode 4.9…