Wednesday·10·October·2007
Plugins in the Blosxom Project CVS //at 00:34 //by abe
Since yesterday, my Blosxom plugins are versioned in the Blosxom Project CVS repository together with those of most other Blosxom developers.
Cause for this is, that — besides first steps towards Blosxom v4 (we better forget about v3… ;-) and intergrating existing patches (e.g. the Debian config file patch) to Blosxom v2 — the Blosxom developers want to release a Collection of common Blosxom Plugins as a Plugin distribution so that no one needs to gather the often needed plugins from various sites on the net but get them from first hand and also in some kind of a supported way. A first release candidate is on it’s way.
And for those who thought good ol’ blosxom is dead: There never was so much traffic on the blosxom developer’s list like in the past two months — over 160 mails each!
Now playing: Eiffel 65 — Blue
Tagged as: Blosxom, Blosxom Plugin, Blosxom v4, CVS, Hacks, Now Playing, Perl, SourceForge
// show without comments // write a comment
Related stories
Sunday·12·March·2006
Tag clouds not being tag clouds //at 13:50 //by abe
I recently stumbled over two nice things just looking like a very impressive tag cloud without being one.
The first thing is a screenshot of a drugstore.com newsletter which seemed to make some bloggers to scent a marketing conspiracy against bloggers since bloggers tend to jump on everything looking like a tag cloud. (Well, doesn’t this posting prove this theory? ;-)
The second thing is semantically closer to a tag cloud: a search term cloud. Well, if that isn’t an idea for a new Blosxom
plugin? ;-)
Tagged as: Blogging, Blosxom Plugin, Conspiracy, Idea, Marketing, Other Blogs, Search Engines, Tag Cloud, Tagging
// show without comments // write a comment
Related stories
Saturday·11·March·2006
Blosxom Plugin Tagging Version 0.02: New Features //at 19:17 //by abe
Just hacked a few new features for my Blosxom plugin Tagging. It now shows you how many times you’ve used that tag. The number is always shown as title attribute to the link, but can optionally also be shown in parentheses behind the tag name or by the (CSS based) font size and/or color (start and end sizes/colors configurable). Also some default values changed (to my current configuration :-).
I saw that font size feature quite often during the last weeks and I liked it. I first tried to figure out, which system offers that feature and found that at least Serendipity’s freetag plugin offers it, but didn’t want to download Serendipity just for the plugin. So I decided, the algorithm for calculating the font sizes shouldn’t be that hard to find and coded it from scratch by my own. :-)
And while coding it I noticed that changing the color instead of the font size could be done the same way and that this feature isn’t much more difficult. So I implemented it, too.
Another new feature is that you now can configure the minimum number of postings a tag should have to show up in the list of tags.
The result can be seen in my blog on the right side under “Tag cloud”.
Now playing: Falco — Der Kommissar
Tagged as: Blogging, Blosxom, Blosxom Plugin, CSS, GPL, Hacks, Now Playing, Open Source, Other Blogs, Perl, Tag Cloud, Tagging
// show without comments // write a comment
Related stories
Friday·10·March·2006
Tagging with Technorati style in pure Blosxom //at 03:22 //by abe
Short summary: I can’t stay away from coding Blosxom plugins. Perl rules. PHP sucks. ;-)
- New version 0.04 of the tagging plugin, supporting Technorati style tag links to many resources.
- New add-on plugin pathbasedtagging to the plugin tagging, implementing Technorati style tag links in pure Blosxom without any help from Apache’s mod_rewrite.
- New plugin dept offering Slashdot like “dept.” lines for Blosxom postings.
Supporting Technorati style tag URLs
After releasing the last version of my Blosxom plugin tagging, I
noticed that Technorati only seems to like URLs ending in
“/tagname
” but not ending in “=tagname
” (as
they do if you use classic query strings instead of the path info),
even if the a
tag has a rel="tag"
attribute. And not only I noticed this but also some other users of
the plugin. (Although I do wonder how Furl made it to a Technorati
partner with URLs like http://www.furl.net/furled.jsp?topic=tags…)
So I somehow had to change the syntax style for my tags. This wasn’t very hard for the links, but I wanted them to still link to my blog and not to Technorati, Flickr, Wikipedia or any other external resource.
Implementing Technorati style tag URLs
The obviously easiest solution for someone who’s using and administrating Apache web servers for nearly ten years now was to use some mod_voodoo—eh—mod_rewrite:
RewriteEngine On RewriteRule ^/cgi-bin/blosxom.cgi/tags/(.*)$ /cgi-bin/blosxom.cgi?-tags=$1 [PT]
That way I could use Technorati style tags and had a well performing solution. But somehow this solution wasn’t that satisfying since it wasn’t pure Blosxom and therefore had some dependency including access to some Apache config file. (Even if the config file was called .htaccess. ;-)
A pure Blosxom solution
A few days ago I somehow noticed that in general a special behaviour
on some URLs could also be implemented using Blosxom’s API. Using the
entries
function to modify the Blosxom internal path
itself before Blosxom or e.g. the entries_index runs but not returning
any hashes, allows to have some path like URLs not being treated as a
path by Blosxom.
Unfortunately this couldn’t be incorporated into the tagging plugin
itself, since plugins doing such path interpreting voodoo needs to be
ran before any plugin supplying an entries
function
runs. But the tagging plugin must run after such a plugin. So I
created the small add-on plugin
pathbasedtagging which is solely thought for use together with the
tagging plugin (but may have other, yet unknown purposes).
And since I got asked if they could use the tagging plugin to link to external tag URLs instead of the own blog, I included a ready to use list of more or less popular external tag URLs including Technorati, Flickr, del.icio.us, de.lirio.us and Wikipedia.
from the slashdot dept.
Since I’ve always liked the often sarcastic or even evil comments inside Slashdot’s subtitle alike dept. lines and since I’m also used to use them at Symlink, I wanted them in my blog, too. Time for a new plugin.
The basic work of parsing out the data from the text files the posts reside in was already written for the tagging plugin. So I just had to use that code, simplify it and add some little more code to get the dept plugin whose results you can see in my blog directly beneath the title of a posting since a few days now.
Update 02:52h
Hey, see my Technorati
profile: It worked! Technorati recognised the tags! Yeah!
Tagged as: Apache, Blogging, Blosxom, Blosxom Plugin, Dept, GPL, Hacks, HTML, mod_voodoo, Open Source, pathbasedtagging, Perl, Slashdot, Symlink, Tagging, Technorati, Wikipedia
// show without comments // write a comment
Related stories
Tuesday·07·March·2006
Blosxom plugin multcat released //at 19:58 //by abe
I like the idea of categorising blog posts and I like blosxom, but blosxom doesn’t allow you that one post belongs to several topics on different branches of the topic tree. And since there doesn’t seem to be a plugin providing such a feature — even not after looking through the blosxom plugin repository for the third time — I wrote it by my own…
So here is the blosxom plugin multcat, version 0.01. License is GPL v2 or higher.
multcat allows you to have postings in multiple categories by setting
appropriate symbolic links without having them multiple times on the
main page (or any category’s page which includes at least two
categories, the posting appears in). It is designed to work together
with categorytree, which still counts all occurrences of a posting.
Tagged as: Blogging, Blosxom, Blosxom Plugin, GPL, Hacks, multcat, Open Source, Perl
// show without comments // write a comment
Related stories
Thursday·02·March·2006
Blosxom plugin tagging released //at 02:22 //by abe
I like the idea of categorising blog posts and I like blosxom, but even with multcat adding a post to multiple categories is somehow limited. In other blogs I often saw the technic of tagging articles with a keyword. I wanted that feature, too, but there weren’t any appropriate plugin for blosxom. Until now, because again, I just wrote it by my own…
So here is the blosxom plugin tagging, version 0.01. License is GPL v2 or higher.
tagging expects one or more “header” lines starting with “Tags: ” and being located directly under the first line, which always is the title. Those lines you can fill with comma seperated keywords (seperation by blanks possible via config) and shows them with appropriate links in $tagging::tag_list for the story template and $tagging::global_tag_list with all used keywords for the head or foot template.
Filtering is done using the -tags
parameter in the query
string. It uses the same delimiter as configured for the Tag header
lines inside the posts.
Tagged as: Blogging, Blosxom, Blosxom Plugin, GPL, Hacks, Open Source, Perl, Tagging
// show without comments // write a comment
Related stories
Implemented a blacklist for blog comment spam //at 02:12 //by abe
Just killed all the remaining comment spams (I hope) and implemented a simple regexp based blacklist which should get most medicaments, potence pills, casinos, lotteries and other frequently posted junk. I hope, it does not hit too many valid posts. If you have problems posting comments, feel free to contact me by e-mail or on IRC.
In other news, I installed the blosxom plugin comments_recent and adapted the mail feature of writeback notify to my (in the meantime heavily modified)
instance of the comments plugin v0.6. I also made it symlink-safe
for use with multcat.
Tagged as: Blacklist, Blogging, Blosxom, Blosxom Plugin, comments_antispam, Hacks, Perl, RegExp, Spam
// show without comments // write a comment