diff options
Changed base url and url scheme
* base url is now a local webserver for more realistic testing
** i.e. otherwise the atom feed is not served correctly
* article, page, tag and stream pages are now generated as "index.html" inside appropriately named directories
** this is needed for pretty urls that actually work
Diffstat (limited to 'source/99_result')
-rw-r--r-- | source/99_result/archive.xsl | 2 | ||||
-rw-r--r-- | source/99_result/article/article.xsl | 2 | ||||
-rw-r--r-- | source/99_result/page/page.xsl | 6 | ||||
-rw-r--r-- | source/99_result/stream.xsl | 2 | ||||
-rw-r--r-- | source/99_result/tag/tag.xsl | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/source/99_result/archive.xsl b/source/99_result/archive.xsl index a920294..476b321 100644 --- a/source/99_result/archive.xsl +++ b/source/99_result/archive.xsl @@ -9,7 +9,7 @@ <xsl:variable name="meta"> <datasource type="main" mode="full" source="target/03_meta/articles.xml" target="articles"/> <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> - <target mode="plain" value="archive"/> + <target mode="plain" value="archive/index.html"/> </xsl:variable> <xsl:template name="title-text">Archive</xsl:template> diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl index 0b2cc12..a82dcb1 100644 --- a/source/99_result/article/article.xsl +++ b/source/99_result/article/article.xsl @@ -10,7 +10,7 @@ <xsl:variable name="meta"> <datasource type="main" mode="iterate" source="target/02_data/articles.xml" target="article"/> <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> - <target mode="xpath" value="xalan:nodeset($datasource)/datasource/article/entry/@handle"/> + <target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/article/entry/@handle, '/index.html')"/> </xsl:variable> <xsl:template name="title-text"> diff --git a/source/99_result/page/page.xsl b/source/99_result/page/page.xsl index dc8c9f2..fcf217d 100644 --- a/source/99_result/page/page.xsl +++ b/source/99_result/page/page.xsl @@ -7,9 +7,9 @@ <xsl:include href="[utility/master.xsl]"/> <xsl:variable name="meta"> - <datasource type="main" mode="iterate" source="target/02_data/pages.xml" target="page"/> - <datasource type="support" mode="full" source="source/00_content/meta.xml" target="meta"/> - <target mode="xpath" value="xalan:nodeset($datasource)/datasource/page/entry/@handle"/> + <datasource type="main" mode="iterate" source="target/02_data/pages.xml" target="page"/> + <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> + <target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/page/entry/@handle, '/index.html')"/> </xsl:variable> <xsl:template name="title-text"> diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl index 2fa6d4e..4bed923 100644 --- a/source/99_result/stream.xsl +++ b/source/99_result/stream.xsl @@ -11,7 +11,7 @@ <datasource type="main" mode="iterate" source="target/03_meta/paginated_articles.xml" target="page"/> <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> <datasource type="support" mode="full" source="target/02_data/articles.xml" target="articles"/> - <target mode="xpath" value="xalan:nodeset($datasource)/datasource/page/entry/@index"/> + <target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/page/entry/@index, '/index.html')"/> </xsl:variable> <xsl:template name="title-text"> diff --git a/source/99_result/tag/tag.xsl b/source/99_result/tag/tag.xsl index 2e4423e..8eb6ca0 100644 --- a/source/99_result/tag/tag.xsl +++ b/source/99_result/tag/tag.xsl @@ -9,7 +9,7 @@ <xsl:variable name="meta"> <datasource type="main" mode="iterate" source="target/03_meta/tags.xml" target="tag"/> <datasource type="support" mode="full" source="target/03_meta/meta.xml" target="meta"/> - <target mode="xpath" value="xalan:nodeset($datasource)/datasource/tag/entry/@handle"/> + <target mode="xpath" value="concat(xalan:nodeset($datasource)/datasource/tag/entry/@handle, '/index.html')"/> </xsl:variable> <xsl:template name="title-text"> |