[Zope-CMF] Nested Metadata

Kevin Carlson khcarlso@bellsouth.net
Tue, 27 Aug 2002 19:29:32 -0400


I did this using main categories as the Zope metadata and then using an RDB
to store sub-categories and the sub-category metadata elements.

-----Original Message-----
From: zope-cmf-admin@zope.org [mailto:zope-cmf-admin@zope.org]On Behalf
Of Joachim Werner
Sent: Tuesday, August 27, 2002 2:24 PM
To: Ronald L Roeber
Cc: zope-cmf@zope.org
Subject: Re: [Zope-CMF] Nested Metadata


This might not be the ultimate solution, but you could store the metadata as
URL-type strings (e.g. Community/Tourism/Africa). So you don't have to
change everything, as URLs are just plain strings that can be stored in a
string field. To select the values, one could use a tree-type selector form
...

Joachim

----- Original Message -----
From: "Ronald L Roeber" <rroeber1@unl.edu>
To: <zope-cmf@zope.org>
Sent: Tuesday, August 27, 2002 7:49 PM
Subject: [Zope-CMF] Nested Metadata


> What would be the standard way to provide nested subjects through
> portal_metadata?
>
> For instance, there would be main category for subjects and these would
> have several sub-categories.For example:
> 'Community'
>         'Tourism'
>         'Government'
>         . . .
> 'Family'
>         'Childcare'
>         'Education'
>         . . .
>
> I'd like to force them to choose from both a major category and a
> sub-category. Could anyone point me to some resources or examples that I
> could follow?
>
> Thanks in advance.
>
> --------------------------------------------------------------------
> Ronald L. Roeber
> CIT-IANR
> University of Nebraska
> Lincoln, NE 68583  Phone: (402) 472-5630
> email: rroeber1@unl.edu
>


_______________________________________________
Zope-CMF maillist  -  Zope-CMF@zope.org
http://lists.zope.org/mailman/listinfo/zope-cmf

See http://collector.zope.org/CMF for bug reports and feature requests