From 3d18e9d8a4f2a0c75a8cd60f1ed648bc537505b7 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Fri, 13 Apr 2012 13:05:25 +0200 Subject: [PATCH] Adding a mechanism to avoid to archive multiple times the same resource for a single archive set. --- .../pipelines/actions/archive-resource.xpl | 403 ++++++++++-------- 1 file changed, 234 insertions(+), 169 deletions(-) diff --git a/archiver/pipelines/actions/archive-resource.xpl b/archiver/pipelines/actions/archive-resource.xpl index 85e014c..798dc67 100644 --- a/archiver/pipelines/actions/archive-resource.xpl +++ b/archiver/pipelines/actions/archive-resource.xpl @@ -2,161 +2,222 @@ - - - - - - - -
- User-Agent - - - -
- archive -
-
- -
- - - + - + index.xml - write - document + read + xquery + + + - - + + + + - - - + - - - - - - - - - - + + + + + + - - oxf:/actions/mediatypes/ - - .xpl - + queue.xml + write + xquery + + + - + + + + + + + + - - - - - + + + + + + + + + +
+ User-Agent + + + +
+ archive +
+
+
- + - rewritten- write document - - + + + - + + + - - - - - - - - index.xml - - write - xquery - - - - - - - - rewritten- - - - - - - + + + + + + + + oxf:/actions/mediatypes/ + + .xpl + + + + + + + + + + + + + + + + + + + + + + rewritten- + + + write + document + + + + + + + + + + + + + + + + + + + index.xml + + write + xquery + + + + + + + + rewritten- + + + + + + into $as ]]> - - - - - - + + + + + + - - - - - - queue.xml - write - xquery - - - - - - - - - - - - - - - - + + + + + queue.xml + write + xquery + + + + + + + + + + + + + + + + - - - - - - + + + + + + -
+ - - - - - - - - - - index.xml - - write - xquery - - - - - - - - - - + + + + + + + + + index.xml + + write + xquery + + + + + + + + + + into $as ]]> - - - - - - - - - - - - - queue.xml - write - xquery - - - - - - - + + + + + + + + + + + queue.xml + write + xquery + + + + + + + - - - - - - + + + + + + + + +
-
+ +