Work

Tuesday, September 3rd, 2002

Fairly busy day today, working on both JujuEdit and HTML Editor. Also added a page to the web site, with source code for my implementation of the . If you know anything about encryption you might want to have a quick squiz to check if I’ve overlooked some kind of bleeding obvious security hole.

Things I’ve done to HTML Editor:

  • Added support for rejigging links with anchors or delimiters in their URLs. This is so that if one page points at ./foo.html#section_4 and foo.html is renamed to bar.html, then the link will be updated to ./bar.html#section_4
  • Added auto targetting of external links. When pages are scanned for links, anything that looks external (like "http://…") is given a target=_blank attribute (unless there is already a target) to force it to open a separate window.
  • Put back a kludge to "Jostle" the DHTML control window, whose size kept getting screwed up for no obvious reason.
  • Finally sussed out why MS DHTML Control kept killing my copyright symbols (© Alt+169)… it seems that I had neglected to add a Content-Type/charset META Tag to my templates. Now that I have added it, my ©s and hopefully other characters like (™ +153),(“ +147),(” +148),and (• +149) might actually stick around too. It reminds me that HTML Editor does not support UTF-8 properly yet, and UTF8 is the bees knees of text encodings.

Things I’ve done to JujuEdit:

  • Have got syntax exporting working really nicely from JujuEdit, allowing very easy creation of hilighted source code, like the following paragraph. The actual HTML code generated can be a little dense with tags, but there’s no more compact way to do it ( would be able to save a few characters, but complicates pasting into another document with its own style definitions)
<P align="left"><STRONG>Tuesday, September 03, 2002 -
      1:34 AM</STRONG> </P>
      <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
        <P align=left>Fairly busy day today,
        working on both JujuEdit and HTML
        Editor. Have got syntax exporting
        working really nicely from JujuEdit,
        allowing very easy creation of
        hilighted source code, like the
        following: </P></BLOCKQUOTE>
feed

Leave a Comment