diff options
| author | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2009-04-16 20:47:55 +0000 |
|---|---|---|
| committer | orbiter <orbiter@6c8d7289-2bf4-0310-a012-ef5d649a1542> | 2009-04-16 20:47:55 +0000 |
| commit | 9050a3c4c547b7bcbe3b0e9505fedc961603a296 (patch) | |
| tree | 86e332c0b82e62518154b76f290225cbf2ed47c4 /examples | |
| parent | 870066ab351000e9d0b9779e8d11439acfa96ac3 (diff) | |
alpha version of surrogate reading and indexing.
see the example file for an explanation.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5815 6c8d7289-2bf4-0310-a012-ef5d649a1542
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/surrogate_dublin_core.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/surrogate_dublin_core.xml b/examples/surrogate_dublin_core.xml new file mode 100644 index 000000000..d71058f72 --- /dev/null +++ b/examples/surrogate_dublin_core.xml @@ -0,0 +1,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> |
