[greenstone-users] Title page

From Nametso Kgosiyame
DateThu, 9 Nov 2006 12:59:18 +0200
Subject [greenstone-users] Title page
Goodday

What else could cause title page to display I have done everything in
the tutorials about title page but they are failing to display.


>
>
defaultlevel

pluginGAPlug
pluginHTMLPlug -description_tags
pluginWordPlug -windows_scripting -title_header PaperTitle
-level1_header "SammaryHeader ChapterTitle ReferenceHeading" -convert_to
html -level2_header SectionHeading -toc_header "MsToc1 MsoToc2 MsoToc3
MsoTof"
pluginPDFPlug -convert_to pagedimg_jpg
pluginPDFPlug -use_sections -convert_to html
pluginISISPlug
pluginArcPlug
pluginRecPlug -use_metadata_files
classifyHierarchy -metadata dls.keyword -sort dls.Title
-buttonname how

classifyHierarchy -metadata dc.Title

format HList "[link][highlight][Title][/highlight][/link]"

format DocumentHeading "{Or}{[parent(Top):Title],[Title],untitled}<br>"

format DocumentText "<h3>[Title]</h3>\n\n<p>[Text]"

format DocumentButtons "Detach|Highlight"

format SearchTypes "plain,form"
format documentImages true
format documentContents true
format documentUseHTML true

format SearchVList "<td valign=top>[link][icon][/link]</td><td>{if}
{[parent(All':'):Title],[parent(All':'):Title]:}[link][Title]
[/link]</td>"
format VList "<td valign="top">[link][icon][/link]</td>
<td valign="top">[highlight]
{Or}{[dls.Title],[dc.Title],[ex.Title]}
[/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"

collectionmetacollectionname [l=en] "Botec Reports"
collectionmetacollectionextra [l=en] "Botec publications"
collectionmeta.document:text [l=en] "text"
collectionmeta.document:Title [l=en] "titles"
collectionmeta.document:Source [l=en] "filenames"
collectionmeta.section [l=en] "section"
collectionmeta.dc.Title [l=en] "Title"
collectionmeta.dc.Subject [l=en] "Subject"
collectionmeta.dc.Creator [l=en] "Creator"
collectionmeta.articles [l=en] "articles"
collectionmeta.report [l=en] "report"
collectionmeta.technicalbulletin [l=en] "technicalbulletin"
collectionmeta.articles,report,technicalbulletin [l=en]
"articles,report,technicalbulletin"
$doc_obj-set_utf8_metadata_element($cursection, "gsdlthistype",
"Hierarchy")


********

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

Message: 5
Date: Thu, 9 Nov 2006 12:16:20 +1300 (NZDT)
From: sw64@cs.waikato.ac.nz
Subject: Re: [greenstone-users] automated import of images + metadata
To: "Edward Summers" <ehs@pobox.com>
Cc: greenstone-users@list.scms.waikato.ac.nz
Message-ID:

<55686.130.217.244.2.1163027780.squirrel@webmail.scms.waikato.ac.nz>
Content-Type: text/plain;charset=iso-8859-1

Hello Ed,

Yes, you could write a plugin. Alternatively, you can convert your xml
files (containing DublinCore metadata) to the Greenstone metadata file,
the schema of which is available at
http://www.greenstone.org/dtd/MetadataSet/1.0/MetadataSet.dtd
(use "view -> page source" of Mozilla to view it)

The "demo" collection shipped with Greentone contains metadata sample
files (metadata.xml) which can be found in the "import" directory.
Also, there are several predefined metadata sets in gli/metadata
directory.

Regards
Shaoqun

> I'm a Greenstone newbie and have a set of tif files and associated
> xml files (containing DublinCore metadata) that I would like to
> import into Greenstone. Ingesting the tifs is easy, but associating
> the tifs with their metadata in an automated way is understandably a
> bit more complicated.
>
> I've been reading the Developers Manual (nice work by the way) and
> have read just enough to start to think that I need to write a plugin
> to associate the tifs with their metadata.
>
> Does it sound like I'm moving in the right direction? Does anyone
> have any pointers or advice?
>
> //Ed
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

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

Message: 6
Date: Thu, 9 Nov 2006 13:28:32 +1300 (NZDT)
From: sw64@cs.waikato.ac.nz
Subject: Re: [greenstone-users] displaying documents
To: "Library" <library@botec.bw>
Cc: greenstone-users@list.scms.waikato.ac.nz
Message-ID:

<55710.130.217.244.2.1163032112.squirrel@webmail.scms.waikato.ac.nz>
Content-Type: text/plain;charset=iso-8859-1

Hello,

What kind of titles do you want to block, the titles of parent sections?
You can suppress any unwanted titles by removing their corresponding
entries from the format statements. For example, removing
{if}{[parent(All':'):Title],[parent(All':'):Title]:} from the
SearchVList statement makes the search results only contain the titles
of
the matched sections (without the titles of the parent sections).

If you have other questions about formatting the output of the
collection,
please look at the tutorial exercise
http://greenstone.sourceforge.net/wiki/gsdoc/tutorial/en/formatting_tudo
r.htm
and
http://greenstone.sourceforge.net/wiki/index.php/How_to_format_the_outpu
t of your_collection

Regards
Shaoqun

>
>
> Good day
>
>
> When I display my documents there are so many auto generated titles
how
> can I block them .
> Below is what I have done:
>
>
>
> creatorkgosi@botec.bw
> maintainerkgosi@botec.bw
> publictrue
>
> buildtypemgpp
>
> #indexessection:text section:Title document:text
> indexesdc.Title dc.Creator dc.Subject
> defaultindexdc.Title
>
> levelsdocument section
>
> indexoptionsaccentfold stem casefold
>
> defaultleveldocument
>
> subcollection articles "dc.Subject/article/"
>
> subcollection report "dc.Subject/report/"
>
> subcollection technicalbulletin "dc.Subject/technical bulletin/"
>
> indexsubcollectionsarticles report technicalbulletin
> articles,report,technicalbulletin
>
> classifyAZCompactList -metadata "dc.Title, title"
>
> classifyAZCompactList -metadata dc.Creator -mingroup 1
> -buttonname Author
>
> classifyAZCompactList -metadata dc.Subject -buttonname Subject
>
> defaultlevel
>
> pluginGAPlug
> pluginHTMLPlug -description_tags
> pluginWordPlug -windows_scripting -title_header
PaperTitle
> -level1_header "SammaryHeader ChapterTitle ReferenceHeading"
-convert_to
> html -level2_header SectionHeading -toc_header "MsToc1 MsoToc2 MsoToc3
> MsoTof"
> pluginPDFPlug -convert_to pagedimg_jpg
> pluginPDFPlug -use_sections -convert_to html
> pluginISISPlug
> pluginArcPlug
> pluginRecPlug -use_metadata_files
> classifyHierarchy -metadata dls.keyword -sort dls.Title
> -buttonname how
>
> classifyHierarchy -metadata dc.Title
>
> format HList "[link][highlight][Title][/highlight][/link]"
>
> format DocumentHeading
"{Or}{[parent(Top):Title],[Title],untitled}<br>"
>
> format DocumentText "<h3>[Title]</h3>\n\n<p>[Text]"
>
> format DocumentButtons "Detach|Highlight"
>
> format SearchTypes "plain,form"
> format documentImages true
> format documentContents true
> format documentUseHTML true
>
> format SearchVList "<td valign=top>[link][icon][/link]</td><td>{if}
> {[parent(All':'):Title],[parent(All':'):Title]:}[link][Title]
> [/link]</td>"
> format VList "<td valign="top">[link][icon][/link]</td>
> <td valign="top">[highlight]
> {Or}{[dls.Title],[dc.Title],[ex.Title]}
> [/highlight]{If}{[ex.Source],<br><i>([ex.Source])</i>}</td>"
>
> collectionmetacollectionname [l=en] "Botec Reports"
> collectionmetacollectionextra [l=en] "Botec publications"
> collectionmeta.document:text [l=en] "text"
> collectionmeta.document:Title [l=en] "titles"
> collectionmeta.document:Source [l=en] "filenames"
> collectionmeta.section [l=en] "section"
> collectionmeta.dc.Title [l=en] "Title"
> collectionmeta.dc.Subject [l=en] "Subject"
> collectionmeta.dc.Creator [l=en] "Creator"
> collectionmeta.articles [l=en] "articles"
> collectionmeta.report [l=en] "report"
> collectionmeta.technicalbulletin [l=en] "technicalbulletin"
> collectionmeta.articles,report,technicalbulletin [l=en]
> "articles,report,technicalbulletin"
> $doc_obj-set_utf8_metadata_element($cursection, "gsdlthistype",
> "Hierarchy")
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ********
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

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

Message: 7
Date: Thu, 9 Nov 2006 13:36:21 +1300 (NZDT)
From: sw64@cs.waikato.ac.nz
Subject: Re: [greenstone-users] Problems with gli!
To: "Lic. Albino Petlacalco Ruiz" <petlacalco@utpuebla.edu.mx>
Cc: greenstone-users@list.scms.waikato.ac.nz
Message-ID:

<55713.130.217.244.2.1163032581.squirrel@webmail.scms.waikato.ac.nz>
Content-Type: text/plain;charset=iso-8859-1

Hello,

You could try deleting the config.xml file in HOME/.gli and restart GLI.
Where HOME is your user home.

Hope it helps.

Regards
Shaoqun

> Hello, I'm setting up gsdl on a linux server but I having problems
using
> gli, I hope someone could help me.
>
> I'm using gsdl for unix on a Linux RHEL 3 Server, I have installed
> java (jre) 1.5, everything goes well, but when I create a new
> collection lets say "mycollection" and I try to open it, gsdl show me
> a message saying
>
> "Error"
> path/collect/mycollection.col could not be open
>
> Where path, is the path where gsdl has been install, I checked and the
> file exits, it has permisions,
>
> Another thing is the create panel just shows a blank page it does not
have
> any elements that allows me to publish the collection.
>
> I really apreciate any help, thanks.
>
> Best Regards!!
>
> Yours
> Xpathfinder
>
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>
>

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

Message: 8
Date: Thu, 9 Nov 2006 13:57:22 +1300 (NZDT)
From: sw64@cs.waikato.ac.nz
Subject: Re: [greenstone-users] macro for search link please....
To: "ruben pandolfi" <pandolfi.r@inwind.it>
Cc: greenstone-users@list.scms.waikato.ac.nz
Message-ID:

<55720.130.217.244.2.1163033842.squirrel@webmail.scms.waikato.ac.nz>
Content-Type: text/plain;charset=iso-8859-1

Hello Ruben,

Probally you could try appending &qt=1 to the value of /gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Nametso+Kgosiyame--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q which
normally defined in base.dm. In my case, it is defined as
{/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Nametso+Kgosiyame--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&amp;a=q}.
Make it read
{/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Nametso+Kgosiyame--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&amp;a=q&amp;qt=1}
And put the modified /gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Nametso+Kgosiyame--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q in extra.dm

Sorry, I don't have time to test it, so let me know whether it works.

Regards
Shaoqun
>
> Hi,
>
> In my collection we use /gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Nametso+Kgosiyame--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q and IFL to make internal links,
such
> as:
>
> {If}{[dc.DctermsIsPartOf^a], <tr><td valign=top><b>_Ip_:</b></td><td
> valign=top><a
>
href=\"/gsdlmod?e=d-00000-00---off-0gsarch--00-0----0-10-0---0---0direct-10---4-----dfr--0-1l--11-en-50---20-preferences-Nametso+Kgosiyame--00-0-1-00-0--4----0-0-11-10-0utfZz-8-00&a=q&q=[dc.DctermsIsPartOf^z]&fqf=DI&t=0&qt=0&ifl=1\">[d
c.DctermsIsPartOf^a]</td></tr>}
>
> It is great and it is working OK, though when I return on main search
> page GSDL keeps arguments and I have a simple query form instead
advance
> form query form.
>
> For some reason if a remove &qt=0 from the link string some records
are
> not found, therefore I'm askig you if you can tell me where is the
> search link macro, I will set that to &qt=1 in my extra.dm file.
>
> Of course if there is a better way to do that I will be glad hearing
> from you :-)
>
> thank you as always,
>
> Ruben
>
>
>
> --
>
> ..................
> ..................
>
> Ruben Pandolfi
>
> -------------------------------------------------------------
> "...I Think This is the Beginning of a Beautiful Friendship."
> -------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

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

Message: 9
Date: Thu, 9 Nov 2006 14:14:32 +1300 (NZDT)
From: sw64@cs.waikato.ac.nz
Subject: Re: [greenstone-users] Import perl script hanging whenever I
try to build my collection
To: "Rama Hayeshi" <rhayeshi@mweb.co.zw>
Cc: greenstone-users@list.scms.waikato.ac.nz
Message-ID:

<55725.130.217.244.2.1163034872.squirrel@webmail.scms.waikato.ac.nz>
Content-Type: text/plain;charset=iso-8859-1

Hello,

How did you run the importing: using gli or commmand options?

Did you get any error messages before it happened? In gli, you can
switch
to the expert mode to view those messages (Preferences->mode).

Please send us the output messages if you can replicate it.

Regards
Shaoqun


> Any suggestions?
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.8/380 - Release Date: 6/30/06
>
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>

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

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


End of greenstone-users Digest, Vol 44, Issue 8
***********************************************