Example Content Type
The following example shows a complete minimal content type that is configured for auto-tagging.
<content-types xmlns="http://xmlns.escenic.com/2008/content-type" xmlns:ui="http://xmlns.escenic.com/2008/interface-hints" version="4"> <content-type name="news-cxense" xmlns:semantic="http://xmlns.escenic.com/2011/semantic" xmlns:cxense="http://xmlns.escenic.com/2011/semantic-cxense"> <ui:label>Cxense Story</ui:label> <ui:description>A news story auto tagged by cxense</ui:description> <ui:icon>news</ui:icon> <ui:title-field>title</ui:title-field> <ui:tag-scheme>tag:person@example.com,2011</ui:tag-scheme> <ui:tag-scheme>tag:organization@example.com,2011</ui:tag-scheme> <ui:tag-scheme>tag:location@example.com,2011</ui:tag-scheme> <ui:tag-scheme>tag:unknown@example.com,2011</ui:tag-scheme> <ui:tag-scheme>tag:url@example.com,2011</ui:tag-scheme> <panel name="main"> <ui:label>Main Content</ui:label> <ui:description>The main content fields</ui:description> <field name="title" type="basic" mime-type="text/plain"> <ui:label>Title</ui:label> <constraints> <required>true</required> </constraints> <cxense:field name="title"/> </field> <field mime-type="text/plain" type="basic" name="summary"> <ui:label>Summary</ui:label> <cxense:field name="body"/> </field> <field mime-type="application/xhtml+xml" type="basic" name="body"> <ui:label>Body</ui:label> <cxense:field name="body"/> </field> <field mime-type="application/json" type="basic" name="cxense-response"> <ui:hidden/> <semantic:field name="response"/> </field> </panel> <summary> <ui:label>Content Summary</ui:label> <field name="title" type="basic" mime-type="text/plain"/> <field name="summary" type="basic" mime-type="text/plain"/> </summary> </content-type> </content-types>