Last change
on this file since 28811 was 28079, checked in by ak19, 11 years ago |
Adding in the OAI-Local and METS tutorial model collections (tested that diffcol tests work with them).
|
-
Property svn:executable
set to
*
|
File size:
1.3 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!DOCTYPE DirectoryMetadata SYSTEM "http://greenstone.org/dtd/DirectoryMetadata/1.0/DirectoryMetadata.dtd">
|
---|
3 | <DirectoryMetadata>
|
---|
4 |
|
---|
5 | <!--
|
---|
6 | Two examples of the syntax to use to attach metadata to files in a
|
---|
7 | given directory within the 'import' area.
|
---|
8 |
|
---|
9 | Copy this file to the folder where the files or interest are, and
|
---|
10 | then uncomment (or copy and paste) the <FileSet> block and
|
---|
11 | edit to suit the file name(s) and metadata values required
|
---|
12 | -->
|
---|
13 |
|
---|
14 |
|
---|
15 | <!--
|
---|
16 | Example 1:
|
---|
17 | Attached dc.Title and dc.Subject (x 2) to a single, named file
|
---|
18 | -->
|
---|
19 |
|
---|
20 | <!--
|
---|
21 | <FileSet>
|
---|
22 | <FileName>sample-file1\.txt</FileName>
|
---|
23 | <Description>
|
---|
24 | <Metadata name="dc.Title">Sample Title</Metadata>
|
---|
25 | <Metadata name="dc.Subject">Subject A</Metadata>
|
---|
26 | <Metadata mode="accumulate" name="dc.Subject">Subject B</Metadata>
|
---|
27 | </Description>
|
---|
28 | </FileSet>
|
---|
29 | -->
|
---|
30 |
|
---|
31 | <!--
|
---|
32 | Example 2:
|
---|
33 | Attached dc.Subject to all files in this folder that match the given
|
---|
34 | regular expression
|
---|
35 | -->
|
---|
36 |
|
---|
37 | <!--
|
---|
38 | <FileSet>
|
---|
39 | <FileName>.*</FileName>
|
---|
40 | <Description>
|
---|
41 | <Metadata mode="accumulate" name="dc.Subject">Subject X</Metadata>
|
---|
42 | </Description>
|
---|
43 | </FileSet>
|
---|
44 | -->
|
---|
45 |
|
---|
46 | </DirectoryMetadata>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.