Sergey Matveev [Thu, 15 Oct 2020 16:25:23 +0000 (19:25 +0300)]
Topics
0.8.x released added topics support: each page can have any number of
single-word topics (tag, mark, category). Per-post topic is kept in
separate notes branch. You can browse posts by topic, and receive
related Atom feed. For performance reasons you can optionally use
on-disk topic's cache.
Sergey Matveev [Thu, 15 Oct 2020 16:23:11 +0000 (19:23 +0300)]
recfiles comments format
Latest 0.9.x release changes its format of comments storage. Instead of
concatenated text only netstrings, it uses GNU recutils'es recfile
format, that is record and field based out of box and can be easily
processed with external utilities.
Sergey Matveev [Sat, 9 May 2020 11:49:30 +0000 (14:49 +0300)]
Notes and commentable page
Actually every page (if globally enabled) could be commented. I will add
several comments to that one, just to show how they look like. Also I
will add an ordinary git note and it will be displayed separately.
Sergey Matveev [Sat, 9 May 2020 11:49:14 +0000 (14:49 +0300)]
Are there any big blog and phlog examples?
http://blog.stargrave.org/russian/
gopher://phlog.stargrave.org/
Currently my own blog is the best example with many posts in it. Well,
unfortunately it is solely on russian, but at least you can look how
many posts will look like.
Sergey Matveev [Sat, 9 May 2020 11:49:03 +0000 (14:49 +0300)]
Phlog and gopher support
If you run sgblog -gopher, then it will act as inetd service and a
gopher server. Gopher mode has more limited features, mainly because of
gopher protocol itself. But looking for the index of posts, listing its
pages and showing the actual post works as expected.
Actually you are not forced to use HTTP service at all, leaving only
gopher part!
Sergey Matveev [Sat, 9 May 2020 11:48:54 +0000 (14:48 +0300)]
Atom feeds support
Well, /feed.atom will contain desired Atom feed. It just automatically
works. Each entry carries the whole posts (whole log message), not only
their titles.
SGBlog fully supports gzip-compression and ETag checking for Atom feeds
too, likely heavily reducing feeds fetching traffic.
Sergey Matveev [Thu, 7 May 2020 22:02:03 +0000 (01:02 +0300)]
Post formatting
https://en.wikipedia.org/wiki/Example.com
https://en.wikipedia.org/wiki/URL
Each post is just an ordinary Git commit, but consisting only of log
message. You can easily create that kind of commits with:
$ git commit --allow-empty
Each post has the title: it is just its first line, separated with the
blank line from the remaining body. Well, again, just like with ordinary
commits.
If first lines of a body are URLs, then their domains will be displayed
on the index page. It is convenient to see that some post relates to
YouTube video, some kind of news website and so on.