Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Jump to menu and information about this site.

Saturday·11·March·2006

Blosxom Plugin Tagging Version 0.02: New Features //at 19:17 //by abe

from the featuritis dept.

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


Filed under: Blogging is futile » English » Computer » Web » Blosxom » Blosxom Tagging Plugin Version 0.02
Tagged as: , , , , , , , , , , ,
1 comment // show without comments // write a comment //

Friday·10·March·2006

Tagging with Technorati style in pure Blosxom //at 03:22 //by abe

from the blosxom-voodoo dept.

Short summary: I can’t stay away from coding Blosxom plugins. Perl rules. PHP sucks. ;-)

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!

Filed under: Blogging is futile » English » Computer » Web » Blosxom » Tagging with Technorati style in pure Blosxom
Tagged as: , , , , , , , , , , , , , , , ,
5 comments // show without comments // write a comment //

Tuesday·07·March·2006

Blosxom plugin multcat released //at 19:58 //by abe

from the multiple-feline dept.

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.

Filed under: Blogging is futile » English » Computer » Web » Blosxom » Blosxom plugin multcat
Tagged as: , , , , , , ,
0 comments // show without comments // write a comment //

Thursday·02·March·2006

Blosxom plugin tagging released //at 02:22 //by abe

from the if-it-doesn't-exist-you-have-to-write-it-yourself dept.

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.

Filed under: Blogging is futile » English » Computer » Web » Blosxom » Blosxom plugin tagging
Tagged as: , , , , , , ,
0 comments // show without comments // write a comment //

Blosxom Plugin Tagging Version 0.03: Featuring related stories //at 02:08 //by abe

from the relationship dept.

Wim de Jonge, an (as he writes) happy user of my blosxom plugin “tagging” asked, if the tags used in the plugin couldn’t be used to find related stories by looking for stories which share a number of tags with the current story.

Version 0.03 of tagging is the result of his suggestion. You can see in my blog how it looks like.

He also found a division by zero bug in the plugin which happend if there were only a few posts in a blog and therefore all tags only occurred once. This bug should be fixed now, too.

Now playing: Toto — Africa

Update 14:50h: Released version 0.03.1 as a bugfix releases since there was a slash missing in the related story links and some minor issues. Thanks again Wim for pointing out the error.

Filed under: Blogging is futile » English » Computer » Web » Blosxom » Blosxom Tagging Plugin Version 0.03
Tagged as: , , , , , , , , , ,
1 comment // show without comments // write a comment //

Pisg User Manager released with pisg 0.67 //at 02:01 //by abe

from the initial-release dept.

With the release of pisg 0.67 this Thursday also the Pisg User Manager (PUM) I started has been released and become part of the pisg distribution. (See also Credits and Changelog.)

Filed under: Blogging is futile » English » Computer » Web » PUM released with pisg 0.67
Tagged as: , , , , , ,
0 comments // show without comments // write a comment //

The days of addalias are counted — pum is coming //at 02:01 //by abe

from the rewrite-from-scratch dept.

Although it’s quite a while ago that I wrote version 3.0 (the initial version) of pum — the pisg user manager — and that it’s even longer ago that Myon and I decided that the current pisg user editing -ehm- web frontend called addalias needs to be rewritten from scratch or replaced, only now pum seems to get ready for the pisg community:

Myon asked me yesterday, if I could send him and Azoff a copy. So I did. When I today asked for feedback, Myon pointed me to Azoff’s WebCVS and I was quite surprised (positively) that someone continued my work on pum, added new pisg features and raised the version number to 3.1.

So today Azoff and me worked further on pum, me mostly fixing some of my own old bugs and typos. I’m sure, we’ll have a publishable version quite soon. So the days of addalias are counted…

Filed under: Blogging is futile » English » Computer » Web » The days of addalias are counted
Tagged as: , , , , , ,
0 comments // show without comments // write a comment //

Tag Cloud

Current filter: »GPL« (Click tag to exclude it or click a conjunction to switch them.)

2CV, Automobiles, Berlin, bijou, Blogging, Blosxom, Blosxom Plugin, Browser, BSD, CDU, Citroën, CLT, Conkeror, CX, Debian, Doofe Parteien, eBay, EeePC, Emacs, Epiphany, Etch, ETH Zürich, Events, Firefox, Fläsch, FreeBSD, Galeon, Gecko, GNOME, Google, GPL, Hacks, Hardware, Heise, IRC, JavaShit, Kazehakase, Lenny, Linux, LinuxTag, LUGS, Lynx, maol, Meme, Microsoft, Mozilla, Music, München, Open Source, Opera, Pentium I, Perl, Planet Debian, Planet Symlink, Quiz, Rant, ratpoison, Religion, RIP, Sarcasm, Sarge, Schweiz, Shell, Sid, Spam, SuSE, Symlink, Symlink-Artikel, Tagging, Talk, taz, Text Mode, ThinkPad, Ubuntu, USA, USB, VCFe, Ventilator, Vintage, Wahlen, Wikipedia, Windows, WML, Woody, WTF, X, Zürich

Calendar

 2008 →
Months
OctNov Dec
 October →
Mo Tu We Th Fr Sa Su
   
7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

Tattletale Statistics

Blog postings by posting time
Blog posting times this month



Search


Advanced Search


Categories


Recent Postings

13 most recent of 177 postings total shown.


Recent Comments


AideRSS Top 10


Hackergotchi of Axel Beckert

About...

This is the blog or weblog of Axel Stefan Beckert (aka abe or XTaran) who thought, he would never start blogging... (He also once thought, that there is no reason to switch to this new ugly Netscape thing because Mosaïc works fine. That was about 1996.) Well, times change...

He was born 1975 at Villingen-Schwenningen, made his Abitur at Schwäbisch Hall, studied Computer Science with minor Biology at University of Saarland at Saarbrücken (Germany) and now lives in Zürich (Switzerland), working at the IT Support Group (ISG) of the Departement of Physics at ETH Zurich.

Links to internal pages are orange, links to related pages are blue, links to external resources are green and links to Wikipedia articles, Internet Movie Database (IMDb) entries or similar resources are bordeaux. Times are CET respective CEST (which means GMT +0100 respective +0200).


RSS Feeds


Identity Archipelago


Picture Gallery


Button Futility

Valid XHTML Valid CSS
Valid RSS Any Browser
PageRanker.org PageRanker.org
Free Google Page Rank Checker (that either doesn't work at the moment or you don't see images in general, if you see this. ;-) GeoURL
This content is licensed under a Creative Commons License (NC SA 2.0 DE). Some rights reserved. Hacker Emblem
Get Mozilla Firefox! Powered by Linux!
Typed with GNU Emacs Listed at Tux Mobil
XFN Friendly Button Maker
Weblog counter Blogstats

Blogroll

Blog or not?


People I know personally


Other blogs I like or read


Independent News


Interesting Planets


Web comics I like and read

Stalled Web comics I liked


Blogging Software

Blosxom Plugins I use

Bedside Reading

Just read

  • Bastian Sick: Der Dativ ist dem Genitiv sein Tod (Teile 1-3)
  • Neil Gaiman and Terry Pratchett: Good Omens (borrowed from Ermel)

Currently Reading

  • Douglas R. Hofstadter: Gödel, Escher, Bach
  • Neil Gaiman: Keine Panik (borrowed from Ermel)

Yet to read

  • Neil Stephenson: Cryptonomicon (borrowed from Ermel)

Always a good snack

  • Wolfgang Stoffels: Lokomotivbau und Dampftechnik (borrowed from Ermel)
  • Beverly Cole: Trains — The Early Years (getty images)

Postponed

Technorati


Lijit