Re: getMetadataValue optionally acquires?

Andy Altepeter <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Organization Bethel University
Message-ID <[email protected]>
Hey Nico,

Thanks for the suggestion.  I didn't know that acquisition could be disabled 
for a metadata element.  

I suppose this is the practice recommended by Infrae.  I do think the api 
should be updated with my patch; it is very simple and harmless after all.  
We are using content-description, and would like to leverage it's use in both 
the html <head> as well as this specific use case in the gallery.  We can set 
a description for a site and have it appear in every document's <head> within 
the site.  Sounds like I have to disable this feature (acquisition) in order 
to get the functionality in the gallery that I want.  Or just use a custom 
metadata set on images.

Cheers,
Andy
 
> Hi Andy,
>
> I had the same problem here a couple of weeks ago.
> Assuming both your image's and gallery container's descriptions use the
> metadata element "content_description" defined in metadata set
> "silva-extra":
>
>    You must disable the acquisition for the metadata element
>    "content_description" that is used by your container.
>    In ZMI, go to:
>     /service_metadata/collection/silva-extra/content_description
>    Set "Enable Acquisition" to "No".
>
> If you don't use content_description metadata of silva-extra but an own
> set, you just need to do the same for your own metadata element.
>
> Regards,
>    Nico
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.