Book-Node Tree Viewing

The initial stage of developing software tools to assist in visualizing a users assortment of content nodes will be text-based. That is, the visualization representation of each node will be a URL represented as standard HTML on a web page.

The text tree viewer functionality will provide options for users to view lists of their content based on different selection criteria.

The first stage of this project will involve displaying drupal-book content as a hierarchically organized list on a page. This coding project will start with an existing drupal module called 'booktree'. The current booktree module shows all drupal-book content types on a single page as a hierarchical list, but the module has some technical problems that will need to be addressed (see TASKs in sidebar).


Comments

book tree

Sometime (while your doing it and have it at hand) can you post here an example of "drupal-book content types" (is that our hierarchy of "project pages"?), and a link that demostrates "the current booktree module shows all drupal-book content types on a single page as a hierarchical list".

book stuff

I subscribe to a drupal development mailing list and one of the topics that came up was the cryptic nature of drupal books. They were looking for a new name for it...

Technically, books are made of...book pages...BUT, through that tab function you used to incorporate a blog into a book, I believe any kind of content can be incorporated into a book hierarchy. For example here's an image that could be made into a book page. The booktree displays all book pages as one monolithic blob -I will clarify the description. [editorial side note: this leads me to a larger issue/question i have with drupal: WHY do you (they; us) need all these separate node 'types' why not just have a generic node that can have anything in it rather than specify different nodes for different classes of content images video etc. I may try to address this with RIA form entry project by giving the user just a generic form that can create any kind of node.]

Here's the current implementation of booktree:

http://enzymind.com/drupal/booktree

The booktree module can be basically thought of as a php-filtering script which then spits out structured html. BUT HERE's the rub. It does not work in firefox...

Works OK in IE7 (I have not tried IE6 but should be fine). Try it in both to see what I mean.

I don't know why. I emailed the author of the 'booktree' module to get his thoughts on the matter. He's Italian. This is what he said:

Hi Peter,
This module was developed in firefox in the past i have some problem
with IE but IT is stange!!
I have many patch to commit but the time in this period is not enought.
The module in which Theme have problem? You Have a patch??
Thanks for your feedback.
Uccio

Not sure what he means. I chose this booktree module as a starting point because it seems to be the only existing method to show text as a hierarchy like this.

Its really crude in terms of how it represents books, but also relatively simple to understand the module code .

The two glaring issues I want to start with are 1.) make it work with firefox. 2.) its got some kind of repetition problem that makes it put duplicate copies of some of the book content at the top of the tree, I just want one representation of all book content on one page. real real simple baby-steps coding (debugging) project.

The first feature I want to ad is to be able to select the display of individual books using some kind of of menu pull-down then I want to have all the text for each book page be able to toggle open or closed (via javascript probably) so that ALL of the (book) content on the site can be perused in one fell swoop relatively quickly.



links

/drupal

The insert link widget 'sometimes' drops the '/drupal' from the path when I paste in a full enzymind path in. I need to get rid of that /drupal but I have yet to figure out how to do it right.

I fixed links in orignial post. Thanks.  

Post new comment

Security question, designed to stop automated spam bots