fettig.net

LINK Elements, Bookmarklets, and Case Sensitivity

Posted by Abe on Tuesday, August 6, 2002 @ 11:31 am

This morning I tried using my ‘Subscribe’ bookmarklet to add the RSS feed at tusugen.com to Hep. It didn’t work. A look at the source revealed that the link tag looks like this:


<link REL="ALTERNATE" TYPE="application/rss+xml" 

TITLE="RSS" HREF="http://tesugen.com/index.xml">

The bookmarklet is looking for a LINK elements whose REL is “alternate”, and so it fails to find one whose REL is “ALTERNATE”.

I’m not sure what the official spec says on case-sensitivity in attribute values, but according to this page the REL attribute should not be case sensitive. So I modified my bookmarklet (and the one in the Hep docs) to convert attribute values to lower case before comparing them (using the toLowerCase() method of javascript strings).

The updated bookmarklet is here:

Subscribe

(I also sent an e-mail to Mark, who created the original Subscribe bookmarklets).

ZOE

Posted by Abe on Monday, August 5, 2002 @ 9:34 am

Based on what nfo’s

been

saying

I decided to check out ZOË. ZOË is a desktop mail server, written in Java, that stores your mail and lets you view and search it in interesting ways. It looks very cool, and I’m going to try running it for a few days to get a better understanding of it.

Even from a quick look at ZOË it seems clear that there’s a lot of overlap with Hep - built-in web, POP3, and SMTP servers, storing and filtering messages. It’s enough to make me pause. Would it be better to try and merge the two projects? Or duplicate some of ZOË’s features in Hep? Hmm…

« Previous Page