[Yanel-dev] Metadata Interface for resources
Michael Wechner
michael.wechner at wyona.com
Fri Oct 23 19:47:00 CEST 2009
Hi
I recently had a discussion that we should have a generic interface for
tagging resources, for example saying this resource instance is
about "shoes and clothes", such that search engines and other data
analyzers will have it simpler, but also such that if a
resource is Versionable, one can have different tags for each version, etc.
We already have a bugzilla entry
http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=7170
but AFAIK we have never really discussed how such an interface should
look like, for example
MyResource implements MetadatableV1
MetadatableV1#setTags(String keywords)
MetadatableV1#getTags()
but also something to allow arbitrary extensions without having to
create new versions of this interface, e.g.
MetadatablV1#setMetadata(String key, String value)
MetadatableV1#getMetadata(String key)
but also maybe use DublinCore.
WDYT?
Thanks
Michael
More information about the Yanel-development
mailing list