Index: openacs-4/packages/acs-content-repository/www/doc/guide/keywords.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-content-repository/www/doc/guide/keywords.html,v diff -u -r1.1.1.1 -r1.1.1.1.4.1 --- openacs-4/packages/acs-content-repository/www/doc/guide/keywords.html 13 Mar 2001 22:59:26 -0000 1.1.1.1 +++ openacs-4/packages/acs-content-repository/www/doc/guide/keywords.html 5 Mar 2003 14:50:35 -0000 1.1.1.1.4.1 @@ -30,22 +30,14 @@

The content_keyword object type is used to represent Subject Keywords (see content_keyword.sql) The -content_keyword type inherits from content_item; -thus, Subject Keywords are themselves content items and may use any of -the attributes of the content_item type, such as -name or locale: +content_keyword type inherits from acs_object:

- acs_object_type.create_type (
-   supertype     => 'acs_object',
-   object_type   => 'content_keyword',
-   pretty_name   => 'Content Keyword',
-   pretty_plural => 'Content Keywords',
-   table_name    => 'cr_keywords',
-   id_column     => 'keyword_id',
-   name_method   => 'acs_object.default_name'
- );
-
+ acs_object_type.create_type ( supertype => 'acs_object', object_type + => 'content_keyword', pretty_name => 'Content Keyword', + pretty_plural => 'Content Keywords', table_name => 'cr_keywords', + id_column => 'keyword_id', name_method => 'acs_object.default_name' + ); In addition, the cr_keywords table (see content-create.sql) contains extended attributes of Subject Keywords: @@ -188,4 +180,4 @@ - \ No newline at end of file +