diff --git a/archiver/pipelines/actions/archive-resource.xpl b/archiver/pipelines/actions/archive-resource.xpl index 95b57c8..0e33390 100644 --- a/archiver/pipelines/actions/archive-resource.xpl +++ b/archiver/pipelines/actions/archive-resource.xpl @@ -24,8 +24,7 @@ - + @@ -49,109 +48,33 @@ - + - - - - - session - - - - - - - + - + - + oxf:/actions/mediatypes/ + + .xpl - html - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -174,8 +97,7 @@ - + @@ -213,8 +135,7 @@ for $as in /archive-set - + queue.xml @@ -266,8 +187,7 @@ for $a in /queue/action where $a/@uuid = $(uuid) return - + @@ -301,8 +221,7 @@ for $as in /archive-set - + queue.xml diff --git a/archiver/pipelines/actions/archive-set.xpl b/archiver/pipelines/actions/archive-set.xpl index a705075..9515c52 100644 --- a/archiver/pipelines/actions/archive-set.xpl +++ b/archiver/pipelines/actions/archive-set.xpl @@ -40,8 +40,7 @@ - + - + diff --git a/archiver/pipelines/actions/mediatypes/README.txt b/archiver/pipelines/actions/mediatypes/README.txt new file mode 100644 index 0000000..4108dfa --- /dev/null +++ b/archiver/pipelines/actions/mediatypes/README.txt @@ -0,0 +1,13 @@ +Pipelines in this directory are called by the archive-resource pipeline. + +Their name is the name of the media subtype. + +Inputs: + + * archive: the archive + +Outputs: + + * rewritten: the rewritten version of the document + * links: the list of rewritten links + diff --git a/archiver/pipelines/actions/mediatypes/html.xpl b/archiver/pipelines/actions/mediatypes/html.xpl new file mode 100644 index 0000000..f81e2d6 --- /dev/null +++ b/archiver/pipelines/actions/mediatypes/html.xpl @@ -0,0 +1,111 @@ + + + + + + + + + + + + session + + + + + + + + + + + + + + html + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +