Re: [greenstone-users] displaying documents

From sw64@cs.waikato.ac.nz
DateThu, 9 Nov 2006 13:28:32 +1300 (NZDT)
Subject Re: [greenstone-users] displaying documents
In-Reply-To (3A5A98EC7A9B274E99912BBCAF81844C01CD094F-botecmail-botec-bw)
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_tudor.htm
and
http://greenstone.sourceforge.net/wiki/index.php/How_to_format_the_output_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
>