From 01a66903f3394f212eac2a0f1351091524ba4f18 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Fri, 13 Apr 2012 19:08:04 +0200 Subject: [PATCH] First version that can produce a packaged archive. --- .../pipelines/actions/archive-resource.xpl | 12 ++++- archiver/pipelines/actions/mediatypes/css.xpl | 14 ++--- .../pipelines/actions/mediatypes/html.xpl | 14 ++++- .../pipelines/actions/package-archive.xpl | 52 +++++++++++++++---- 4 files changed, 69 insertions(+), 23 deletions(-) diff --git a/archiver/pipelines/actions/archive-resource.xpl b/archiver/pipelines/actions/archive-resource.xpl index 798dc67..5bd6033 100644 --- a/archiver/pipelines/actions/archive-resource.xpl +++ b/archiver/pipelines/actions/archive-resource.xpl @@ -132,6 +132,16 @@ for $a in /queue/action where $a/@uuid = $(uuid) return + + + + + + + + + + @@ -147,7 +157,7 @@ for $a in /queue/action where $a/@uuid = $(uuid) return document - + diff --git a/archiver/pipelines/actions/mediatypes/css.xpl b/archiver/pipelines/actions/mediatypes/css.xpl index f04d6db..785ca8d 100644 --- a/archiver/pipelines/actions/mediatypes/css.xpl +++ b/archiver/pipelines/actions/mediatypes/css.xpl @@ -23,6 +23,7 @@ + text/css text @@ -97,18 +98,9 @@ - + - - - - - - - - - - + diff --git a/archiver/pipelines/actions/mediatypes/html.xpl b/archiver/pipelines/actions/mediatypes/html.xpl index f81e2d6..2df89fc 100644 --- a/archiver/pipelines/actions/mediatypes/html.xpl +++ b/archiver/pipelines/actions/mediatypes/html.xpl @@ -105,7 +105,19 @@ - + + + + + + + application/xml + utf-8 + 1.0 + + + + diff --git a/archiver/pipelines/actions/package-archive.xpl b/archiver/pipelines/actions/package-archive.xpl index 34b2c6e..56d54c1 100644 --- a/archiver/pipelines/actions/package-archive.xpl +++ b/archiver/pipelines/actions/package-archive.xpl @@ -228,10 +228,32 @@ conformsTo: - - - + + + + + + + + + + read + document + + + + + + + + + + + request + + + @@ -270,13 +292,23 @@ conformsTo: - - - - - - - + + + + + + + + + + + + + + + + +