[TYPO3-ect] Taxonomies / categories II
Mads Brunn
mads at typoconsult.dk
Wed Oct 17 16:49:12 CEST 2007
Hi Jochen
Jochen Rau wrote:
> The most obvious thing is to parse the content of a site
Yes, I was thinking the same.
and link the
> title (and its synonyms) of a category to a list of categories with
> their descriptions.
Linking a category to a list of categories... uhm.. not sure I understand...
>
> 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
> 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.
Uh...You are talking about categories and terms as two different things.
Why? Aren't they the same?
> If the content Elements should not be auto-assigned, it can be useful to
> guess the best categories to be selected by the editor.
I'm trying to grasp this... how should the autotagging be done? When the
page get's displayed in the frontend (using a hook in the TSFE) or when
a content element is created or updated (hook in tcemain)? Or perhaps by
using a cron-job?
I'd also prefer if this could be implemented on a more general level -
so that it will be possible to autotag records from arbitrary tables and
define special rules and relations between them and other tables as in
the case with pages->tt_content. This would make sense for tt_news and
probably also other tables.
I'm thinking of something like this :
$TCA[tablename][ctrl][EXT][contagged]=array(
allowAutoTagging => 1,
searchFields => title,description,keywords,blablabla,
parentTables => tx_mytable,
);
(is this too esoteric?)
> 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.
Again, I'm not sure I understand the difference between terms and
categories.
> tx_categories can also be used to get a hierarchical list of terms
> defined by tx_contagged.
Yep, so far only in the backend (using the Categories->List module) but
I'm working on an API for FE-plugin developers.
> Furthermore it should be possible to generate a new kind of navigation
> like "semantic menue".
>
My vision is a site with just one page and many categories. The first
steps has been taken in EXT:categories/lib/class.tx_categories_menu.php
./mads
More information about the TYPO3-team-extension-coordination
mailing list