Glider
"In het verleden behaalde resultaten bieden geen garanties voor de toekomst"
About this blog

These are the ramblings of Matthijs Kooijman, concerning the software he hacks on, hobbies he has and occasionally his personal life.

Most content on this site is licensed under the WTFPL, version 2 (details).

Questions? Praise? Blame? Feel free to contact me.

My old blog (pre-2006) is also still available.

See also my Mastodon page.

Sun Mon Tue Wed Thu Fri Sat
     
24
       
Powered by Blosxom &Perl onion
(With plugins: config, extensionless, hide, tagging, Markdown, macros, breadcrumbs, calendar, directorybrowse, feedback, flavourdir, include, interpolate_fancy, listplugins, menu, pagetype, preview, seemore, storynum, storytitle, writeback_recent, moreentries)
Valid XHTML 1.0 Strict & CSS
/ Blog / Blog
Recent feedback

As you might have noticed, there is a new block to the left: "Recent feedback". Since it is nice to be able to see comments to older posts, I wanted this feature. After some fiddling (it even exposed a bug in the feedback plugin) I got it to work.

I'm using Frank Hecker's feedback plugin for my comments and writebacks instead of the "normal" comment or writeback plugins or derivatives. Yet, all the recent feedback kind of plugins were written for those. Still, since the feedback plugin uses a format very similar to the other plugins, I decided to give it a try.

After some comparing plugins, I found the writeback_recent plugin, which pretty much did what I wanted and even got comments and documentation (as opposed to some of the other plugins). To my surprise, it pretty much worked out of the box with feedback.

I used the following configuration in writeback_recent:

my $writeback_dir       = "$feedback::fb_dir";
my $trackback_extension = "wb";
my $trackback_flavour   = $blosxom::flavour;

I use $blosxom::flavour here, since feedback does not use a different flavour to display commetns as writeback does. To make sure that the reference to $feedback::fb_dir in the first line would work I updated the feedback configuration replacing my with our in the fb_dir configuration line:

our $fb_dir = "$blosxom::basedir/feedback";
 
0 comments -:- permalink -:- 21:56
Copyright by Matthijs Kooijman - most content WTFPL