June 4th, 2001

bike

DTD desiderata

A continuation of the discussion from March on a DTD for LiveJournal entries. IMHO, the following features are desirable.
  1. The DTD should allow for future server capabilities whenever possible - new metadata, new security levels, etc.
  2. The DTD should be capable of representing posts that have not yet been submitted to the LiveJournal server. (Client offline mode, possible XML protocol, etc.)
  3. The resulting files should be readable and editable by humans. "3 < 4" should not be represented as "3 &amp;lt; 4". Possibly we should use CDATA blocks and conventionally escape "]]( *)>" as "]]$1 >"; inelegant, but nowhere near as ugly as double-escaping characters. Suggestions welcome.
  4. When keywords in the existing protocol and terminology in common usage differ, we should use the latter for tag names.
With that in mind, here's a suggestion for a DTD, stealing much from the current draft:

Collapse )

  • Current Music
    Morphine - Sheila