The occasional scrivener

Being the thoughts and writings of one Gustaf Erikson; father, homeowner, technologist.

Wednesday, 2024-07-07

Colophon

This is a Blosxom weblog. It's hosted at symbiandiaries.com.

Timestamps are in my timezone (CET).

Plugins

The following plugins are used:

Customizations

archives plugin

Added a CSS identity to the subordinate <ul> tags to achieve the same look as in the category list.

blosmail

Not really a plugin, more a helper script. Don't put the script in the $plugins_dir!

You need procmail for this to work.

The script checks against a configuration file to ensure that the sender is authorised to post. The email address in the "From" line must be enclosed in <>, otherwise the address won't be matched.

I've modified the script so that all entries submitted by email are filed under /moblog.

categories plugin

Changed the spacing between the category name and number of entries to match the formatting of the archives plugin.

Wrapped each leaf <ul> in <li> to ensure XHTML compliance. Unfortunately, this makes the tree look funny. This is alleviated by setting the same class indentity to all the <ul> tags and then removing the bullets with the help of CSS.

config plugin

This is used to vary the number of posts shown per category.

The front page is limited to 10. However, if you choose a category, you should be able to see all the entries in that category.

This plugin takes care of this. Create a file config:

 package blosxom;
 $blosxom::num_entries = ($blosxom::path_info ? 999 : 10);

and place it in your data directory. If the $path_info variable is populated, we're in a subdirectory -- show all posts (if you're category has more than 999 posts, adjust accordingly...), otherwise show 10 entries.

Thanks to Stu MacKenzie on the Blosxom list for this.

Copyright © 2024 Gustaf Erikson
Original design by Michael Merritt for OSWD
Powered by Blosxom