1 | creator [email protected]
|
---|
2 | public true
|
---|
3 |
|
---|
4 | buildtype mgpp
|
---|
5 |
|
---|
6 | indexes text,ex.rawtext ex.general^title ex.general^description ex.general^keyword
|
---|
7 | defaultindex text
|
---|
8 | levels document
|
---|
9 |
|
---|
10 | indexoptions accentfold casefold stem
|
---|
11 |
|
---|
12 | defaultlevel document
|
---|
13 |
|
---|
14 | subcollection arts "dc.Subject/Arts/"
|
---|
15 | subcollection science "dc.Subject/Science/"
|
---|
16 |
|
---|
17 | indexsubcollections arts,science arts science
|
---|
18 |
|
---|
19 | collectionmeta ar [l=en] "arts resources"
|
---|
20 | collectionmeta sc [l=en] "science resources"
|
---|
21 | collectionmeta as [l=en] "all resources"
|
---|
22 |
|
---|
23 | plugin GreenstoneXMLPlugin
|
---|
24 | plugin LOMPlugin -download_srcdocs (?i)\\.(html?|je?pg|gif)$ -check_timestamp
|
---|
25 | ##plugin LOMPlugin -download_srcdocs (?i)\\.(html?)$
|
---|
26 |
|
---|
27 | plugin HTMLPlugin
|
---|
28 | plugin ImagePlugin
|
---|
29 | plugin OAIPlugin -document_field dc.Identifier
|
---|
30 | plugin PDFPlugin
|
---|
31 | plugin WordPlugin
|
---|
32 | plugin MetadataXMLPlugin
|
---|
33 | plugin ArchivesInfPlugin
|
---|
34 | plugin DirectoryPlugin -recheck_directories
|
---|
35 |
|
---|
36 | classify List -metadata dc.Subject/ex.general^title;Title -partition_type_within_level none -removesuffix (\\s*(\\/|\\(|\\)|\\,|\\:|\\;|\\-).*)|\\s+ -buttonname Subject2
|
---|
37 | #-sort_leaf_nodes_using general^title
|
---|
38 | classify DateList -metadata lifecycle^contribute^date -sort general^title -buttonname Date
|
---|
39 |
|
---|
40 | format VList "<td>[link][icon][/link]</td><td>{If}{[numleafdocs],([numleafdocs])}</td><td>{OR}{[general^title],[Title]}</td>"
|
---|
41 | format DateList "<td>[link][icon][/link]</td><td>[general^title]</td>"
|
---|
42 |
|
---|
43 | format DocumentHeading "[general^title]<br>"
|
---|
44 |
|
---|
45 | format DocumentText "<p>
|
---|
46 | <center>_tableextra_
|
---|
47 | {If}{_cgiargshowrawmd_,
|
---|
48 | <table width=_pagewidth_ cellspacing=0
|
---|
49 | style=\'border-bottom: 4px solid _mdtabtabbg_\'>
|
---|
50 | <tr bgcolor=_mdtabtabbg_>
|
---|
51 | _mdtabdip_ _mdhreftab_(1\,\,\,Metadata)
|
---|
52 | _mdtabdip_ _mdtexttab_(XML Record)
|
---|
53 | {If}{[Plugin] ne LOMPlugin,
|
---|
54 | _mdtabdip_ _mdhreftab_(\,\,1\,Document)
|
---|
55 | , <!-- else [Plugin] eq LOMPlugin -->
|
---|
56 | _mdtabdip_ _mdtabblank_ _mdtabdip_
|
---|
57 | }
|
---|
58 | _mdtabfill_
|
---|
59 | </tr>
|
---|
60 | </table>
|
---|
61 | <textarea cols=80 rows=25>{If}{[Plugin] eq LOMPlugin,[Text],[rawtext]}</textarea>
|
---|
62 | , <!-- else -->
|
---|
63 | {If}{_cgiargshowtext_,
|
---|
64 | <table width=_pagewidth_ cellspacing=0
|
---|
65 | style=\'border-bottom: 4px solid _mdtabtabbg_\'>
|
---|
66 | <tr bgcolor=_mdtabtabbg_>
|
---|
67 | _mdtabdip_ _mdhreftab_(1\,\,\,Metadata)
|
---|
68 | _mdtabdip_ _mdhreftab_(\,1\,\,XML Record)
|
---|
69 | _mdtabdip_ _mdtexttab_(Document) _mdtabdip_
|
---|
70 | _mdtabfill_
|
---|
71 | </tr>
|
---|
72 | </table>
|
---|
73 | {If}{[Plugin] eq ImagePlugin,<br>[srclink][srcicon][/srclink],
|
---|
74 | {If}{[Plugin] ne LOMPlugin,[Text]}
|
---|
75 | }
|
---|
76 | , <!-- else -->
|
---|
77 | <table width=_pagewidth_ cellspacing=0
|
---|
78 | style=\'border-bottom: 4px solid _mdtabtabbg_\'>
|
---|
79 | <tr bgcolor=_mdtabtabbg_>
|
---|
80 | _mdtabdip_ _mdtexttab_(Metadata)
|
---|
81 | _mdtabdip_ _mdhreftab_(\,1\,\,XML Record)
|
---|
82 | {If}{[Plugin] ne LOMPlugin,
|
---|
83 | _mdtabdip_ _mdhreftab_(\,\,1\,Document)
|
---|
84 | _mdtabdip_
|
---|
85 | , <!-- else -->
|
---|
86 | _mdtabdip_ _mdtabblank_ _mdtabdip_
|
---|
87 | }
|
---|
88 | _mdtabfill_
|
---|
89 | </tr>
|
---|
90 | </table>
|
---|
91 | [MetadataTable]
|
---|
92 | }
|
---|
93 | }
|
---|
94 | </center>"
|
---|
95 |
|
---|
96 | format HList "[link][highlight]{Or}{[dls.Title],[dc.Title],[ex.Title],Untitled}[/highlight][/link]"
|
---|
97 |
|
---|
98 | format DocumentButtons "Detach|Highlight"
|
---|
99 |
|
---|
100 | format SearchTypes "plain,form"
|
---|
101 |
|
---|
102 | collectionmeta collectionname [l=en] "LOM Demonstration"
|
---|
103 |
|
---|
104 | # Collectionmeta for indexes must not use ex.
|
---|
105 | collectionmeta .text,rawtext [l=en] "All text"
|
---|
106 | collectionmeta .general^title [l=en] "Titles"
|
---|
107 | collectionmeta .general^description [l=en] "Descriptions"
|
---|
108 | collectionmeta .general^keyword [l=en] "Keywords"
|
---|
109 |
|
---|
110 |
|
---|
111 | collectionmeta collectionextra [l=en] "This collection
|
---|
112 | is a sample excerpt of educational resources from
|
---|
113 | the University of Calgary\'s Learning
|
---|
114 | Commons Educational Object Repository (no longer active). Taken from the subject
|
---|
115 | areas of the arts and science, _numdocs_ items from the repository were
|
---|
116 | exported in the IEEE LOM (Learning Object Metadata) format and digested
|
---|
117 | into a Greenstone collection. For sample LOM metadata, see this <a href=\"_httpcollection_/import/arts/657841.xml\">arts</a> record, or this <a href=\"_httpcollection_/import/science/582041.xml\">science</a> record.
|
---|
118 |
|
---|
119 | <p>Traditional educational learning object repositories base
|
---|
120 | searching and browsing around the provided metadata. This demonstration
|
---|
121 | collection goes one step further and provides <i>full-text</i> indexing
|
---|
122 | of the on-line resources, where possible.
|
---|
123 |
|
---|
124 | <p>Browse around the collection\'s items ordered by subject then title, or
|
---|
125 | view the items chronologically. Alternatively search the text or
|
---|
126 | titles of the items in the collection, optionally restricted to arts or
|
---|
127 | science. When you view an item from the collection various views of it
|
---|
128 | are available. You start by viewing its Learning Object Metadata (LOM)
|
---|
129 | record in a tabulated form and divided into sections: these sections
|
---|
130 | can be expanded or contracted to reveal more or less information as
|
---|
131 | desired. Use the tabs at the top of the table to change the view of
|
---|
132 | the learning object. There will always be a tab for
|
---|
133 | "XML Record" which displays the metadata in its original
|
---|
134 | IEEE LOM format. Depending on whether or not the learning
|
---|
135 | object references an on-line resource that is available for indexing,
|
---|
136 | a third tab may be present that displays the source document.
|
---|
137 |
|
---|
138 | <h3>How the collection works</h3>
|
---|
139 | <p>The records were exported from the Calgary Repository in LOM format. LOMPlugin is used to process the records. Using -download_srcdocs option to the plugin will search for general^identifier^entry or technical^location, and attempt to download the source document, into a <a href=\"_httpcollection_/import/arts/_gsdldown.all\">_gsdldown.all</a> folder in the same folder as the lom record.
|
---|
140 |
|
---|
141 |
|
---|
142 |
|
---|
143 | "
|
---|
144 |
|
---|