You can archive old versions of articles and stories.
The archived old versions are stored in a new 'versions' list attribute of the story object - each item in the list contains the XML of the version's text, who created the version (a string with the descriptive name of the user) and when the version was created (a date-time). The system saves only the text of each old version, not its metadata.
The XML of an archived story with a coupld of old version look like this:
<story id="obj41115" . . . >
. . .
<xmlText>
<div class="gn4xml_head" xmlns="">
<p>Head 5</p>
</div>
. . .
</xmlText>
. . .
<versions>
<item>
<who>Editor</who>
<when>2011-08-09T20:26:53.017Z</when>
<xmlText>
<div class="gn4xml_head" xmlns="">
<p>Head 4</p>
</div>
. . .
</xmlText>
</item>
<item>
<who>Editor</who>
<when>2011-08-09T20:06:14.400Z</when>
<xmlText>
<div class="gn4xml_head" xmlns="">
<p>Head 3</p>
</div>
. . .
</xmlText>
</item>
</versions>
</story>
The archived old versions are visible in the preview of the stories in the Web interface:
Each entry shows the version creation date-time and creator name, and can be expanded to show the corresponding text.
There is a new user setting that indicates if the old versions should be archived or not:
If set to 'All' all the old versions of each article and story that is archived will be archived. If set to 'Carbon' all the carbin copies of each articles and story that is archive will be archived. If set to 'None' or omitted (it is an optional parameter) no old versions will be archived.
The changes are in the schema and the following configuration and data files:
Config\Data\GN4\securityScope_Default.xml
Config\Global\GN4\wf_Archive.xml
Config\Global\GN4\wf_ArchiveObjects.xml
Config\Global\GN4\xsl_Archive.xslt
Config\Global\GN4_Tark4_Common\xsl_html.xsl
Config\Global\GN4_Tark4_Common\xsl_ImportDocumentsStory.xml