Last change
on this file since 27953 was 27953, checked in by ak19, 11 years ago |
Redid PDFBox collection without 2nd pdf file.
|
File size:
1.6 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 | Two examples of the syntax to use to attach metadata to files in a
|
---|
5 | given directory within the 'import' area.
|
---|
6 |
|
---|
7 | Copy this file to the folder where the files or interest are, and
|
---|
8 | then uncomment (or copy and paste) the <FileSet> block and
|
---|
9 | edit to suit the file name(s) and metadata values required
|
---|
10 | --><!--
|
---|
11 | Example 1:
|
---|
12 | Attached dc.Title and dc.Subject (x 2) to a single, named file
|
---|
13 | --><!--
|
---|
14 | <FileSet>
|
---|
15 | <FileName>sample-file1\.txt</FileName>
|
---|
16 | <Description>
|
---|
17 | <Metadata name="dc.Title">Sample Title</Metadata>
|
---|
18 | <Metadata name="dc.Subject">Subject A</Metadata>
|
---|
19 | <Metadata mode="accumulate" name="dc.Subject">Subject B</Metadata>
|
---|
20 | </Description>
|
---|
21 | </FileSet>
|
---|
22 | --><!--
|
---|
23 | Example 2:
|
---|
24 | Attached dc.Subject to all files in this folder that match the given
|
---|
25 | regular expression
|
---|
26 | --><!--
|
---|
27 | <FileSet>
|
---|
28 | <FileName>.*</FileName>
|
---|
29 | <Description>
|
---|
30 | <Metadata mode="accumulate" name="dc.Subject">Subject X</Metadata>
|
---|
31 | </Description>
|
---|
32 | </FileSet>
|
---|
33 | -->
|
---|
34 | <FileSet>
|
---|
35 | <FileName>A9-access-best-practices\.pdf</FileName>
|
---|
36 | <Description>
|
---|
37 | <Metadata mode="accumulate" name="dc.Title">Best Practices for Accessibility</Metadata>
|
---|
38 | <Metadata mode="accumulate" name="dc.Source">www.adobe.com/content/dam/Adobe/en/accessibility/products/acrobat/pdfs/A9-access-best-practices.pdfâ</Metadata>
|
---|
39 | <Metadata mode="accumulate" name="dc.Creator">Adobe</Metadata>
|
---|
40 | </Description>
|
---|
41 | </FileSet>
|
---|
42 | </DirectoryMetadata>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.