diff options
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/03_meta')
-rw-r--r-- | source/03_meta/articles.xsl | 2 | ||||
-rw-r--r-- | source/03_meta/categories.xsl | 4 | ||||
-rw-r--r-- | source/03_meta/meta.xsl | 4 | ||||
-rw-r--r-- | source/03_meta/paginated_articles.xsl | 2 | ||||
-rw-r--r-- | source/03_meta/tags.xsl | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/source/03_meta/articles.xsl b/source/03_meta/articles.xsl index e9a54c3..8babed3 100644 --- a/source/03_meta/articles.xsl +++ b/source/03_meta/articles.xsl @@ -7,7 +7,7 @@ <xsl:include href="[utility/datasource.xsl]"/> <xsl:variable name="meta"> - <datasource type="main" mode="full" source="target/02_data/articles.xml" target="articles"/> + <datasource type="main" mode="full" source="02_data/articles.xml" target="articles"/> <target mode="plain" value="articles.xml"/> </xsl:variable> diff --git a/source/03_meta/categories.xsl b/source/03_meta/categories.xsl index a2945b3..f1c2f5e 100644 --- a/source/03_meta/categories.xsl +++ b/source/03_meta/categories.xsl @@ -10,8 +10,8 @@ <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="support" mode="full" source="target/02_data/pages.xml" target="pages"/> + <datasource type="main" mode="full" source="01_files/source.xml" target="files"/> + <datasource type="support" mode="full" source="02_data/pages.xml" target="pages"/> <target mode="plain" value="categories.xml"/> </xsl:variable> diff --git a/source/03_meta/meta.xsl b/source/03_meta/meta.xsl index 91c09b3..2af78de 100644 --- a/source/03_meta/meta.xsl +++ b/source/03_meta/meta.xsl @@ -7,8 +7,8 @@ <xsl:include href="[utility/datasource.xsl]"/> <xsl:variable name="meta"> - <datasource type="main" mode="full" source="source/00_content/meta.xml" target="meta"/> - <datasource type="support" mode="full" source="target/02_data/tags.xml" target="tags"/> + <datasource type="main" mode="full" source="00_content/meta.xml" target="meta"/> + <datasource type="support" mode="full" source="02_data/tags.xml" target="tags"/> <target mode="plain" value="meta.xml"/> </xsl:variable> diff --git a/source/03_meta/paginated_articles.xsl b/source/03_meta/paginated_articles.xsl index 61439b8..e00ee51 100644 --- a/source/03_meta/paginated_articles.xsl +++ b/source/03_meta/paginated_articles.xsl @@ -7,7 +7,7 @@ <xsl:include href="[utility/datasource.xsl]"/> <xsl:variable name="meta"> - <datasource type="main" mode="full" source="target/02_data/articles.xml" target="articles"/> + <datasource type="main" mode="full" source="02_data/articles.xml" target="articles"/> <target mode="plain" value="paginated_articles.xml"/> </xsl:variable> diff --git a/source/03_meta/tags.xsl b/source/03_meta/tags.xsl index 7caf37f..9e399cd 100644 --- a/source/03_meta/tags.xsl +++ b/source/03_meta/tags.xsl @@ -7,8 +7,8 @@ <xsl:include href="[utility/datasource.xsl]"/> <xsl:variable name="meta"> - <datasource type="main" mode="full" source="target/02_data/tags.xml" target="tags"/> - <datasource type="support" mode="full" source="target/02_data/articles.xml" target="articles"/> + <datasource type="main" mode="full" source="02_data/tags.xml" target="tags"/> + <datasource type="support" mode="full" source="02_data/articles.xml" target="articles"/> <target mode="plain" value="tags.xml"/> </xsl:variable> |