[JemBlog-Develop] Input Templates
Brought to you by:
dannyayers
From: Ian D. <ia...@in...> - 2003-03-18 17:25:37
|
One thing that annoys me about Moveable Type is that the input form is limited to the fields that the developer thinks I'll need and has coded support for in the back-end. With an RDF back-end it should be possible handle all kinds of data at the front-end. We should define Input Templates that describe the fill-in fields required to create an instance of a particular class. The simplest template would define the fields for an rss:Item, i.e. title, description and link. This could be described in RDF, e.g. (made up on the spot - no deep thought behind this) <rdf:RDF ...> <ui:Template> <ui:class rdf:resource="http://purl.org/rss/1.0/item" /> <ui:title>New RSS Item</ui:title> <rdf:Seq> <rdf:li> <ui:Field> <ui:classProperty rdf:resource="http://purl.org/rss/1.0/title" /> <ui:cols>40</ui:cols> <ui:rows>1</ui:rows> <ui:multiline>false</ui:multiline> </ui:Field> </rdf:li> </rdf:Seq> </ui:Template> </rdf:RDF> What do you think? - Ian <ia...@in...> "One never notices what has been done; one can only see what remains to be done." |