Book2Tree - Bookmarks to Tree Converter for Matlab
Version 1.0 | 27 February, 2000
(for full version of Book2Tree, that includes both Matlab and .exe files, please go to main Book2Tree page)
Book2Tree (further abbreviated as B23) converts Netscape Bookmarks file to the
when you go to Netscape's Bookmarks - Edit Bookmarks…). Then this script can be
used in a Web page to produce very nice, multi-level dynamic BookmarkTree. The
works with Netscape Navigator or Internet Explorer.
B23 can be very useful for those who have large bookmark
database and want to display it on the Web, to reach it from anywhere and/or
share with others.
B23 generates the file "bookmarktree.js", which should be
infrastructure code for the tree (ftiens4.js) was slightly modified by me to
incorporate "non-http" URLs (like ftp, gopher, or local file).
Please, see the
of BookmarkTree. When you
click a bookmark for the first time, it will be opened in a new window, and all
subsequent bookmarks will use the same window.
Netscape Bookmarks file
(usually bookmark.htm, located in Your Profile folder - …\Program
If you use IE you can easily convert Your Favorites using one of the
NN-IE bookmark converters
(downloaded from this page
2. Open it (it will create default
Book2TreeMatlab folder should contain:
- mfile for book2tree Matlab help (type "help book2tree in Matlab Command
- Matlab mex file
- Style sheet, can be used to change the BookmarkTree look
- running example of the BookmarkTree
- original Netscape bookmark file, used in BookmarkTreeExample.html
files - icons for the tree
Instructions and Help
- Instructions and help for running and installing Book2Tree - this file :)
- Original instructions for FolderTree v.2.0 by Marcelino Martins
In Matlab command window, change to Your Book2TreeMatlab folder
book2tree('bookmark.htm' , 'YourName')
Be sure not to forget quotes.
(You should copy your bookmark file to Book2Tree folder, or use full path name)
You shall see following messages:
Book2Tree version 1.0 converter
by Igor Kagan, firstname.lastname@example.org
Processing bookmarks, please wait...
File "bookmarktree.js" was generated successfully
582 bookmark(s) in 61 folder(s) were added
Please, follow Book2Tree installation instructions in Book2Tree.html
to display Your BookmarkTree.
If Your bookmarks file is large, please, be patient and wait while browser
reads it -once it loaded, it works very fast. If you have really large
bookmarks database, IE may display message saying:
"The script on this page is causing Internet Explorer to run slowly. If it
continues to run, your computer may become unresponsive. Do you want to abort
The message is issued because the Tree is fully expanded at the start up. Press
"No", the Tree will collapse and continue to run normally after short delay.
In principle, You do not have to edit anything – You can use file
BookmarkTreeExample.html in Your Web Site as it is.
However, You may wish to change its name, or appearance. Here are some possible
1) Change the name of BookmarkTreeExample.html
2) Change the name of "bookmarktree.js" (for example you may want to create
different versions of Your bookmarks). In this case, be sure you changed name
of the script on BookTreeExample.html (or corresponding file):
...Execution of the code that actually builds the specific tree ...
3) Customize BookmarkTreeExample.html
4) Change icon images (ftv2*.gif) to customize the look of the tree
Copyright © 2000, Igor Kagan. |
Book2Tree Article (in Russian)
This page was visited