Original post is here: eklausmeier.goip.de
This blog now has more than 500 posts.
1. Data. Generating static HTML files with Simplified Saaze shows number of posts:
1$ time php saaze -mortb /tmp/build
2Building static site in /tmp/build...
3 execute(): filePath=/home/klm/php/sndsaaze/content/aux.yml, nentries=6, totalPages=1, entries_per_page=20
4 execute(): filePath=/home/klm/php/sndsaaze/content/blog.yml, nentries=412, totalPages=21, entries_per_page=20
5 execute(): filePath=/home/klm/php/sndsaaze/content/gallery.yml, nentries=6, totalPages=1, entries_per_page=20
6 execute(): filePath=/home/klm/php/sndsaaze/content/music.yml, nentries=61, totalPages=4, entries_per_page=20
7 execute(): filePath=/home/klm/php/sndsaaze/content/error.yml, nentries=1, totalPages=1, entries_per_page=20
8Finished creating 5 collections, 4 with index, and 504 entries (0.17 secs / 11.15MB)
9#collections=5, YamlParser=0.0095/511-5, md2html=0.0153, MathParser=0.0082/504, renderEntry=504, content=504/0, excerpt=0/0
10 real 0.19s
11 user 0.12s
12 sys 0
13 swapped 0
14 total space 0
The number of posts, excluding index.md.
| Nr | Type | number |
|---|---|---|
| 1 | aux | 6 |
| 2 | blog | 412 |
| 3 | gallery | 6 |
| 4 | music | 61 |
| 5 | error | 1 |
| sum | 486 |
Over the years the posts are distributed as follows, not counting the 14 index.md posts. Two posts have index: false in their frontmatter, and one post has draft: true, see Simplified Saaze. Therefore these posts do not show in the count from php saaze.
| Year | blog | music |
|---|---|---|
| 2008 | 2 | |
| 2012 | 1 | |
| 2013 | 101 | |
| 2014 | 47 | |
| 2015 | 41 | |
| 2016 | 21 | |
| 2017 | 21 | |
| 2018 | 16 | |
| 2019 | 8 | |
| 2020 | 30 | |
| 2021 | 51 | 13 |
| 2022 | 45 | 21 |
| 2023 | 31 | 27 |
| sum | 415 | 61 |
2. Counting content. Below Perl script blogyrcnt counts posts per year.
1#!/bin/perl -W
2# Count number of posts per year
3
4use strict;
5my %H;
6
7while (<>) {
8 $H{$1} += 1 if (/\.\/(\d\d\d\d)\/\d\d\-\d\d\-/);
9}
10
11for (sort keys %H) {
12 printf("%4d: %d\n",$_,$H{$_});
13}
Run script as follows: Go to content/blog directory, then
1$ find . | sort | blogyrcnt`
Similarly for content/music.
As of this blog has entries (=number of total Markdown files).
last updated: