Loading and running the program
If you have not already downloaded the program you can get it from Sourceforge
here, both the source code and the runtime is available in Java and C++
versions, you only need to download one of the following depending on which
you choose.
| kontent_386bin_alpha02.zip |
linux binary for 386 platform |
| kontent_runtime_java_alpha02.zip |
java jar |
| kontent_src_cppqt_alpha02.zip |
C++ sourcecode which uses Qt library. |
| kontent_src_java_alpha02.zip |
Java sourcecode |
For java version unzip the kontent_src_java_alpha02.zip file into the \kontent
directory. The program requires Java runtime 1.4 or better to be installed on
your computer, you can get this here.
For linux binary unzip kontent_386bin_alpha02.zip and set execute bit on the
kontent file.
At this stage I suggest its best to use the java version because, although
the C++ version is fully working, it is translated from the java version and
and I have not implemented memory management very well so it is very leaky.
Starting The program
If you are using the the java version you should be able to run the program
by double clicking on kontent.jar but, on my computer, I found that this would
not work because the class path was not set, if you find the same you can click
on run.bat, this sets the class path and then runs the jar.
If you are using the linux binary you will need to set the execute enable bit
on the file.
When you start the program you will get the following screen:

You can then setup the parameters, the easiest way to set the 'base local directory'
is to click the 'browse directories' button which will bring up a file directory
dialogue which allows you to select the directory:

When you click on 'select dir' it may take some time to return as it is building
a model of the file structure in memory.
You can then set the other parameters but typing in the appropriate values:

Once you have setup the parameters you can click on some of the other tabs:
Generating table of contents and index
Before doing this you should have setup the parameters as described above.
To generate a table of contents (TOC) or index select the Table Of Contents'
tab, you will then see the following screen:

You can then click on the 'generate index' button or the 'generate TOC' button
depending on what you want.
- Index is in alphabetical order.
- Table of Contents is ordered according to the tree structure of the files.
You will then see the entries like this:

You can then use the 'save index' button to save to a file. Or you can clear
and generate again.
Generating RSS file
Before doing this you should have setup the parameters as described above.
To generate an RSS file select the Table Of Contents' tab, you will then see
the following screen:

Press the 'generate RSS' button to see the code as follows:

You can then press the 'save RSS' button to save this to a file.
|
metadata block
|
|
|
| see also: |
|
| Correspondence about this page |
|
|
Book Shop - Further reading.
Where I can, I have put links to Amazon for books that are relevant to
the subject, click on the appropriate country flag to get more details
of the book or to buy it from them.
|
Processing XML with Java: A Guide to SAX, DOM, JDOM, JAXP, and TrAX
Other Java books
|
|
Commercial Software Shop
Where I can, I have put links to Amazon for commercial software, not
directly related to this site, but related to the subject being discussed,
click on the appropriate country flag to get more details of the software
or to buy it from them.
|
JBuilder - There is also a free version of Jbuilder at borland
website . However its licence conditions are quite restrictive so you may
prefer another java IDE.
|
|
Can this page be improved?
Please send me any improvements to
here. I would appreciate ideas to make the pages more useful including
error correction, ideas for new pages, improvements to wording. It helps
if you quote the full URL of the page.
|
|
|
progam
I am working on a project which uses these principles, if you would like
to help me with this you are welcome to join in, here:
|
for kontent: http://sourceforge.net/projects/kontent/
|
This site may have errors. Don't use for critical systems.