Archive for the ‘techno’ Category

Those del.icio.us links

Wednesday, May 25th, 2005

To my fellow readers: Please excuse all those recycled del.icio.us links in my blog; I’ll find a way to provide both an index page and RSS/Atom feeds without the del.icio.us cruft. Be patient.

In the meanwhile, we are using this for the saugnapf podcast to effienctly share and document our sources of good netaudio.

Converting TWiki to MediaWiki

Wednesday, April 13th, 2005

A while ago, we migrated our Entropia Wiki from TWiki to MediaWiki. I wrote a little dirty Perl script to help us migrating and it did help a lot. I’m not maintaining it anymore, still I wanted to share the script as it could be useful for other people. You can get it here. Don’t bother me with bug reports 🙂

From the script’s description:

# twiki2mediawiki converts TWiki Wikis to MediaWiki SQL. Make backups and pray.
# A todo list called Twiki2mediawiki_TODO_list will be generated, so you can
# check each page for conversion errors.
#
# BUGS
# - Doesn't handle umlauts in titles
# - Leaves some HTML-markup that worked in TWiki hanging around
# - Doesn't handle *fat* TWiki-style
# - Doesn't handle TWiki-tables
# - Doesn't handle Inter-TwikiWeb.Links correctly
# - Doesn't handle all styles of links
# - Full text earching does not work: As you really should touch
#   every single page anyway, this is not a big problem.
#
# WHAT TO DO AFTER CONVERTING
#
# Visit "Twiki2mediawiki_TODO_list" to fix your wiki:
#
# - Rename a lot of pages (CameLcase)
# - Fix b0rken links (see BUGS)
# - Fix b0rken markup (see BUGS)

I believe the full-text search would work if you let MediaWiki reindex the whole Wiki. There’s some info about that in the German Wikipedia’s Download page.

Podcasting with MT-Enclosures

Monday, March 14th, 2005

saug0r.jpg

It’s so easy:

  1. Put Enclosures.pl from the MT-Enclosures zip into your MT “plugins” directory.
  2. Put a special MT-tag somewhere within an “<item>” in your newly created podcast-blog’s RSS2-feed:
    <$MTEntryEnclosures$>
  3. Submit a link to an MP3 in your blog entry.

The Tower of Babylon

Monday, March 14th, 2005

The Tower of Babel by Pieter Bruegel

Netzstaub and The Lunatic Fringe have recently been thinking about the same thing I was thinking about: multi-language support in weblogs. I’ve been blogging rarely, but when I did, I couldn’t really decide which language to choose. Now I basically decided to just stick to English as I could need some exercise (not that I wouldn’t need that for German, too…) and most of the German readers can read English good enough while most of the anglo-/american people I know are not that savvy in foreign languages.

Then again, there are reasons why bl0rg.net should probably just switch to running something like WordPress with Polyglot, which enables you to have parts of your blog entry in different languages and only display the fitting parts as the reader chooses. On the other hand, I’d like to keep each language completly seperate, that is writing a blog article in English and then having the option to translate it as a whole to German and presenting the reader the best-fitting version of the article. (Just how Apache does it with MultiViews).
Time to write my own blog software… (with blackjack! and multi-language support!)

No Comment

Thursday, September 16th, 2004


casuavillain-demon.jpg

I hate Movable Type. Struggling with the comment spam (about certain drugs helping men be men again, you know), I tried to install the SCode plugin; with the effect that now no comments can be posted anymore. I suspect that it’s the braindead BSD philosophy that lead to two broken Perl versions on bl0rg.net. One is the antique 5.00503, the other one is Perl 5.8. Thanks, BSD, now I know why you use a helldemon as your mascot.

Maybe I should enhance BKNR‘s blogging features, when I have more time learning Lisp, but then again… BKNR is just another bastard love child of Manuel, a knight of just that punk BSD philosophy, I can already hear his demonic laughter.

Firefox Web Developer Toolbar

Friday, June 11th, 2004

There’s a nice Web developer extension to Firefox which greatly helps when debugging web sites with
neat features like:

  • Display, live edit and validate CSS of a webpage
  • Find broken images, images without alt-tags
  • Lots of validation options
  • Web form helpers

So, that’s the third extension (besides the language menu and
the session saver) I’ll use.

Web standards

Friday, June 11th, 2004

This blog finally validates as XHTML 1.0 Transitional. I wish web browsers just wouldn’t display invalid pages…

Valid XHTML 1.0!

Synchronizing Firefox Bookmarks with CVS

Tuesday, June 8th, 2004

This is more of a dirty little helper than a clean solution, but it suits me well. I only know of one other tool for synchronizing bookmarks between multiple computers: The Bookmarks Synchronzier (FTP) uses FTP to do the job, but I prefer CVS (or any other version control system in the future) because I already use that for various tasks.

The main problems with synchronizing bookmarks via CVS are conflicts, which come up naturally (changed bookmark properties) or because of some flags (like last visit or last modification date for folders). To reduce the latter, I use this dirty little script:


#!/bin/bash
bookmarks=`echo ~/.firefox/default/*/bookmarks.html`

cd `dirname $0`
sed -e s/LAST_VISIT=”[0-9]\+” // \
-e s/LAST_MODIFIED=”[0-9]\+” // < $bookmarks > bookmarks.html
cvs update

It first copies the bookmarks.html, removes the conflict-prone LAST_VISIT and LAST_MODIFIED tags and then updates from the CVS repository. Then you got to manually resolve all remaining conflicts (look for “>>>” in bookmarks.html). Finally I use another script to commit the changes and copy back the new – synchronized – bookmarks file. All that has to be done while Firefox is closed. (It’s a good idea to close Firefox from time to time anyway, holy memory leak…)


#!/bin/bash
bookmarks=`echo ~/.firefox/default/*/bookmarks.html`

cd `dirname $0`
cvs commit -m foo
cp bookmarks.html $bookmarks

Selbstkritik

Tuesday, February 17th, 2004

200402170316.png

VoodooPad

Monday, January 19th, 2004

VoodooPad ist eine Applikation, wie ich sie schon immer gesucht hatte: Ein Wiki ohne Webserver.
Leider nur für MacOS X 🙁 [via: Netzstaub: VoodooPad]