Tue Dec 3 20:37:09 2024 UTC
Thalassa 0.3.30 released. This release is mainly
devoted to the new comment displaying style, named thread
.
With this style, top-level comments are displayed on the page being
commented, and for each top-level comment, a separate page is created to
hold replies on that comment, if any. The Agenda template, from now on,
allows to choose the style for comments, either “plain”
(list
), or tree
(the default one), or the new
thread
style. The new comment style also affected the
macroprocessor, where the %[cmt:replies]
and
%[cmt:threadpg]
functions are added.
Besides that, this release fixes a problem related to the
dirname(3)
function. The problem didn't let Thalassa work on
OpenBSD due to a slightly different implementation of the function.
And the last thing to mention: the %[rfcdate: ]
macro now
adds “UTC” to the text representation of the date.
This release doesn't (hopefully) introduce any incompatibilities with
earlier releases; it should be safe to upgrade both the Thalassa version
and the Agenda template. If you'd like to give a try to the support of
different comment styles, then take a look at the
appearance.ini
file, find the [options cmt]
sectioin and copy it to your appearance.ini
, then
edit as appropriate.
☞ From Ilya (unverified) Wed Dec 4 10:33:29 2024 UTC
Thread style not working
I just tried setting
pages_cmt_style:custom
&guestbook_style:custom
tothread
for fresh Agenda template, but the comments are displayed on the same page, as if I putlist
.Btw, is there a way to use the new style for Smoky?
Anyway, thanks for the release!
reply
From Andrey Stolyarov Wed Dec 4 12:22:58 2024 UTC
Re: Thread style not working
Looks strange for me, I can't reproduce this. To help me understand what's going on:
Well, about the Smoky template, actually no, I didn't plan to port this functionality to Smoky. The Smoky template contains a lot of mess already. May be I recreate it one day from scratch, under another name, just to keep its look&feel, but as of now Smoky is a bit too messy to get active maintenance.
reply
From Ilya (unverified) Wed Dec 4 13:00:40 2024 UTC
Re: Re: Thread style not working
Okay, after further testing, it actually works, but only when there are more than one top-level comments on the page. If there is only one comment, the replies get displayed on the same page. I don't know if its a bug or a feature.
reply
From Andrey Stolyarov Wed Dec 4 13:17:24 2024 UTC
Re: Thread style not working
WOW 8-()
No, it's not a feature, that is, I didn't have any intention for this. Thank you for reporting, I'll look into it a bit later, I'm terribly busy now.
UPD: Fixed, see the version 0.3.31 (available at the downloads page). It was a very stupid off-by-one.
reply