Hi! Do you remember blogs? Well, this used to be one. Now it just serves as an archive for my multiple Twitter accounts.

18 March 2004

New gadget on the blog: a live comment preview (via Binary Bonsai).

I’m out of time to finish the script because I must go to the supermarket, but it works. Ah, regexps…

Besides, it makes me want to edit my code so that simple HTML tags are accepted in comments. Well, it’ll keep me busy for an hour or two.

P.S. There you go. Simple tags are accepted (<b>, <i>…) but I failed to configure the regexps right for <a href>, so we’ll see about that later. It’s already something. And it’s nice. I find it so cute to see the little bit of text below the form being updated while I type.

And I did write <b> and <i>, not <em> nor <strong>. I’m not using those because I think they’re absurd (when you want to write in bold, you mean to write in bold, not to write “strong”), so I’m not going to let you use them here when you have no control over stylesheets and the definition of <em> and <strong>.

P.S. By popular request, I added a checkbox to deactivate the preview if it’s too slow on your computer. The option is saved in a cookie.

Archives

2001 01 02 03 04 05 06 07 08 09 10 11 12

2002 01 02 03 04 05 06 07 08 09 10 11 12

2003 01 02 03 04 05 06 07 08 09 10 11 12

2004 01 02 03 04 05 06 07 08 09 10 11 12

2005 01 02 03 04 05 06 07 08 09 10 11 12

2006 01 02 03 04 05 06 07 08 09 10 11 12

2007 01 02 03 04 05 06 07 08 09 10 11 12

2008 01 02 03 04 05 06 07 08 09 10 11 12

2009 01 02 03 04 05 06 07 08 09 10 11 12

2010 01 02 03 04 05 06 07 08 09 10 11 12

2011 01 02 03 04 05 06 07 08 09 10 11 12

2012 01 02 03 04 05 06 07 08 09 10 11 12

2013 01 02 03 04 05 06 07 08 09 10 11 12

2014 01 02 03 04 05 06 07 08 09 10 11 12

2015 01 02 03 04 05 06 07 08 09 10 11 12

2016 01 02 03 04 05 06 07 08 09 10 11 12

2017 01 02 03 04 05 06 07 08 09 10 11 12

2018 01 02 03 04 05 06 07 08 09 10 11 12