I was wondering why and when I should use taxonomy vocabularies for books - because I know I can create vocabularies made of book pages.

If I'm not mistaken the book module has a built-in facility for building hierarchies which is called "parents". This seems to eliminate the need for taxonomy vocabularies.

I can simply assign as many so called "parents" for my books as I see fit. Those parents will become sections, I can add pages to the parents thus creating books, and I can add pages to books, which will create chapters, and then I can add more pages to chapters, thus creating pages. I can do that without assigning a taxonomy vocabulary to any of them. All I need is to use the "parents".

What am I missing?

Alexei

Comments

Robert Castelo’s picture

Taxonomy allows you to build a structure before adding pages.

Can anyone explain other advantages?

For a long explanation take a look at:
http://drupal.org/book/view/299

------------------------------------------
Drupal Specialists: Consulting, Development & Training

Robert Castelo, CTO
Code Positive
London, United Kingdom
----

mort-1’s picture

Alexei,

to summarize my thoughts on the subject:

a book outline definetly looks like a taxonomy (vocabulary/book, parent page /term, child page/node) but a very limited one, and just addecuate to very specific node collections.

Taxonomy.module gives you much more power: multiple parents per node, multiple vocabularies per node, etc..

Use books for nodes that have some kind of implicit 'narrative' coherence and taxonomies for providing some kind of order where there's none

Admin@lingvoman.vinidiktov.ru’s picture

If I got you right I don't have to use vocabularies with books as books have their own tool for structuring content, and I should use vocabularies with other node types if I want to provide some king of order.

I thought the same. Thanks for clearing my doubts. :)

Alexei

Gunnar Langemark@www.langemark.com’s picture

The taxonomy system is so much more than simple hierarchies.

Just take a look at my site: http://www.langemark.com/node/view/286

You can create nodes that have several categories independently - which mean you can build "faceted" metadata. Some of my content is categorized in more than just subjects - some have more than one subject. Some even have a "feeling" category. So if you go to this url: http://www.langemark.com/taxonomy/page/or/119 - you will find everything that I have been laughing about, and if you go to this url: http://www.langemark.com/taxonomy/page/and/119,2 - you will find the things about politics that I have been laughing about.
Furthermore - My menu ONLY shows the subjects - like politics, drupal etc. Because I have made a taxonomy about my emotional habitus, I do not have to have this in the menu. But I could create a menu - only going to my "emotional" posts. And I wouldn't even have to do much work.
I think that is cool!
How about you?

Cheers,
Gunnar
Dropping in from Langemarks Cafe.

Admin@lingvoman.vinidiktov.ru’s picture

I also think that the taxonomy system is a great thing. I haven't seen anything like it in the many other CMSs that I have tried. That's why I love Drupal. :)

The power that taxonomy brings to Drupal is somewhat overwhelming to me. I do understand the basic concepts, but sometimes I don't know how to apply them practically.

For example, I don't know if the taxonomy system provides a way to build collections of items of different nature.

I have a site about foreign languages. I have created separate vocabularies for separate node types, such as forums, books, articles, etc. Each of them has language names as terms and the language name terms are further broken into subcategories, but I want to make all sorts of content concerning a langugage to be found in a single place: a visitor clicks the name of the language and s/he sees all the information that s/he may be interested in: forums, files to download, news articles, books, weblogs...

If I can't do that with the taxonomy system, how else could I do that? Use a search link in the menu for each language?