[TYPO3-ect] Taxonomies / categories II

Jochen Rau j.rau at web.de
Wed Oct 17 15:51:25 CEST 2007


Hi!

> Welcome to a new thread about taxonomies and categories in TYPO3. I'm 
> looking forward to see a lot of comments and suggestions from the team 
> of beta testers. Please share your thoughts and ideas on the topic.
So let's go! ;-)

As Patrick Gaumond suggested, I post this text once more.

It will be great to combine the idea of taxonomies and categories with 
the idea of tagging and linking terms. There are several scenarios 
tx_categories and tx_contagged (see 
http://wiki.typo3.org/index.php/Contagged ) may work together.

I. Tagging and linking category titles appearing in the content
------------------------------------------------------------------------

The most obvious thing is to parse the content of a site and link the 
title (and its synonyms) of a category to a list of categories with 
their descriptions.

I have already mapped the fields of the table "tx_categories" to the 
fields of "tx_contagged" and it works fine. The patched version 
(v0.0.15) of tx_contagged will be available in the TER within the next days.


II. Auto-categorization of pages and/or Content Elements
------------------------------------------------------------------------

I'm currently working on that issue.

It should be possible to assign categories on four levels:
(Site->)Page->Content Element->Term

The categories of the child layer can be inherited to the parent layer. 
This could be done by a simple (or more complex) algorithm. An example: 
Lets assume you have a Content Element TEXT: "The quick brown fox jumps 
over the lazy collie."

And lets assume you have some Categories:
->Animal
   ->Cat
   ->Dog
   ->Other (Animal)
->Colour
   ->Red
   ->Green
   ->Blue
   ->Brown

A page is auto-assigned to the category "Animal" if all the Content 
Elements on the page are assingned to a sub-category of "Animal". And 
the Content Element is auto-assigned to the sub-category "Dog" if there 
is at least one Term that is (manually) assigned to the category "Dog", 
and that is "collie". But how to assign a category to a term? At this 
point tx_contagged can be a glue between categories and tagging:

The term can be defined via tx_contagged and assigned to a category. 
Every time a term is found on a page the current cObj is assigned to its 
categories.

If the content Elements should not be auto-assigned, it can be useful to 
guess the best categories to be selected by the editor.


III. Enriched Glossary and enriched links
------------------------------------------------------------------------

As the glossary terms defined by tx_contagged can be assigned to a 
category, it's possible to list dependencies to other glossary terms 
(with the same parent category or related category). This can also be 
done within a tool-tip carring links to other pages.

tx_categories can also be used to get a hierarchical list of terms 
defined by tx_contagged.

Furthermore it should be possible to generate a new kind of navigation 
like "semantic menue".


That's for now. More ideas to come ;-)

Greetings
Jochen


More information about the TYPO3-team-extension-coordination mailing list