source: documented-example-collections/trunk/bibliog1/etc/collect.bak@ 18738

Last change on this file since 18738 was 18738, checked in by oranfry, 15 years ago

the rest of the documented example collections

  • Property svn:executable set to *
File size: 7.8 KB
Line 
1creator [email protected]
2maintainer [email protected]
3public true
4
5groupsize 200
6supercollection bibliog1 bibliogr
7buildtype mgpp
8
9format SearchTypes "form, plain"
10
11indexes text metadata
12
13plugin ZIPPlug
14plugin GAPlug
15plugin MetadataXMLPlug
16plugin BibTexPlug
17plugin ArcPlug
18plugin RecPlug
19
20classify AZList -metadata Title
21classify AZCompactList -metadata Author -buttonname Creator
22classify DateList
23
24format VList "<td valign=top>[link][icon][/link]</td>
25<td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i>
26{If}{[Year], - [Month] [Year]}</td>"
27format CL2VList "<td valign=top>[link][icon][/link]</td>
28<td valign=top>{If}{[numleafdocs],<b>[Title]</b>,
29<b>[Author]</b> ([Creator]) -- <i>[Title]</i>}
30{If}{[Year], - [Month] [Year]}</td>"
31format DateList "<td valign=top>[link][icon][/link]</td>
32<td valign=top><b>[Title]</b> - <i>{Or}{[Creator],[Editor]}</i></td>"
33
34format DocumentHeading "<H1>[Title]</H1><hr><table>
35{If}{[Creator],<tr><td><b>_AuthoredBy_:</b></td><td>[Creator]</td></tr>}
36{If}{[Title],<tr><td><b>_PaperTitle_:</b></td><td>[Title]</td></tr>}
37{If}{[Editor],<tr><td><b>_Editors_:</b></td><td>[Editor]</td></tr>}
38{If}{[EditorRole],<tr><td><b>_EditorRole_:</b></td><td>[EditorRole]</td></tr>}
39{If}{[Booktitle],<tr><td><b>_BookJournalTitle_:</b></td><td>[Booktitle]</td></tr>}
40{If}{[Journal],<tr><td><b>_In_:</b></td><td>[Journal]</td></tr>}
41{If}{\"[Volume][Number]\",<tr><td colspan=\'2\'>}
42{If}{[Number], <b>_Number_</b> [Number] }
43{If}{[Volume], <b>_Vol_</b> [Volume]}
44{If}{\"[Volume][Number]\",</td></tr>}
45{If}{[MeetingDate],<tr><td><b>_MeetingDate_:</b></td><td>[MeetingDate]</td></tr>}
46{If}{[MeetingPlace],<tr><td><b>_MeetingPlace_:</b></td><td>[MeetingPlace]</td></tr>}
47{If}{[PublicationPlace],<tr><td><b>_PublicationPlace_:</b></td><td>[PublicationPlace] </td></tr>}
48{If}{[Publisher],<tr><td><b>_Publisher_:</b></td><td>[Publisher]</td></tr>}
49{If}{[Year],<tr><td><b>_PublicationDate_:</b></td><td>[Month] [Year]</td></tr>}
50{If}{[Pages],<tr><td><b>_Pages_:</b></td><td>[Pages]</td></tr>}
51{If}{[DocType],<tr><td><b>_DocType_:</b></td><td>[DocType]</td></tr>}
52{If}{[Location],<tr><td><b>_LocationURL_:</b></td><td>[Location]</td></tr>}
53{If}{[Notes],<tr><td><b>_Annotations_:</b></td><td>[Notes]</td></tr>}
54{If}{[Abstract],<tr><td><b>_Abstract_:</b></td><td>[Abstract]</td></tr>}
55{If}{[Keywords],<tr><td><b>_Keywords_:</b></td><td>[Keywords]</td></tr>}
56</table><hr>"
57
58format DocumentText "{If}{_cgiargshowrecord_,
59<b>_BibTeXrecord_:</b><br/><tt>[Text]</tt><br><center>
60<a href=\'_gwcgi_?e=_cgiarge_&a=d&d=_cgiargd_\'>_HideBibTeXrecord_</a></center>,
61<center><a href=\'_gwcgi_?e=_cgiarge_&a=d&d=_cgiargd_&showrecord=1\'>
62_ShowBibTeXrecord_</a></center>} "
63
64format DocumentButtons ""
65format DocumentContents false
66
67format HList "[link][highlight][ex.Title][/highlight][/link]"
68
69# -- English strings ----------------
70collectionmeta collectionname [l=en] "Bibliography supplement"
71
72collectionmeta .text [l=en] "full records"
73
74collectionmeta AuthoredBy [l=en] "Authored By"
75collectionmeta PaperTitle [l=en] "Paper Title"
76collectionmeta Editors [l=en] "Editor(s)"
77collectionmeta EditorRole [l=en] "Editor Role"
78collectionmeta BookJournalTitle [l=en] "Book/Journal Title"
79collectionmeta In [l=en] "In"
80collectionmeta Number [l=en] "Number"
81collectionmeta Vol [l=en] "Vol."
82collectionmeta MeetingDate [l=en] "Meeting Date"
83collectionmeta MeetingPlace [l=en] "Meeting Place"
84collectionmeta PublicationPlace [l=en] "Publication Place"
85collectionmeta Publisher [l=en] "Publisher"
86collectionmeta PublicationDate [l=en] "Publication Date"
87collectionmeta Pages [l=en] "Pages"
88collectionmeta DocType [l=en] "DocType"
89collectionmeta LocationURL [l=en] "Location/URL"
90collectionmeta Annotations [l=en] "Annotations"
91collectionmeta Abstract [l=en] "Abstract"
92collectionmeta Keywords [l=en] "Keywords"
93
94collectionmeta BibTeXrecord [l=en] "BibTeX Record"
95collectionmeta ShowBibTeXrecord [l=en] "Show BibTeX Record"
96collectionmeta HideBibTeXrecord [l=en] "Hide BibTeX Record"
97
98# -- English text ----------------
99collectionmeta collectionextra [l=en] "This collection, which contains _about:numdocs_
100BibTeX entries, is a small adjunct to the sample bibliography
101collection. It contains working papers published in the year 2006 at <a href=\"http://www.cs.waikato.ac.nz/\">Department of Computer Science</a>, <a href=\"http://www.waikato.ac.nz/\">the University of Waikato</a>.\n
102
103\n<h3>How the collection works</h3>\n
104
105<p>
106The purpose of the collection, whose name is \"bibliog1\", is to illustrate Greenstone\'s
107\"supercollection\" facility.\n
108
109<p>
110It is a very small collection with only _about:numdocs_ documents, as you
111can see by clicking the
112<a href=\"_gwcgi_?l=_cgiargl_&c=_cgiargc_&a=d&cl=CL1\"><i>titles</i></a> button.
113It has the same structure as the much larger
114<a href=\"_gwcgi_?l=_cgiargl_&c=bibliogr&a=p&p=about&ct=1&qto=3&qt=1&l=en&w=utf-8\">bibliography
115collection</a>, except that there is no <i>phrases</i> button (because it\'s far too small
116for a phrase index to make sense).\n
117
118<p>
119The <a href=\"_httpcollection_/etc/collect.cfg\" target=collect.cfg>collection
120configuration file</a> is just the same as that for the bibliography
121collection (which is called \"bibliogr\"), except for one small but crucial
122difference: a line that states\n
123
124<pre>
125supercollection bibliog1 bibliogr
126</pre>\n
127
128<p>
129This only affects <i>searching</i>, not browsing. It means that when you do
130a search, the <i>bibliogr</i> collection is automatically
131searched as well. For example, if you look in the
132<a href=\"_gwcgi_?l=_cgiargl_&c=bibliog1&a=d&cl=CL1\"><i>titles</i></a> list you will see that a couple of the items are about \"event\". But if you
133<a href=\"_gwcgi_?l=_cgiargl_&c=bibliog1&a=q&ct=1&qt=1&r=1&hs=1&fqa=0&fqv=event,,,&fqf=TX,CR,LA,SO\">search</a>
134for <i>event</i> you will find that 17 documents match the query. That\'s
135because the same search in the bibliography collection finds 12 documents.\n
136
137<p>
138<i>Supercollection</i> has two principal uses. One is when a collection is
139be continually updated with new material, but is impractical to rebuild
140after each addition. New material can be accumulated in a small supplementary
141collection that rebuilds very quickly. Periodically, the two are amalgamated
142and rebuilt. The main collection would contain a <i>supercollection</i>
143statement. (The present collection has a main \"bibliography\" and a smaller
144\"supplement\", but here -- because of the way we have decided to explain it --
145the <i>supercollection</i> statement is in the wrong collection!)\n
146
147<p>
148<i>Supercollection</i> is also useful for gigantic collections. Ordinary
149Greenstone collections can be very large -- we have built one with 11 million
150short documents, and another with 7 GB of text. However, gigantic collections
151may have be split up. One smaller-scale example is a collection of over a
152million small documents that is delivered on 5 CD-ROMs, each of which works
153individually as an independent Greenstone collection. When several are insalled on the hard
154drive, they can be searched together as a seamless unit.\n
155
156<p>
157The supercollection facility only works for <i>searching</i>. The present
158collection, when browsed, is very small; but when searched it is much larger. We
159have found that browsing is of limited use for very large collections
160anyway. For example, in the above-mentioned CD-ROM collection, there are no
161browsing buttons, only searching.\n
162
163<p>
164In the present example the two collections have precisely the same structure.
165<i>Supercollection</i> still works even if they are different.
166Each collection appears as it would normally, and cross-collection searching
167works as expected. When documents are displayed, they\'re shown according to the
168format defined in the collection to which they belong.\n
169
170<p>
171Each collection can be used individually by following the instructions below
172(which Greenstone generates automatically).\n
173
174<h3>How to use the collection</h3>\n
175"
176
Note: See TracBrowser for help on using the repository browser.