On Sep 14, 2004, at 2:45 PM, Robert Sayre wrote:
Ezra Cooper wrote:
* Templates - template body - name - target filename
Could this be rephrased as - content - MIME type - title - URI
Is "URI" the for the XML Atom resource, or for the public HTML file?
I was groping for a way to determine the URLs of the public HTML files. We could certainly have a static URL field to be used for templates that only generate one HTML file. However, a common scenario is that where one template will generate many HTML files, at URLs determined by a given pattern. If we wanted to get fancy, we could make the "URI" field MIME-typed, like the content field, so that you could use a template language to specify the scheme of URLs generated by that template. Clients could treat it as a vanilla text box, or they could provide UI help for certain URL-template languages.