Webdev: August 2006 Archives

Though weblogs are the perfect example of periodical publications, in many countries they are not liable for ISSN codes. After the Spanish standards organisation denied an ISSN request, a group of bloggers created the IBSN, the Internet Blog Serial Number.

In a short time an IBSN wiki was created and of course there is an IBSN weblog. And finally a handy PHP scripter created a tool to manage all IBSN numbers.

Since a support their cause and because you can never have enough buttons and banners on your weblog, I requested an 'official' IBSN code for Brain Tags:

IBSN: Internet Blog Serial Number 9-9999-999-88


As of version 3.31, Movable Type natively supports tags.

Tags are keywords or descriptive terms associated with an item as means of classification. Unlike categories, an item can have many tags to describe the item in several ways. Tags are well known from other (web) applications such as Flickr for tagging photos and del.icio.us for tagging links.

The well known weblog search service Technorati introduced tags to weblog entries, and allows for browsing and searching texts on weblogs by tag. Blog entries can be tagged easily by simply placing a few links at the bottom of the entry in the right format:

<a href="http://technorati.com/tag/[tagname]" rel="tag">[tagname]</a>

Now that MT also supports tags, I hoped for a fluent integration with Technorati. Even though the default MT templates do not link the tags shown on the pages to Technorati but rather to an internal tags search on the current weblog, I hoped for a standard implementation in the RSS feed templates spidered by Technorati. And indeed I found a correct looking code:

<category term="31" label="technorati" scheme="http://www.sixapart.com/ns/types#tag" />

Technorati automatically converts categories in the RSS feed to tags, and even though MT defines a new namespace, it should work correctly... But unfortunately, the above code does not add the tag called "technorati" to the item, but rather the record number "31".

When I tried to look up the specification at http://www.sixapart.com/ns/types#tag, I received a 404, so I still don't know whether Six Apart made a mistake when developing the new feed template or whether Technorati should have parsed the feed. Does anybody know whether either Six Apart of Technorati are working on this issue?

One of the biggest problems in scripting and programming is escaping quotes. Quotes have a special meaning, they are usually used for specifying the start and end of a string, such as in <abbr title="eXtensible Markup Language">. But what happens when the string between the quotes also contains quotes? ...Errors!

There are several ways to prevent this situation. The two most common solutions are escaping the quotes by placing a special symbol in front of it such as \" and replacing the quote by its character entity reference &quot;.