From 750ccaac7c968b35c17193fe0458c1629a20b9c7 Mon Sep 17 00:00:00 2001 From: Eric van der Vlist Date: Fri, 13 Apr 2012 11:58:38 +0200 Subject: [PATCH] Dummy (passthrough) implementation of the CSS support... --- .../pipelines/actions/archive-resource.xpl | 5 +- archiver/pipelines/actions/mediatypes/css.xpl | 122 ++++++++++++++++++ 2 files changed, 125 insertions(+), 2 deletions(-) create mode 100644 archiver/pipelines/actions/mediatypes/css.xpl diff --git a/archiver/pipelines/actions/archive-resource.xpl b/archiver/pipelines/actions/archive-resource.xpl index 0e33390..85e014c 100644 --- a/archiver/pipelines/actions/archive-resource.xpl +++ b/archiver/pipelines/actions/archive-resource.xpl @@ -48,7 +48,7 @@ - + @@ -160,7 +160,8 @@ for $as in /archive-set declare namespace util = "http://exist-db.org/xquery/util"; declare variable $links := $(links); -for $q in /queue return +for $q in /queue[$links/link/@abs-href] + return update insert for $href in distinct-values($links/link/@abs-href) diff --git a/archiver/pipelines/actions/mediatypes/css.xpl b/archiver/pipelines/actions/mediatypes/css.xpl new file mode 100644 index 0000000..d1939eb --- /dev/null +++ b/archiver/pipelines/actions/mediatypes/css.xpl @@ -0,0 +1,122 @@ + + + + + + + + + + + + session + + + + + + + + + + + + + + text + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +