Hi,
I'm working for a CMS vendor and I'm currently studying the use of RDFa to add meta data to the pages generated by our product to provide a front end editing interface to our users. The idea is to generate pages together with some meta information and let a JavaScript component read those information to generate a nice end user interface that allow to interact with the content, something quite similar to http://createjs.org but more sophisticated. So I need identify for instance the title, the author, the content, ... of the articles stored in the CMS, but I also need to add some others meta data and this is where I don't know how I should proceed. For instance, let say I have something like:
<body xmlns:myclasses="http://example.com/types/vocab#">
<article class=”main-page-article” typeof="myclasses:Article" about="/A-big-title">
<h1 property="myclasses:title">A big title</h1>
<p class="summary" property="myclasses:summary">A small summary, lorem ipsum</p>
<!-- ... -->
</article>
</body>
how can I express that the property myclasses:title
should not be longer than 250 characters or that the current user is able to edit it but not myclasses:title
or how can I express that internally the title is stored as a string while the subtitle is stored as "text" (longer datatype, line feed are accepted, ...)
Regards