opening it up with Common Lisp

Favorite weblogs

Lisp Related

Bill Clementson

Finding Lisp

Lemonodor

Lispmeister.com

Planet Lisp

Politics

Orcinus

Talking Points Memo

This Modern World

Working for Change

Other home

Polliblog

Recent Readings

Book review: Darwinia
Reviewed: Friday, August 11, 2006

Summer reading: Spin
Reviewed: Saturday, August 5, 2006

Runner
Reviewed: Tuesday, July 18, 2006

the Omnivoire's Delimma
Reviewed: Wednesday, July 12, 2006

the Golem's Eye
Reviewed: Wednesday, May 31, 2006





tinderbox
 width=

Apologies to Tinderbox...
Thursday, December 1, 2005

Yesterday, I complained about Tinderbox's HTML entity encoding (I didn't think it was handling ampersands correctly). Today, Mark Bernstein, the creator of Tinderbox, wrote me and showed me an excellent solution. How about that for great support!

Previously, I used encode( ^text(this)) to spit out the <description> of my feed items. The ^text and ^encode are Tinderbox specific commands that get the text of the current note and encode the markup in it, respectively. My contention was that ^encode wasn't working properly because it didn't convert '&'s into &. Mark suggests using: <![CDATA[ ^text^ ]]> instead to tell RSS readers that the contents are just data and shouldn't be parsed.

Mark also points out that the description was initially intended to be just text, not markup and that this has led to a lot of slips betwixt cup and lip.

So, Thanks Mark, Thanks Tinderbox and boo hiss on all this encoding and double encoding confusion.

(additional apologies ... I had some problem's with this entry correctly encoding the caret symbols that Tinderbox uses in its markup and control language!)


|

Home | About | Quotes | Recent | Archives

Copyright -- Gary Warren King, 2004 - 2006