Re: [greenstone-users] How to build hierachical classification file

From cyberarian
DateTue, 13 Mar 2007 16:15:39 +0500
Subject Re: [greenstone-users] How to build hierachical classification file
In-Reply-To (feaeb5a0703130342n2f228e48l84355545409d7624-mail-gmail-com)
There are two meanings of your question:
1-If you want to make hierarchy of your documents (HTML) format, you have to convert them into sections by applying XML tags like
<!--
<section>
</section>
-->etc
2- If you want to make the hierarchy of documents in vlists like:

Magazines>>Time Magazines>>2007>>March 2007
and after the last node, you will see the list of articles in March 2007 Issue of Time Magazines

for this purpose you can use hfile like:

"Harvard Business Review"                    1    "Harvard Business Review"
"Harvard Business Review|March 2007"                1.1    "March 2007"
"Harvard Business Review|February 2007"                1.2    "February 2007"
"Harvard Business Review|January 2007"                1.3    "January 2007"
"Harvard Business Review|December 2006"                1.4    "December 2006"
"Harvard Business Review|November 2006"                1.5    "November 2006"
"Harvard Business Review|October 2006"                1.6    "October 2006"

This hierarchy is made by giving the values of metadata separated by pipe (|) sign.

Regards,

Cyberarian
On 3/13/07, Richard Asiimwe < rasiim@gmail.com> wrote:
Hi Cyberarian,
The kind of hierachy i'd like to build is just like the one in the demo collection.
Level 1: Book title
Level 2: TOC <maps to different sections of the book>
Level 3: The actual text of the book.
 
Some of the books were originally in PDF and were converted into HTML.
 
Creating the file "by hand" means writing out the structure as it's meant to be. I was looking at the sub.txt file that's mentioned in the develper documentation.
 
Hope this is clearer.

 
On 3/13/07, cyberarian <cyberarian@gmail.com > wrote:
Dear Asiimwe

Can you explain your question? What do you mean by "by hand"?  And what sort of hierarchy you want to build in your application?

Cyberarian

On 3/13/07, Richard Asiimwe < rasiim@gmail.com> wrote:
Hello,
I'm hoping that some one can enlighten me as to whether there's a way to use greenstone to generate the hierachy classification file.
The only way i know of is building it by hand.
I'm using version 2.72
Thank you.

--
Richard Asiimwe.
Future Link Technologies
Mob: +256 78 2 486 198
        +256 75 2 486 198
Office: +256 41 531 274
url: http://www.fl-t.com
Life is not a rehearsal...

_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users





--
Richard Asiimwe.
Future Link Technologies
Mob: +256 78 2 486 198
        +256 75 2 486 198
Office: +256 41 531 274
url: http://www.fl-t.com
Life is not a rehearsal...