aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Kummerlaender2019-04-13 17:37:10 +0200
committerAdrian Kummerlaender2019-04-13 17:37:10 +0200
commit714a92a163645bb436b1e8f4c56a818656c35f8a (patch)
tree6309e2623062af6a32f6149b39607a0904056681
parent8505560ec12b96a3bcc9369352bf85faf3b9698c (diff)
downloadOverview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar
Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar.gz
Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar.bz2
Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.tar.xz
Overview-714a92a163645bb436b1e8f4c56a818656c35f8a.zip
Remove newly extracted features
i.e. Overview is now a mostly pure aggregator again. The new commit / blip feature is now maintained in `blip.kummerlaender.eu`.
-rw-r--r--default.nix7
-rw-r--r--source/00_content/commits/blog.kummerlaender.eu/2017_01_17_20_38_23f6297c212525d71692eb7ee8e6e096ad4711a3.md13
-rw-r--r--source/00_content/commits/blog.kummerlaender.eu/2018_06_04_21_12_c08fbb73a960bd19ab1ca553da5bb8111622baba.md13
-rw-r--r--source/00_content/commits/change/2016_02_14_20_52_1ffaf37388cd691e88196b6e00455eda0e652cf0.md20
-rw-r--r--source/00_content/commits/change/2016_02_17_15_02_af756d78ac042a2eed2417c5250d4b675d43bf93.md11
-rw-r--r--source/00_content/commits/change/2016_02_20_22_30_b3ef0fc8daa41e433f1919a4933a1cc047f59341.md9
-rw-r--r--source/00_content/commits/compustream/2019_02_25_22_08_84666523e9a278ac95ca43dbaa534e8aaaf3ebd2.md9
-rw-r--r--source/00_content/commits/nixos_system/2018_10_01_08_26_55daf8a35f4f1761f5f4c4ebe4a6dcb4b0ace514.md18
-rw-r--r--source/00_content/commits/slang/2017_04_13_21_51_d2126fe52fd3c002631e66fa7d6e2d5cd8862bea.md21
-rw-r--r--source/00_content/meta.xml8
-rw-r--r--source/01_raw/blip_feed.xsl22
-rw-r--r--source/01_raw/blog_feed.xsl (renamed from source/01_raw/article_feed.xsl)4
-rw-r--r--source/02_augment/articles.xsl2
-rw-r--r--source/02_augment/blips.xsl50
-rw-r--r--source/03_merge/timeline.xsl27
-rw-r--r--source/99_result/overview.xsl26
-rw-r--r--source/99_result/timeline.xsl78
17 files changed, 90 insertions, 248 deletions
diff --git a/default.nix b/default.nix
index 4cbfb51..173d6bb 100644
--- a/default.nix
+++ b/default.nix
@@ -11,15 +11,18 @@ pkgs.stdenv.mkDerivation {
pkgs.highlight
mypkgs.katex-wrapper
mypkgs.make-xslt
- mypkgs.input-xslt
];
installPhase = let
blog_feed = builtins.fetchurl {
url = "https://blog.kummerlaender.eu/atom.xml";
};
+ blip_feed = builtins.fetchurl {
+ url = "https://blip.kummerlaender.eu/timeline.xml";
+ };
in ''
- cp ${blog_feed} source/00_content/article_feed.xml
+ cp ${blog_feed} source/00_content/blog_feed.xml
+ cp ${blip_feed} source/00_content/blip_feed.xml
make-xslt
mkdir $out
diff --git a/source/00_content/commits/blog.kummerlaender.eu/2017_01_17_20_38_23f6297c212525d71692eb7ee8e6e096ad4711a3.md b/source/00_content/commits/blog.kummerlaender.eu/2017_01_17_20_38_23f6297c212525d71692eb7ee8e6e096ad4711a3.md
deleted file mode 100644
index 9145e13..0000000
--- a/source/00_content/commits/blog.kummerlaender.eu/2017_01_17_20_38_23f6297c212525d71692eb7ee8e6e096ad4711a3.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Use `pandoc` as markdown processor
-
-The trigger but not the actual reason for this replacement of `kramdown` with `pandoc` was a strange generation issue with `kramdown`'s latest release.
-
-All recent articles failed to generate anything more than an empty page. A quick check of the resulting HTML for those articles offered nothing out of the ordinary. After taking a close look at the articles in question I narrowed the set of failing articles down to those containing footnotes - tangentially I only started using footnotes a couple of articles ago i.e. this explained this part of the issue.
-
-Some debugging of `InputXSLT` offered the following problem: `Xerces-C` generated an error message and stopped processing XML inputs containing `nbsp` non-blocking space characters in the implementation of the `external-command` function. This change in `kramdown`'s output can be traced back to enhancement issue [399](https://github.com/gettalong/kramdown/pull/399). Obviously this is not a problem in `kramdown` but an issue in the way this static site generator is wrapping HTML inputs.
-
-This problem should be solvable by adding appropriate namespace and doctype declarations to the markdown-generated HTML output. Instead I opted to perform the change to `pandoc` I had already planned for quite some time.
-
-The choice fell on `pandoc` as it offers some additional markdown features as well as allowing for conversion to a rich set of document formats. i.e. features like printing articles as PDF using LaTeX are trivial to implement if `pandoc` is the markdown processor of choice. Furthermore page compilation is noticeably faster using `pandoc`.
-
-One might note that this switch only solved the original issue by coincidence: Should `pandoc` start to generate non-blocking space characters the same problem will occur. But I have hopes that such a change would be configurable via `pandoc`'s plethora of configuration options. As this static site generator assumes everything to be XHTML I see no reason why I should not continue to treat HTML inputs as XML.
diff --git a/source/00_content/commits/blog.kummerlaender.eu/2018_06_04_21_12_c08fbb73a960bd19ab1ca553da5bb8111622baba.md b/source/00_content/commits/blog.kummerlaender.eu/2018_06_04_21_12_c08fbb73a960bd19ab1ca553da5bb8111622baba.md
deleted file mode 100644
index 616ee83..0000000
--- a/source/00_content/commits/blog.kummerlaender.eu/2018_06_04_21_12_c08fbb73a960bd19ab1ca553da5bb8111622baba.md
+++ /dev/null
@@ -1,13 +0,0 @@
-# Nixify build process
-
-Building the website in the presence of the Nix package manager is now
-as simple as:
-
-- cloning this repo
-- entering the nix-shell environment declared by `shell.nix`
-- calling `generate`
-- optionally call `preview` to spawn a webserver in `target/99_result`
-
-All dependencies such as the internal InputXSLT, StaticXSLT and
-BuildXSLT modules as well as external ones such as KaTeX and pandoc are
-built declaratively by Nix.
diff --git a/source/00_content/commits/change/2016_02_14_20_52_1ffaf37388cd691e88196b6e00455eda0e652cf0.md b/source/00_content/commits/change/2016_02_14_20_52_1ffaf37388cd691e88196b6e00455eda0e652cf0.md
deleted file mode 100644
index e7ee30b..0000000
--- a/source/00_content/commits/change/2016_02_14_20_52_1ffaf37388cd691e88196b6e00455eda0e652cf0.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# Implement support for excluding arbitrary paths from tracking
-
-The library may be provided with a new-line separated list of regular expressions via the newly introduced `CHANGE_LOG_IGNORE_PATTERN_PATH`.
-
-Any proposed tracking path that is matched by any of the provided patterns is excluded from change reporting. This functionality uses the Standard's regular expression parsing functionality and as such doesn't introduce any new dependencies. If no file path is provided or the provided file path is unreadable all paths will be tracked.
-
-`change` was adapted to set `CHANGE_LOG_IGNORE_PATTERN_PATH` to `.change_log_ignore` which means that it will by default exclude any patterns provided via this file in the current working directory.
-
-An example for such a file customized for hiding _vim_'s internal write
-logic may look as follows:
-
- [0-9]+
- [^~]*~
- [.*\.viminfo
- .*\.swp
-
-Note that this is implemented in a fashion where it is not guaranteed that the full _canonical_ path is checked against the patterns. It remains to be decided if this is enough for all common use cases of this new functionality.
-
-`tracking::PathMatcher` lacks any explicit thread synchronization - according to my current knowledge this should not be necessary as we are only ever reading the private `std::vector<std::regex>` instance.
-If invalid regular expressions are provided they are silently ignored.
diff --git a/source/00_content/commits/change/2016_02_17_15_02_af756d78ac042a2eed2417c5250d4b675d43bf93.md b/source/00_content/commits/change/2016_02_17_15_02_af756d78ac042a2eed2417c5250d4b675d43bf93.md
deleted file mode 100644
index 8c81150..0000000
--- a/source/00_content/commits/change/2016_02_17_15_02_af756d78ac042a2eed2417c5250d4b675d43bf93.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Implement static allocator for initialization
-
-The previous interposition logic based on plain usage of `dlsym` analogously to various online examples led to a deadlock during _neovim_ startup. This deadlock was caused by _neovim_'s custom memory allocation library _jemalloc_ because it calls `mmap` during its initialization phase. The problem with calling `mmap` during initialization is that this already leads to executing `libChangeLog`'s `mmap` version whoes static `actual_mmap` function pointer is not initialized at this point in time. This is detected and leads to a call to `dlsym` to remedy this situation. Sadly `dlsym` in turn requires memory allocation using `calloc` which leads us back to initializing _jemalloc_ and as such to a deadlock.
-
-I first saw this as a bug in _jemalloc_ which seemed to be confirmed by a short search in my search engine of choice. This prompted me to create an appropriate [bug report](https://github.com/jemalloc/jemalloc/issues/329) which was dismissed as a problem in the way `mmap` was interposed and not as a bug in the library. Thus it seems to be accepted practice that it is not the responsibility of a custom memory allocator to cater to the initialization needs of other libraries relying on function interposition. This is of course a valid position as the whole issue is a kind of _chicken and egg_ problem where both sides can be argued.
-
-To cut to the chase I was left with the only option of working around this deadlock by adapting `libChangeLog` to call `dlsym` without relying on the wrapped application's memory allocator of choice. The most straight forward way to do this is to provide another custom memory allocator alongside the _payload_ function interpositions of `mmap` and friends.
-
-`init/alloc.cc` implements such a selectively transparent memory allocator that offers a small static buffer for usage in the context of executing `dlsym`.The choice between forwarding memory allocation requests to the wrapped application's allocator and using the static buffer is governed by `init::dlsymContext`. This tiny helper class maintains an `dlsym_level` counter by posing as a scope guard.
-
-The end result of this extension to `libChangeLog` is that it now also works with applications using _jemalloc_ such as _neovim_ and should overall be much more robust during its initialization phase.
diff --git a/source/00_content/commits/change/2016_02_20_22_30_b3ef0fc8daa41e433f1919a4933a1cc047f59341.md b/source/00_content/commits/change/2016_02_20_22_30_b3ef0fc8daa41e433f1919a4933a1cc047f59341.md
deleted file mode 100644
index e724abc..0000000
--- a/source/00_content/commits/change/2016_02_20_22_30_b3ef0fc8daa41e433f1919a4933a1cc047f59341.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Interpose `open` library function
-
-`open` is not as side effect free as I had imagined - i.e. if the flag `O_TRUNC` is passed it truncates the file contents alongside opening the file descriptor. In practice this is done by _emacs_ prior to writing the new file content and as such needs to be intercepted so we can start tracking the file before it is changed.
-
-Interposing `open` required some changes to make the library work without including `fcntl.h`. This header not only defines some of the flags we require to check if a library call actually is able to change files but also defines the `open` library function.
-
-While implementing this change I noticed that the function interpositions implemented in C++ actually need to be declared as `external "C"` so their names do not get wrangled during compilation. I suspect that this was previously implicitly done for e.g. `mmap` and `write` by the included C standard library headers. However this did not work for `open` which is why all function interpositions are now explicitly declared external.
-
-End result: _emacs_ file changes are now tracked correctly.
diff --git a/source/00_content/commits/compustream/2019_02_25_22_08_84666523e9a278ac95ca43dbaa534e8aaaf3ebd2.md b/source/00_content/commits/compustream/2019_02_25_22_08_84666523e9a278ac95ca43dbaa534e8aaaf3ebd2.md
deleted file mode 100644
index 2ab7c03..0000000
--- a/source/00_content/commits/compustream/2019_02_25_22_08_84666523e9a278ac95ca43dbaa534e8aaaf3ebd2.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Compustream performance improvements and interactive wall drawing
-
-I found some time to further develop my GLSL compute shader based interactive LBM fluid simulation previously described in [_Fun with compute shaders and fluid dynamics_](https://blog.kummerlaender.eu/article/fun_with_compute_shaders_and_fluid_dynamics). Not only is it now possible to interactively draw bounce back walls into the running simulation but performance was greatly improved by one tiny line:
-
- glfwSwapInterval(0);
-
-If this function is not called during GLFW window initialization the whole rendering loop is capped to 60 FPS -- including compute shader dispatching. This embarrassing oversight on my part caused the simulation to run way slower than possible.
-
-<video controls="" preload="metadata" loop="true" style="max-width:100%" poster="https://static.kummerlaender.eu/media/compustream_with_walls.poster.jpg"><source src="https://static.kummerlaender.eu/media/compustream_with_walls.mp4" type="video/mp4"/></video>
diff --git a/source/00_content/commits/nixos_system/2018_10_01_08_26_55daf8a35f4f1761f5f4c4ebe4a6dcb4b0ace514.md b/source/00_content/commits/nixos_system/2018_10_01_08_26_55daf8a35f4f1761f5f4c4ebe4a6dcb4b0ace514.md
deleted file mode 100644
index 28820ef..0000000
--- a/source/00_content/commits/nixos_system/2018_10_01_08_26_55daf8a35f4f1761f5f4c4ebe4a6dcb4b0ace514.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# Describe custom gitolite and cgit setup
-
-Replaces short-term Gitea instance on `code.kummerlaender.eu`.
-
-The main reason for implementing this more complex setup is that Gitea
-both lacks in features in areas that I care about and provides distracting
-features in other areas that I do not use.
-
-e.g. Gitea provides multi-user, discussion and organization support but doesn't provide
-Atom feeds which are required for [Overview](https://tree.kummerlaender.eu/projects/xslt/overview/).
-
-This is why exposing [gitolite](http://gitolite.com)-managed repositories
-via [cgit](https://git.zx2c4.com/cgit/about/) is a better fit for my usecases.
-
-Note that gitolite is further configured outside of Nix through its own admin repository.
-
-As a side benefit `pkgs.kummerlaender.eu` now provides further archive
-formats of its Nix expressions which simplifies Nix channel usage.
diff --git a/source/00_content/commits/slang/2017_04_13_21_51_d2126fe52fd3c002631e66fa7d6e2d5cd8862bea.md b/source/00_content/commits/slang/2017_04_13_21_51_d2126fe52fd3c002631e66fa7d6e2d5cd8862bea.md
deleted file mode 100644
index ad39eee..0000000
--- a/source/00_content/commits/slang/2017_04_13_21_51_d2126fe52fd3c002631e66fa7d6e2d5cd8862bea.md
+++ /dev/null
@@ -1,21 +0,0 @@
-# Implement deferred word, conditional resolution
-
-Due to the non-trivial way tokens were previously processed the compiler could not safely perform tail-call elimination. Thus the _slang_ evaluation depth was restricted by the maximum call stack size.
-
-This issue is mitigated by introducing deferred word resolution - i.e. pushing expanded tokens onto a buffer stack and processing them in an explicit loop.
-
-This change ties into the implementation of the language's conditional primitive. The previous implementation did implicitly not support direct nesting of conditional expressions such as:
-
- truthA if
- mainBranch
- truthB if
- secondaryMainBranch
- then else
- then
- alternativeBranch
- else
-
-This issue is now made explicit by disallowing direct nesting of conditionals as depicted above. Appropriate exceptions are generated when required and the conditional primitive is reimplemented in a more robust fashion under the assumption that this rule holds. Note that nesting is still fully supported iff. the nested conditional is contained in a deferredly evaluated word. As a positive side effect this will make it slightly harder to generate unreadable code by forcing developers to write simpler words.
-
-The main change of the conditional primitive lies in deferring branch token processing until the conditional expression is concluded by `else`. This is achieved by capturing non-dropped tokens in an internal buffer akin to how the word definition operator `§` is implemented.
-The branch buffer is discharged after `else` is evaluated. Discharging is triggered via the newly introduced `result` method of the primitive evaluation module. This avenue for injecting tokens into the processing stream may be used by further primitives in the future.
diff --git a/source/00_content/meta.xml b/source/00_content/meta.xml
index 9897e1e..755c505 100644
--- a/source/00_content/meta.xml
+++ b/source/00_content/meta.xml
@@ -3,13 +3,9 @@
<title>kummerlaender.eu</title>
<url>https://kummerlaender.eu</url>
<author>Adrian Kummerländer</author>
- <description>Overview of kummerlaender.eu; blog and commit timeline aggregator</description>
- <timeline>
- <commit_count>32</commit_count>
- </timeline>
+ <description>Overview of *.kummerlaender.eu</description>
<overview>
<article_count>3</article_count>
- <commit_count>16</commit_count>
+ <blip_count>6</blip_count>
</overview>
- <repository_base>https://code.kummerlaender.eu</repository_base>
</datasource>
diff --git a/source/01_raw/blip_feed.xsl b/source/01_raw/blip_feed.xsl
new file mode 100644
index 0000000..3ebebba
--- /dev/null
+++ b/source/01_raw/blip_feed.xsl
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:InputXSLT="function.inputxslt.application"
+ exclude-result-prefixes="InputXSLT"
+>
+
+<xsl:include href="[utility/datasource.xsl]"/>
+<xsl:include href="[utility/remove_namespace.xsl]"/>
+
+<xsl:variable name="meta">
+ <datasource type="main" mode="full" source="00_content/blip_feed.xml" target="feed"/>
+ <datasource type="support" mode="full" source="00_content/meta.xml" target="meta"/>
+ <target mode="plain" value="blip_feed.xml"/>
+</xsl:variable>
+
+<xsl:template match="feed">
+ <xsl:apply-templates mode="remove_namespace" select="entry[position() &lt;= $root/meta/overview/blip_count]"/>
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/source/01_raw/article_feed.xsl b/source/01_raw/blog_feed.xsl
index 18c8d51..bb555fc 100644
--- a/source/01_raw/article_feed.xsl
+++ b/source/01_raw/blog_feed.xsl
@@ -10,9 +10,9 @@
<xsl:include href="[utility/remove_namespace.xsl]"/>
<xsl:variable name="meta">
- <datasource type="main" mode="full" source="00_content/article_feed.xml" target="feed"/>
+ <datasource type="main" mode="full" source="00_content/blog_feed.xml" target="feed"/>
<datasource type="support" mode="full" source="00_content/meta.xml" target="meta"/>
- <target mode="plain" value="article_feed.xml"/>
+ <target mode="plain" value="blog_feed.xml"/>
</xsl:variable>
<xsl:template match="feed">
diff --git a/source/02_augment/articles.xsl b/source/02_augment/articles.xsl
index e3eaf6f..771c0f8 100644
--- a/source/02_augment/articles.xsl
+++ b/source/02_augment/articles.xsl
@@ -7,7 +7,7 @@
<xsl:include href="[utility/datasource.xsl]"/>
<xsl:variable name="meta">
- <datasource type="main" mode="full" source="01_raw/article_feed.xml" target="articles"/>
+ <datasource type="main" mode="full" source="01_raw/blog_feed.xml" target="articles"/>
<target mode="plain" value="articles.xml"/>
</xsl:variable>
diff --git a/source/02_augment/blips.xsl b/source/02_augment/blips.xsl
new file mode 100644
index 0000000..f3a01b4
--- /dev/null
+++ b/source/02_augment/blips.xsl
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+>
+
+<xsl:include href="[utility/datasource.xsl]"/>
+
+<xsl:variable name="meta">
+ <datasource type="main" mode="full" source="01_raw/blip_feed.xml" target="blips"/>
+ <target mode="plain" value="blips.xml"/>
+</xsl:variable>
+
+<xsl:template match="id" mode="blip"/>
+
+<xsl:template match="author" mode="blip">
+ <xsl:copy>
+ <xsl:value-of select="name"/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="updated" mode="blip">
+ <date>
+ <xsl:value-of select="substring(., 0, 11)"/>
+ </date>
+</xsl:template>
+
+<xsl:template match="link" mode="blip">
+ <link>
+ <xsl:value-of select="@href"/>
+ </link>
+</xsl:template>
+
+<xsl:template match="content[@type = 'xhtml']" mode="blip">
+ <content>
+ <xsl:apply-templates select="node()" mode="blip"/>
+ </content>
+</xsl:template>
+
+<xsl:template match="@* | node()" mode="blip">
+ <xsl:copy>
+ <xsl:apply-templates select="@* | node()" mode="blip"/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="blips">
+ <xsl:apply-templates select="entry" mode="blip"/>
+</xsl:template>
+
+</xsl:stylesheet>
diff --git a/source/03_merge/timeline.xsl b/source/03_merge/timeline.xsl
deleted file mode 100644
index 2813b80..0000000
--- a/source/03_merge/timeline.xsl
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet
- version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
->
-
-<xsl:include href="[utility/datasource.xsl]"/>
-
-<xsl:variable name="meta">
- <datasource type="main" mode="full" source="01_raw/commits.xml" target="timeline"/>
- <target mode="plain" value="timeline.xml"/>
-</xsl:variable>
-
-<xsl:template match="@* | node()" mode="commit">
- <xsl:copy>
- <xsl:apply-templates select="@* | node()" mode="commit"/>
- </xsl:copy>
-</xsl:template>
-
-<xsl:template match="timeline">
- <xsl:apply-templates select="entry" mode="commit">
- <xsl:sort select="date" data-type="text" order="descending"/>
- <xsl:sort select="date/@time" data-type="text" order="descending"/>
- </xsl:apply-templates>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/source/99_result/overview.xsl b/source/99_result/overview.xsl
index 5a319b8..9a14e01 100644
--- a/source/99_result/overview.xsl
+++ b/source/99_result/overview.xsl
@@ -18,9 +18,9 @@
<xsl:include href="[utility/date-time.xsl]"/>
<xsl:variable name="meta">
- <datasource type="main" mode="full" source="00_content/meta.xml" target="meta"/>
- <datasource type="support" mode="full" source="02_augment/articles.xml" target="articles"/>
- <datasource type="support" mode="full" source="03_merge/timeline.xml" target="timeline"/>
+ <datasource type="main" mode="full" source="00_content/meta.xml" target="meta"/>
+ <datasource type="support" mode="full" source="02_augment/articles.xml" target="articles"/>
+ <datasource type="support" mode="full" source="02_augment/blips.xml" target="timeline"/>
<target mode="plain" value="index.html"/>
</xsl:variable>
@@ -31,7 +31,7 @@
<span class="arrow">
<xsl:text>» </xsl:text>
</span>
- <a href="{$root/meta/repository_base}/{@repo}/commit/?id={@hash}">
+ <a href="{link}">
<xsl:value-of select="title"/>
</a>
</h3>
@@ -41,18 +41,8 @@
<xsl:with-param name="date" select="date"/>
<xsl:with-param name="format" select="'M x, Y'"/>
</xsl:call-template>
- <xsl:text> at </xsl:text>
- <xsl:value-of select="date/@time"/>
- <xsl:text> | </xsl:text>
- <a href="{$root/meta/repository_base}/{@repo}/">
- <xsl:value-of select="@repo"/>
- </a>
<xsl:text> | </xsl:text>
- <a href="{$root/meta/repository_base}/{@repo}/commit/?id={@hash}">
- <xsl:value-of select="substring(@hash,0,7)"/>
- </a>
- <xsl:text> | </xsl:text>
- <xsl:value-of select="$root/meta/author"/>
+ <xsl:value-of select="author"/>
</span>
<xsl:apply-templates select="content/node()" mode="xhtml"/>
@@ -148,7 +138,7 @@
<div class="normal menuhead">
<h2>
- <a href="{$root/meta/repository_base}">
+ <a href="https://blip.kummerlaender.eu">
<xsl:text>Selected commits</xsl:text>
</a>
</h2>
@@ -160,12 +150,12 @@
<a href="https://tree.kummerlaender.eu/projects">Projects</a>
</li>
<li>
- <a href="{$root/meta/url}/timeline.xml">Feed</a>
+ <a href="https://blip.kummerlaender.eu/timeline.xml">Feed</a>
</li>
</ul>
</div>
- <xsl:apply-templates select="timeline/entry[position() &lt;= $root/meta/overview/commit_count]"/>
+ <xsl:apply-templates select="timeline/entry"/>
</div>
</body>
</html>
diff --git a/source/99_result/timeline.xsl b/source/99_result/timeline.xsl
deleted file mode 100644
index 5c4630c..0000000
--- a/source/99_result/timeline.xsl
+++ /dev/null
@@ -1,78 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet
- version="1.0"
- xmlns="http://www.w3.org/2005/Atom"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
->
-
-<xsl:output
- method="xml"
- omit-xml-declaration="no"
- encoding="UTF-8"
- indent="no"
-/>
-
-<xsl:include href="[utility/xhtml.xsl]"/>
-
-<xsl:variable name="meta">
- <datasource type="main" mode="full" source="03_merge/timeline.xml" target="timeline"/>
- <datasource type="support" mode="full" source="00_content/meta.xml" target="meta"/>
- <target mode="plain" value="timeline.xml"/>
-</xsl:variable>
-
-<xsl:variable name="root" select="/datasource"/>
-<xsl:variable name="url" select="concat($root/meta/url, '/timeline.xml')"/>
-
-<xsl:template match="timeline/entry">
- <xsl:variable name="link" select="concat($root/meta/repository_base, '/', @repo, '/commits/?id=', @hash)"/>
-
- <entry xmlns="http://www.w3.org/2005/Atom">
- <id>
- <xsl:value-of select="$link"/>
- </id>
- <title>
- <xsl:value-of select="title"/>
- </title>
- <link rel="alternate" title="{title}" href="$link"/>
- <author>
- <name>
- <xsl:value-of select="$root/meta/author"/>
- </name>
- </author>
- <updated>
- <xsl:value-of select="date"/>
- <xsl:text>T</xsl:text>
- <xsl:value-of select="date/@time"/>
- <xsl:text>:00+02:00</xsl:text>
- </updated>
- <content type="xhtml">
- <div xmlns="http://www.w3.org/1999/xhtml">
- <xsl:apply-templates select="content/*" mode="xhtml"/>
- </div>
- </content>
- </entry>
-</xsl:template>
-
-<xsl:template match="datasource">
- <feed>
- <link href="{$url}" rel="self" title="{$root/meta/title}" type="application/atom+xml"/>
-
- <id>
- <xsl:value-of select="$url"/>
- </id>
- <title>
- <xsl:text>Latest commits @ </xsl:text>
- <xsl:value-of select="$root/meta/title"/>
- </title>
- <updated>
- <xsl:value-of select="timeline/entry[1]/date"/>
- <xsl:text>T</xsl:text>
- <xsl:value-of select="timeline/entry[1]/date/@time"/>
- <xsl:text>:00+02:00</xsl:text>
- </updated>
-
- <xsl:apply-templates select="timeline/entry[position() &lt;= $root/meta/timeline/commit_count]"/>
- </feed>
-</xsl:template>
-
-</xsl:stylesheet>