TypoScript Syntax Parser for Macromedia® HomeSite™

Since it is not very convenient to edit TypoScript code in a small textarea field in TYPO3's backend, I provide a basic TypoScript syntax parser with code highlighting for standalone editing in Macromedia® HomeSite™.


Rainer Kuhn, © 2003-2006


Macromedia® HomeSite™ 5.x or 4.5.x running on Windows (probably also working with earlier versions of Allaire HomeSite 4.x, but not tested yet)

  Example Screenshot

Example Screenshot (click to enlarge)


ts4hs_v022.zip (19 KB): TypoScript Syntax Parser for HomeSite™ v.0.2.2


(These instructions are also included in the download package.)

  1. Find HomeSite's parser directory on your local machine, e.g. C:\Program Files\Macromedia\HomeSite 5\Parsers\
  2. Copy the compiled .scc file into this directory.
  3. Open the Windows registry editor (regedit) and go to the following key: HKEY_CURRENT_USER\Software\Macromedia\HomeSite5\Parsers\
  4. In here, add a key named "TypoScript for Typo3".
  5. Close the registry editor.
  6. Open HomeSite.
  7. Go into HomeSite's Color Coding Options (Options > Settings > Editor > Color Coding).
  8. The parser should now be listed. Click on its name and click "Edit Extensions". Here you can enter any extension types for TypoScript files the parser should highlight.
  9. Click "Edit Scheme" if you want to configure parser settings individually.

Known Issues

Due to limitations of the HomeSite syntax parser engine and/or the parsed language

  1. one-line comments need a blank between comment marker ("/", "//", "#") and the comment text itself to be displayed correctly
  2. any values in square brackets are displayed as TypoScript conditions.


This syntax parser has been presented in the German book "TYPO3 und TypoScript - Webseiten programmieren, Templates erstellen, Extensions entwickeln" by Daniel Koch, published by Hanser Verlag in Nov. 2005, chapter 3.9 (page 56/57).


  Projects overview

© Rainer Kuhn |  last Update:  |  www.rainerkuhn.net