Content Management Markup Language

Author: Michael Wechner (michael.wechner@lenya.org)
Created: 2002.01.20
Version: 2002.01.20

The revision and workflow of each "file" is described by a corresponding "CMML-File". The various workflows are configured by the file workflow.xconf.

example.cmml

<?xml version"1.0"?>
<cm>
  <mime type="xml"/>

  <revision max="10">
    <checkin>
      <user>levi</user>
      <time>1003757900756</time>
      <date year="2002" month="1" day="22" hour="7" minute="47" second="19" millisecond="756"/>
      <backup id="2"/>
    </checkin>
    <checkout>
      <user>levi</user>
      <time>1003757700784</time>
      <date year="2002" month="1" day="22" hour="7" minute="15" second="57" millisecond="784"/>
    </checkout>
    <checkout>
      <user>levi</user>
      <time>1003757305654</time>
      <date year="2002" month="1" day="21" hour="23" minute="50" second="12" millisecond="654"/>
    </checkout>
    <checkin>
      <user>lenya</user>
      <time>1003757300954</time>
      <date year="2002" month="1" day="21" hour="22" minute="45" second="14" millisecond="954"/>
      <backup id="1"/>
    </checkin>
  </revision>

  <workflow id="standard-article">
    <state id="live">
      <user>levi</user>
      <time>1003757310252</time>
      <date year="2002" month="1" day="22" hour="7" minute="50" second="23" millisecond="252"/>
    </state>
    <state id="ready-to-publish">
      <user>levi</user>
      <time>1003757310746</time>
      <date year="2002" month="1" day="22" hour="7" minute="49" second="16" millisecond="746"/>
    </state>
    <state id="proof-reading">
      <user>levi</user>
      <time>1003757310657</time>
      <date year="2002" month="1" day="21" hour="22" minute="45" second="24" millisecond="657"/>
    </state>
    <state id="authoring">
      <user>lenya</user>
      <time>1003757300954</time>
      <date year="2002" month="1" day="21" hour="22" minute="45" second="14" millisecond="954"/>
    </state>
  </workflow>

  <scheduling>
    <visible-date>1003757300954</visible-date>
    <expire-date>1003757300954</expire-date>
  </scheduling>
</cm>

Explanation

  1. At 22:45:14 the user "lenya" is checking in a new article, which was probably written with some third-party editor.
  2. At 22:45:24 the user "lenya" is assigning the article to the user "levi" for proof-reading.
  3. At 23:50:12 the user "levi" is checking out the article for doing some modifications.
  4. The user "levi" is getting tired and forgets to check in the article
  5. At 7:15:57 on the next day the user "levi" is checking out the article again to do some final modifications.
  6. At 7:47:19 the user "levi" finished modifying the article.
  7. At 7:49:16 the user "levi" sets the workflow on 'ready to publish'.
  8. At 7:50:23 the user "levi" is publishing the article.