Ignore:
Timestamp:
2022-09-04T21:18:05+12:00 (20 months ago)
Author:
anupama
Message:

Part 2 of 2 commits that will mark all DEC collection strings (GTI module gs3deccolcfgs) as requiring updating for translations on GTI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/wrdpdf-e/resources/collectionConfig.properties

    r36563 r36564  
    1 name=QQQMSWord and PDF demonstration
    2 document_text=QQQdocuments
     1name=MSWord and PDF demonstration
     2document_text=documents
    33
    4 shortDescription=QQQ<p>This collection demonstrates Greenstone\'s ability to build collections from documents provided in different formats. It contains a number of papers written by various members of the NZDL project in PDF, MSWord, RTF, and Postscript formats.</p>
     4shortDescription=<p>This collection demonstrates Greenstone\'s ability to build collections from documents provided in different formats. It contains a number of papers written by various members of the NZDL project in PDF, MSWord, RTF, and Postscript formats.</p>
    55
    6 description1=QQQ<p>The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato. The University of Waikato holds copyright. They may be distributed freely, without any restrictions.</p>
     6description1=<p>The documents in this collection have been produced by members of the Department of Computer Science, University of Waikato. The University of Waikato holds copyright. They may be distributed freely, without any restrictions.</p>
    77
    8 description2=QQQ<h3>How the collection works</h3> <p> This collection\'s configuration file, <tt>collectionConfig.xml</tt>, contains the four plugins <i>WordPlugin</i>, <i>RTFPlugin</i>, <i>PDFPlugin</i> and <i>PostScriptPlugin</i> (along with the standard four, <i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i> and <i>DirectoryPlugin</i>). These four plugins all extract <i>Title</i> and <i>Source</i> (i.e. filename) metadata.</p>
     8description2=<h3>How the collection works</h3> <p> This collection\'s configuration file, <tt>collectionConfig.xml</tt>, contains the four plugins <i>WordPlugin</i>, <i>RTFPlugin</i>, <i>PDFPlugin</i> and <i>PostScriptPlugin</i> (along with the standard four, <i>GreenstoneXMLPlugin</i>, <i>MetadataXMLPlugin</i>, <i>ArchivesInfPlugin</i> and <i>DirectoryPlugin</i>). These four plugins all extract <i>Title</i> and <i>Source</i> (i.e. filename) metadata.</p>
    99
    10 description3=QQQ<p>Greenstone contains third-party software that is used to convert Word, RTF, PDF and PostScript files into HTML. The Greenstone team does not maintain these modules, although we do try to include the latest versions with each Greenstone release. Bugs arise with unusual Word documents (e.g. from older Macintosh systems), and sometimes the text is badly extracted. Some PDF files have no machine-readable text at all, comprising instead a sequence of page <i>images</i> from which text can only be extracted by optical character recognition (OCR), which Greenstone does not attempt. If you encounter these problems, you can either remove the offending documents from your collection, or try using some of the advanced plugin options to process the documents in different ways. For more information, see the Enhanced PDF and Word tutorials on the <a href='http\://wiki.greenstone.org/wiki/index.php/Tutorial_exercises'>Greenstone wiki</a>. Alternatively, a new Greenstone 3 collection will add in a pre-configured <i>UnknownConverterPlugin</i> that will use <i>apache tika</i> by default to process docx files. You can reconfigure it, or add another UnknownConverterPlugin and configure it appropriately, to process other document types, refer to <a href="http\://wiki.greenstone.org/doku.php?id=en\:plugin\:unknownconverterplugin">The UnknownConverterPlugin</a> page on the Greenstone wiki.</p>
     10description3=<p>Greenstone contains third-party software that is used to convert Word, RTF, PDF and PostScript files into HTML. The Greenstone team does not maintain these modules, although we do try to include the latest versions with each Greenstone release. Bugs arise with unusual Word documents (e.g. from older Macintosh systems), and sometimes the text is badly extracted. Some PDF files have no machine-readable text at all, comprising instead a sequence of page <i>images</i> from which text can only be extracted by optical character recognition (OCR), which Greenstone does not attempt. If you encounter these problems, you can either remove the offending documents from your collection, or try using some of the advanced plugin options to process the documents in different ways. For more information, see the Enhanced PDF and Word tutorials on the <a href='http\://wiki.greenstone.org/wiki/index.php/Tutorial_exercises'>Greenstone wiki</a>. Alternatively, a new Greenstone 3 collection will add in a pre-configured <i>UnknownConverterPlugin</i> that will use <i>apache tika</i> by default to process docx files. You can reconfigure it, or add another UnknownConverterPlugin and configure it appropriately, to process other document types, refer to <a href="http\://wiki.greenstone.org/doku.php?id=en\:plugin\:unknownconverterplugin">The UnknownConverterPlugin</a> page on the Greenstone wiki.</p>
    1111
    12 description4=QQQ<p>The collection configuration file, <tt>collectionConfig.xml</tt>, includes a single index, based on document text, and one classifier, an <i>AZList</i> based on <i>Title</i> metadata, shown in <tt>CL1</tt> (the alphabetic selector is suppressed automatically because the collection contains only a few documents). However, no format statement is specified. In the absence of explicit information, Greenstone supplies sensible defaults. In this case, the default format statement for the classifier gives\: \n\
     12description4=<p>The collection configuration file, <tt>collectionConfig.xml</tt>, includes a single index, based on document text, and one classifier, an <i>AZList</i> based on <i>Title</i> metadata, shown in <tt>CL1</tt> (the alphabetic selector is suppressed automatically because the collection contains only a few documents). However, no format statement is specified. In the absence of explicit information, Greenstone supplies sensible defaults. In this case, the default format statement for the classifier gives\: \n\
    1313<ul> \n\
    1414<li>an icon for the HTML version of the document (the text that is actually indexed, essentially the same as the Greenstone Archive format);</li> \n\
     
    1818</p>
    1919
    20 description5=QQQ<p>Here is a format statement that achieves exactly the same effect explicitly. It applies to all <i>Vlists</i>, and so controls both search results list and the alphabetic title browser. \n\
     20description5=<p>Here is a format statement that achieves exactly the same effect explicitly. It applies to all <i>Vlists</i>, and so controls both search results list and the alphabetic title browser. \n\
    2121<pre>\
    2222&lt;format&gt; \n\
    23     &lt;gsf\:template match=QQQ"documentNode"&gt; \n\
    24         &lt;gsf\:format-gs2&gt;&lt;![CDATA[&lt;td valign=QQQ"top"&gt;[link][icon][/link]&lt;/td&gt; \n\
    25 &lt;td valign=QQQ"top"&gt;[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]&lt;/td&gt; \n\
    26 &lt;td valign=QQQ"top"&gt;[highlight] {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} [/highlight]{If}{[ex.Source],&lt;br&gt;&lt;i&gt;([ex.Source])&lt;/i&gt;}&lt;/td&gt;]]&gt;&lt;/gsf\:format-gs2&gt; \n\
    27         &lt;td valign=QQQ"top"&gt; \n\
    28             &lt;gsf\:link type=QQQ"document"&gt; \n\
    29                 &lt;gsf\:icon type=QQQ"document"/&gt; \n\
     23    &lt;gsf\:template match="documentNode"&gt; \n\
     24        &lt;gsf\:format-gs2&gt;&lt;![CDATA[&lt;td valign="top"&gt;[link][icon][/link]&lt;/td&gt; \n\
     25&lt;td valign="top"&gt;[ex.srclink]{Or}{[ex.thumbicon],[ex.srcicon]}[ex./srclink]&lt;/td&gt; \n\
     26&lt;td valign="top"&gt;[highlight] {Or}{[dc.Title],[exp.Title],[ex.Title],Untitled} [/highlight]{If}{[ex.Source],&lt;br&gt;&lt;i&gt;([ex.Source])&lt;/i&gt;}&lt;/td&gt;]]&gt;&lt;/gsf\:format-gs2&gt; \n\
     27        &lt;td valign="top"&gt; \n\
     28            &lt;gsf\:link type="document"&gt; \n\
     29                &lt;gsf\:icon type="document"/&gt; \n\
    3030            &lt;/gsf\:link&gt; \n\
    3131        &lt;/td&gt; \n\
    32         &lt;td valign=QQQ"top"&gt; \n\
    33             &lt;gsf\:link type=QQQ"source"&gt; \n\
     32        &lt;td valign="top"&gt; \n\
     33            &lt;gsf\:link type="source"&gt; \n\
    3434                &lt;gsf\:choose-metadata&gt; \n\
    35                     &lt;gsf\:metadata name=QQQ"thumbicon"/&gt; \n\
    36                     &lt;gsf\:metadata name=QQQ"srcicon"/&gt; \n\
     35                    &lt;gsf\:metadata name="thumbicon"/&gt; \n\
     36                    &lt;gsf\:metadata name="srcicon"/&gt; \n\
    3737                &lt;/gsf\:choose-metadata&gt; \n\
    3838            &lt;/gsf\:link&gt; \n\
    3939        &lt;/td&gt; \n\
    40         &lt;td valign=QQQ"top"&gt; \n\
    41             &lt;span class=QQQ"highlight"&gt; \n\
    42                 &lt;gsf\:choose-metadata&gt;&lt;gsf\:metadata name=QQQ"dc.Title"/&gt;&lt;gsf\:metadata name="exp.Title"/&gt;&lt;gsf\:metadata name="Title"/&gt;Untitled&lt;/gsf\:choose-metadata&gt; \n\
     40        &lt;td valign="top"&gt; \n\
     41            &lt;span class="highlight"&gt; \n\
     42                &lt;gsf\:choose-metadata&gt;&lt;gsf\:metadata name="dc.Title"/&gt;&lt;gsf\:metadata name="exp.Title"/&gt;&lt;gsf\:metadata name="Title"/&gt;Untitled&lt;/gsf\:choose-metadata&gt; \n\
    4343            &lt;/span&gt; \n\
    4444            &lt;gsf\:switch&gt; \n\
    45                 &lt;gsf\:metadata name=QQQ"Source"/&gt; \n\
    46                 &lt;gsf\:when test=QQQ"exists"&gt; \n\
     45                &lt;gsf\:metadata name="Source"/&gt; \n\
     46                &lt;gsf\:when test="exists"&gt; \n\
    4747                    &lt;br/&gt; \n\
    48                     &lt;i&gt;(&lt;gsf\:metadata name=QQQ"Source"/&gt;)&lt;/i&gt; \n\
     48                    &lt;i&gt;(&lt;gsf\:metadata name="Source"/&gt;)&lt;/i&gt; \n\
    4949                &lt;/gsf\:when&gt; \n\
    5050            &lt;/gsf\:switch&gt; \n\
Note: See TracChangeset for help on using the changeset viewer.