Re: adding metadata (using metadata access handlers)
Marc Petitmermet <[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
>> Anyways, here's a link: >> http://altepeter.net/tech/sm-access-handlers/ thanks, although i don't understand all of it;-) > BTW, with the Silva-1.3 (and thus Silva.14 too) releases, > SilvaMetadata gained a number of convenience methods for adding and > removing metadata-to-type-mappings (the original API is rather, > uhm, cumbersome, to say the least). and 2 years ald, according to the cvs;-) > If you're interested, have a look at: > SilvaMetadata/MetadataTool.py: now, this is rather interesting. i was wondering all the time what this new feature in silva-1.3 was all about: - Metadata sets can have a 'category' property. This property can be used to define special purpose metadata sets. i wonder if i could use this property to have *domain* specific metadatasets. e.g. in deep virtual host situations with one single silva instance i have the domains www.domain1.com, www.domain2.com, www.domain3.com, etc. maybe i would like to have additional metadatasets which should only be available for specific domains. could i enter e.g. "www.domain1.com, www.domain4.com" in the category and assign the sets somehow to those domains only? the big question is how do i tell silva to use the domain specific metadatasets from the domain root in silva? the easiest way would be to have an index_html in each domain root and define the category there. does this work? regards, marc