On 3/24/08, Andreas Hartmann <[EMAIL PROTECTED]> wrote: > IMO the concept of resource type formats has proven very useful and > convenient. Maybe it makes sense to introduce implicit formats which > don't depend on a particular resource type but work with all documents? > A first candidate might be the "metadata" format: > lenya-document:…,pub=…,area=…,lang=…?format=metadata > would return the XML format of the LenyaMetaDataGenerator. > > WDYT? > -- Andreas
The lenya-document protocol seems to provide some of the functionality of Lenya-1.3's content: protocol with its three "formats": DATA, INFO, and META. - DATA is the Resource. - INFO is the XML version of a Resource. The output is identical to DATA if the Resource contains XML. This format is useful to retrieve internal information of binary files. - While the first two formats handle specific Revisions, META returns XML for the entire Resource including all Translations and Revisions. When using the term "metadata", are you referring to internal information or to lenya:meta information from Resources' XML? Trying to understand, solprovider