Go
Decent Blogging using Foswiki Read on
26 Sep 2005 - 20:17 in tagged , by Michael Daum
Done. The comment system is threaded. No extra plugin is needed for that ... besides the TWiki.BlogPlugin ... and a patch to TWiki/Dakar smile
Maybe the CCRB will allow to add the patch to TWiki.pm to the beta state dakar See Item499.

Adding nested threads to TWiki needs recursive TopicFunctions to render all comments and comments on comments etc. Or itter way back up to the root. But we solved the latter with other means. This TWikiApplication gets aldready slow anyway (where's my server-side caching). But calling the same TopicFunction recursively with different parameters should be possible.

Every BlogComment has a BaseRef attribute now to refer to the starting BlogEntry where a thread started. So we easily can render the BlogEntry headline without calculating the root of a thread using a recursive TopoicFunction. The typical space/time tradeoff.

Anyway, nested comments get ``nested'' numberings like in subsection and subsubsection rendering. So the toplevel comments start with 1, 2, 3 and a comment on 2 will start on 2.1 and the like. You will always know where in the thread hierarchy you are. Navigating to sibling comments is possible the same way as you can navigate to the next and previous BlogEntry. Going one step up in the hierarchy is not there. Too much confusion.

Ok, to reply to a comment you have to click on its headline and use the ``Leave Response'' formular there. That's it everything else is rendered accordingly.

Hope you like it. See TestBlogEntry0 for a demo.


2 Comments

1 MichaelDaum replied 2 weeks, 6 days later

Recursive INCLUDEs

The patch to dakar isn't needed anymore. It is in - recursive INCLUDEs - the CCRB accepted it. … reply

2 MichaelDaum replied 7 months, 3 weeks later

Hello visitors

I see lots of visitors to this blog that visit just this posting. Why? I mean from where do you come and what have you been looking for? Did you find what you where searching?

If you don't want to register on this site to comment then maybe you just drop me a line: micha@jojowiki.dyndns.org. … reply

Leave a Reply

You may have to login or register to comment if you haven't already.
r11 - 02 Mar 2006 - 00:52:41 - Main.MichaelDaum
Copyright © 1999-2012 Michael Daum Consulting. All rights reserved. Impressum.