Andreas Hartmann schrieb:
(...) Maybe it makes sense to generalize DefaultDocument
and Resource re. the external meta data handling, or delegate this code
to another class.

That's a good idea, we currently have the problem that the creation is not generalized. The access is OK (going through the MetaDataManager), but creation is
- in Create.java usecase for documents
- in DefaultResourcesManager.java for assets


whereas it probably should be in DefaultCreator instead ?
That way any new type of creation might be able to share the metadata creation (e.g. NewBlogEntryCreator - does not write metadata as of yet)


I checked in the changes thus far as they are working; some open issues remain:
- should the index page of the default publication be of the resource type "homepage" ? I actually did not understand how the homepage resource type was handled thus far (how is "homepage" distinguished from "xhtml"?)
- should blog entries have meta-data as well ? I suppose yes
- should we attempt to unify all meta-data creation within DefaultCreator ?
- the resource type matching does not yet use the new meta-data



-- Wolfgang

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to