On 2/24/06, Bob Harner <[EMAIL PROTECTED]> wrote: > On 2/23/06, Michael Wechner <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: > > >The important information is: > > >- name (which must match the directory name) > > >- (Boolean) allowed in URLs (to distinguish between Modules accessible > > >by visitors and internal Modules used by other Modules.) > > >- (optional) TemplateID if inheriting is not from the Template > > >specified for the Publication. > > ><module name="live" external="true" template="default"> > > I think you would also want a "description", which would be needed to > make the "Choose Modules for Publication" administration screen > usable.
We are discussing two different things. "publication.xconf" needs to know what Modules are included in the Publication, whether to allow visitors to access the Module directly, and the inheritance to find the files for the Module that are not overridden by the Publication. "module.xml" describes the Module similar to how "publication.xml" describes a Publication. It should contain: - Human readable name of Module (possibly translated into several languages?) - Default external status - A short description of what it does. - Documentation about how the pipelines are accessed (the public API), and which files are normally overridden. - A version number. - Minimum version of Lenya. - Minimum version of Cocoon. - Filenames of any other documentation: changelog, license, readme. I think all of this should be optional. If a Module does not include a "module.xml", then the ModuleName is the same as the ModuleID (directory name), and the other fields are assumed blank. A blank minimum version assumes any version will work. Example: publication.xconf: <module id="live" external="true"> <parameter name="cache">disabled</parameter> </module> modules/live/module.xml: <lenya:module> <lenya:name>Live</lenya:name> <lenya:external>true</lenya:external> <lenya:module-version>1.0</lenya:pub-version> <lenya:lenya-version>1.4</lenya:lenya-version> <lenya:cocoon-version>2.1.6</lenya:cocoon-version> <lenya:description>Basic visitor access to a Publication</lenya:description> <lenya:help>The Live Module allows access to Documents with navigation and formatting . Override "page2xhtml.xsl" and "page.css" to create a unique look. Pages can be cached on first use with the parameter "cache" set to "enabled".</lenya:help> </lenya:module> solprovider --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
