[greenstone-users] Collection building in Version 2.7 and 2.7w with HTML plug in

From K.T Anuradha
DateThu, 8 Jun 2006 13:54:45 +0530 (IST)
Subject [greenstone-users] Collection building in Version 2.7 and 2.7w with HTML plug in
Hello,

I have built a collection using GSDL version 2.6 using HTML pulg in on
Windows 2000. The same collection when built using GSDL version 2.7 and
2.7w gives problem in field based searching. The build.cfg file on both
the versions are different. Could you kindly suggest the changes to be
made in version 2.7w?

Following are the details of (1) input file in the import directory in
HTML format (2) Configuration file (3)build.cfg in version 2.6 (4)
build.cfg in version 2.7w

1) Input File:

<html>
<head>
<meta name="Title" content= "A.A.V.S.O. ALERT NOTICE">
<meta name="Place" content= "USA">
<meta name="Library" content= "IIAP">
<meta name="Subject" content= "PHYSICS">

<title> A.A.V.S.O. ALERT NOTICE</title></head>
<body>
<b>Journal Title:</b> A.A.V.S.O. ALERT NOTICE<br>
<b>Place of Publication: </b>USA <br>
<b>Library Code: </b> IISC <br>
<b>Subject: </b>PHYSICS <br>
</body></html>

2) Collect.cfg file:
--------------------
creator " mailto:xxx@yahoo.com xxx@yahoo.com"
maintainer " mailto:xxx@yahoo.com xxx@yahoo.com"
public "true"
buildtype "mgpp"
indexes "Title,Subject,Place,Library,text"
plugin "ZIPPlug"
plugin "GAPlug"
plugin "TEXTPlug"
plugin "HTMLPlug" "-metadata_fields" "Title,Subject,Place,Library" "-input_encoding" "iso_8859_1"
plugin "ArcPlug"
plugin "RecPlug"

classify "AZCompactList" "-metadata" "Title" -buttonname "Title"
classify "AZCompactList" "-metadata" "Subject" -buttonname "Subject"
classify "AZCompactList" "-metadata" "Place" -buttonname "Place"
classify "AZCompactList" "-metadata" "Library" -buttonname "Library"

collectionmeta "collectionname" "journal"
collectionmeta iconcollection "/gsdl/collect/journals/images/intnet.jpg"
collectionmeta collectionextra "This is a demo of ...<p> <p> "

collectionmeta .Title,Subject,Place,Library,text "documents"

format CL1VList "<td valign=top>[link][icon][/link]</td><td
valign=top>{If}{[numleafdocs], [Title], [Creator].<i>[Title]}</td>"
format CL2VList "<td valign=top>[link][icon][/link]</td><td
valign=top>{If}{[numleafdocs], [Title], [Title].<i>[Title]}</td>"
..

build.cfg file in version 2.6
--------------

builddate1149665980
buildtypemgpp
indexfieldmapTitle->TISubject->SUPlace->PL
Library->LIISSN->IStext->TX
indexfieldsTitleSubjectPlaceLibraryISSNtext
indexlevelsDoc
indexmapTitle,Subject,Place,Library,ISSN,text->idx
numbytes177
numdocs1
textlevelDoc

build.cfg file in version 2.7w
-----------------------------
builddate1149752445
buildtypemgpp
indexfieldmapTitle,Subject,Place,Library,ISSN,text->TT
indexfieldsTitle,Subject,Place,Library,ISSN,text
indexlevelsDoc
indexmapTitle,Subject,Place,Library,ISSNtext->idx
indexstemucat7wc
levelmapdocument->Doc
maxnumeric4
numbytes177
numdocs1
numsections1
textlevelDoc

----------------------------------------------------------------

Thanks,
Anuradha