summaryrefslogtreecommitdiff
path: root/examples/surrogate_dublin_core.xml
blob: 2558b1a622611a67d1cd27acbfe60e9b2ca29bed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8"?>
<!-- YaCy surrogate file using dublin core notion -->
<!-- 
  This is a surrogate file which is an intermediate document description
  file for index generation. Once you have YaCy started, you can copy a file
  like this (or actual this file) into DATA/SURROGATE/in and then the indexing
  process will read the file, store the content into the search index and moves
  the file into DATA/SURROGATE/out
  Using surrogate files and the surrogate file format you can easily create your
  own data harvesting sources for the YaCy indexer. Just write a file generator
  that generates files like this. The xml schema is very similar to that
  described in
    http://dublincore.org/documents/dc-xml-guidelines/
  using the Dublin Core metadata element set.
-->

<surrogates
  xmlns:dc="http://purl.org/dc/elements/1.1/">

  <record>
    <dc:Title><![CDATA[Alan Smithee]]></dc:Title>
    <dc:Identifier>http://de.wikipedia.org/wiki/Alan_Smithee</dc:Identifier>
    <dc:Description><![CDATA[Der als Filmregisseur oft genannte '''Alan Smithee''' ist ein Anagramm von „The Alias Men“.]]></dc:Description>
    <dc:Language>de</dc:Language>
    <dc:Date>2009-03-02T11:12:36Z</dc:Date> <!-- date is in ISO 8601 -->
  </record>

</surrogates>