« January 2004 | Main | April 2004 »

Categorizing with spaces

Jon Udell's been paying a lot of attention recently to categorizing XHTML elements. Two of his readers suggested that he use the class attribute, delimiting the categories (if necessary) with spaces; this is also valid CSS. I'm in favor of it as well, as it has worked well for me in two other circumstances.

At del.icio.us/crysflame, I keep a notebook of interesting links. Each link has several pieces of metadata; of interest is the tags field. The content of this field is a space-delimited list of categories, so to speak; a blog post about Google's IPO would be assigned "blog business", while a paper about graphing social dynamics would get "science social math". It's worked out very well for me, so far; I can find things easily enough by selecting individual tags, though more complex slices of the data aren't provided.

With the release of iTunes 4.2, a new field was added: grouping. At first, it was thought of as a similar sort of categorization field as the tags field: a space-delimited list of single-word categories. It turns out, however, that Apple has other plans for this field. While this puts somewhat of a damper on efforts to sort through music easily, the comments field can be used instead.

filster: Linking reputations networks to email whitelists.

I've written a procmail filter that checks incoming mail against several identity networks; when the sender's email address is listed, it adds a new header: X-Reputation: friend. Currently, plugins are provided for Orkut, FOAFweb, Reputation Research Network, and CPAN.

# When someone's listed as a friend, add X-Reputation: friend.
:0 f
|/usr/local/sbin/filster.pl

An addition to SpamAssassin's local.cf allows mail from these senders to pass through more easily, while allowing super-spam (scoring 20+) to remain blocked.

header REPUTATION_FRIEND X-Reputation =~ /friend/
score REPUTATION_FRIEND -7.0

header REPUTATION_PEER X-Reputation =~ /peer/
score REPUTATION_PEER -5.0

Combined with SPF, it becomes quite feasible to tie one's social networking profiles into a list of all the email addresses from which you don't receive spam.

The code is included in the extended entry of this post; please be aware that it is to be considered pre-alpha 0.0.1 pencil draft code. That said, it works quite nicely once you've got the prerequisite perl modules installed.

Update: Added code to link into the Reputations Research Network. Neat :)

Update: Linked into the CPAN author database and an instance of the FOAFweb as well.

Continue reading "filster: Linking reputations networks to email whitelists." »

My Photo

Recent Posts

Powered by TypePad

Locals

Legal

Metadata

  • Antispam
  • Cloudmark
  • Shadows
  • Styles
  • You were here
  • floating atoll

Google

  • Search


    Google

  • Ads