aboutsummaryrefslogtreecommitdiff
path: root/source/02_data
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-29 23:35:16 +0200
committerAdrian Kummerlaender2014-08-29 23:35:16 +0200
commit9c8d55ae5ee4b4d2dd8b5d69c4a635ac1b1236c6 (patch)
tree4f9ea668d3ea840dc83c211d4e50daee59533ee5 /source/02_data
parentdc7c9280dabd9d2a512ddd4a1b00213367f81c3d (diff)
downloadblog.kummerlaender.eu-9c8d55ae5ee4b4d2dd8b5d69c4a635ac1b1236c6.tar
blog.kummerlaender.eu-9c8d55ae5ee4b4d2dd8b5d69c4a635ac1b1236c6.tar.gz
blog.kummerlaender.eu-9c8d55ae5ee4b4d2dd8b5d69c4a635ac1b1236c6.tar.bz2
blog.kummerlaender.eu-9c8d55ae5ee4b4d2dd8b5d69c4a635ac1b1236c6.tar.lz
blog.kummerlaender.eu-9c8d55ae5ee4b4d2dd8b5d69c4a635ac1b1236c6.tar.xz
blog.kummerlaender.eu-9c8d55ae5ee4b4d2dd8b5d69c4a635ac1b1236c6.tar.zst
blog.kummerlaender.eu-9c8d55ae5ee4b4d2dd8b5d69c4a635ac1b1236c6.zip
Removed need for prefixing datasource source attribute
* transformations contain one or more "datasource" meta nodes ** these nodes define the required datasources ** up until now it was required to define the whole path to the file to be loaded * the implementation of directory linkage in b942f8e removed the underlying need for providing the source / target prefix ** this commit now updates the generation transformations to match this change *** this simplifies the datasource definition process for the end-user *** additionally it makes the target / source directories easier to maintain * changed cleanage task implementation to remove the whole directory and recreate it from scratch ** otherwise directory linkage and in turn the whole generation failed when the target directory did not exist in the first place * removed task reordering in the process transformation ** tasks are now processed exactly as they were scheduled ** this was changed so that e.g. the "00_content" directory is linked before the first datasource is required
Diffstat (limited to 'source/02_data')
-rw-r--r--source/02_data/articles.xsl2
-rw-r--r--source/02_data/pages.xsl2
-rw-r--r--source/02_data/tags.xsl2
3 files changed, 3 insertions, 3 deletions
diff --git a/source/02_data/articles.xsl b/source/02_data/articles.xsl
index 7b951df..3a71cc2 100644
--- a/source/02_data/articles.xsl
+++ b/source/02_data/articles.xsl
@@ -11,7 +11,7 @@
<xsl:include href="[utility/datasource.xsl]"/>
<xsl:variable name="meta">
- <datasource type="main" mode="full" source="target/01_files/source.xml" target="files"/>
+ <datasource type="main" mode="full" source="01_files/source.xml" target="files"/>
<target mode="plain" value="articles.xml"/>
</xsl:variable>
diff --git a/source/02_data/pages.xsl b/source/02_data/pages.xsl
index 30a14f8..2123dae 100644
--- a/source/02_data/pages.xsl
+++ b/source/02_data/pages.xsl
@@ -11,7 +11,7 @@
<xsl:include href="[utility/datasource.xsl]"/>
<xsl:variable name="meta">
- <datasource type="main" mode="full" source="target/01_files/source.xml" target="files"/>
+ <datasource type="main" mode="full" source="01_files/source.xml" target="files"/>
<target mode="plain" value="pages.xml"/>
</xsl:variable>
diff --git a/source/02_data/tags.xsl b/source/02_data/tags.xsl
index 35c360e..b615213 100644
--- a/source/02_data/tags.xsl
+++ b/source/02_data/tags.xsl
@@ -7,7 +7,7 @@
<xsl:include href="[utility/datasource.xsl]"/>
<xsl:variable name="meta">
- <datasource type="main" mode="full" source="target/01_files/source.xml" target="files"/>
+ <datasource type="main" mode="full" source="01_files/source.xml" target="files"/>
<target mode="plain" value="tags.xml"/>
</xsl:variable>