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