From ee1786edd7972f9ff55fc8abb90a6d981d66998e Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 24 Oct 2014 18:59:25 +0200 Subject: Added timeline ATOM feed and removed XHTML target * moved repository feeds to `repository` directory * replaced paginated XHTML timeline target with and ATOM feed ** removed `paginated_timeline.xsl` transformation including the `04_meta` level ** removed CSS and master stylesheets * added title, url and commit count meta data to `meta.xml` * expanded ATOM feed URLs * timeline feed has an upper limit of `commit_count` items ** repository feeds have the same limit because only `commit_count` commits of every repository are fetched in the first place --- source/00_content/meta.xml | 5 ++ source/00_content/repositories.xml | 1 + source/01_raw/commits.xsl | 7 +- source/02_augment/commits.xsl | 59 +++++++++++++++++ source/02_augment/formatted_commits.xsl | 59 ----------------- source/03_merge/timeline.xsl | 2 +- source/04_meta/paginated_timeline.xsl | 24 ------- source/99_result/feed/atom.xsl | 81 ----------------------- source/99_result/main.css | 20 ------ source/99_result/repository/atom.xsl | 81 +++++++++++++++++++++++ source/99_result/stream.xsl | 110 -------------------------------- source/99_result/timeline.xsl | 101 +++++++++++++++++++++++++++++ utility/master.xsl | 35 ---------- 13 files changed, 251 insertions(+), 334 deletions(-) create mode 100644 source/02_augment/commits.xsl delete mode 100644 source/02_augment/formatted_commits.xsl delete mode 100644 source/04_meta/paginated_timeline.xsl delete mode 100644 source/99_result/feed/atom.xsl delete mode 100644 source/99_result/main.css create mode 100644 source/99_result/repository/atom.xsl delete mode 100644 source/99_result/stream.xsl create mode 100644 source/99_result/timeline.xsl delete mode 100644 utility/master.xsl diff --git a/source/00_content/meta.xml b/source/00_content/meta.xml index b802002..56bbb9d 100644 --- a/source/00_content/meta.xml +++ b/source/00_content/meta.xml @@ -1,4 +1,9 @@ + + CommitLog + http://localhost:8000 + 20 + http://code.kummerlaender.eu commit/?id= diff --git a/source/00_content/repositories.xml b/source/00_content/repositories.xml index fc4d47e..d7b0f05 100644 --- a/source/00_content/repositories.xml +++ b/source/00_content/repositories.xml @@ -1,3 +1,4 @@ + ~/projects/dev/InputXSLT diff --git a/source/01_raw/commits.xsl b/source/01_raw/commits.xsl index c606030..b5fe201 100644 --- a/source/01_raw/commits.xsl +++ b/source/01_raw/commits.xsl @@ -9,16 +9,15 @@ - + + -20 - diff --git a/source/02_augment/commits.xsl b/source/02_augment/commits.xsl new file mode 100644 index 0000000..27f9bcd --- /dev/null +++ b/source/02_augment/commits.xsl @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + markdown + + + + + + + + + + + + + + + + + diff --git a/source/02_augment/formatted_commits.xsl b/source/02_augment/formatted_commits.xsl deleted file mode 100644 index fed8c94..0000000 --- a/source/02_augment/formatted_commits.xsl +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - markdown - - - - - - - - - - - - - - - - - diff --git a/source/03_merge/timeline.xsl b/source/03_merge/timeline.xsl index 0bed670..ebf7b44 100644 --- a/source/03_merge/timeline.xsl +++ b/source/03_merge/timeline.xsl @@ -8,7 +8,7 @@ - + diff --git a/source/04_meta/paginated_timeline.xsl b/source/04_meta/paginated_timeline.xsl deleted file mode 100644 index cb25d3b..0000000 --- a/source/04_meta/paginated_timeline.xsl +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - -20 - - - - - - - - - diff --git a/source/99_result/feed/atom.xsl b/source/99_result/feed/atom.xsl deleted file mode 100644 index e59a3a6..0000000 --- a/source/99_result/feed/atom.xsl +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - <xsl:value-of select="$title"/> - - - - T - - :00+02:00 - - - - - - - - - - - - - <xsl:value-of select="message/h1"/> - - - - - - - -
- -
-
- - - T - - :00+02:00 - -
-
- -
diff --git a/source/99_result/main.css b/source/99_result/main.css deleted file mode 100644 index 0452889..0000000 --- a/source/99_result/main.css +++ /dev/null @@ -1,20 +0,0 @@ -body{margin:1em;padding:0;font:1em Droid Sans,sans-serif,Verdana,Arial,FreeSans;color:#272828;word-wrap:break-word} -a{text-decoration:underline;color:#272828} -a:hover{color:black} -p{padding:0;margin:0} -h2{font-size:1.4em;margin:0;color:#F80} -h2 a{font-size:.8em;text-decoration:none;color:#272828;font-weight:normal;display:inline-block;vertical-align:middle;max-width:95%} -h2 a:hover{text-decoration:underline} -ul{padding:0;margin:0 0 0 2.5em} -ul li{list-style-type:circle;margin:.2em 0 .2em 0} -ul li a{background:0} -p.info{font-size:.8em;margin-bottom:.5em;margin-left:1.5em} -p.info a{text-decoration:none;color:#272828;margin:0 .1em 0 .1em} -p.info a:hover{text-decoration:underline} -.commit{border-bottom:.3em dotted #e3e8e8;padding-bottom:.5em;overflow:hidden} -#pagination{height:1.5em;margin-top:.5em} -#pagination span.disabled{display:none} -#pagination span a{text-decoration:none;color:#272828} -#pagination span a:hover{text-decoration:underline} -#pagination span a.pagination-previous{float:left} -#pagination span a.pagination-next{float:right} diff --git a/source/99_result/repository/atom.xsl b/source/99_result/repository/atom.xsl new file mode 100644 index 0000000..f858dea --- /dev/null +++ b/source/99_result/repository/atom.xsl @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$title"/> + + + + T + + :00+02:00 + + + + + + + + + + + + + <xsl:value-of select="message/h1"/> + + + + + + + +
+ +
+
+ + + T + + :00+02:00 + +
+
+ +
diff --git a/source/99_result/stream.xsl b/source/99_result/stream.xsl deleted file mode 100644 index 5c037d6..0000000 --- a/source/99_result/stream.xsl +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - -
-

- » - - - -

-

- - - - - at - - | - - - - - - - - | - - - - - - - -

- - -
-
- - - - - - - - - - - - - - -
diff --git a/source/99_result/timeline.xsl b/source/99_result/timeline.xsl new file mode 100644 index 0000000..4793e8c --- /dev/null +++ b/source/99_result/timeline.xsl @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="$commit/message/h1"/> + + + + + + + +
+ +
+
+ + + T + + :00+02:00 + +
+
+ + + + + + + + + + <xsl:value-of select="$root/meta/title"/> + + + + T + + :00+02:00 + + + + + + + + + + + + + +
diff --git a/utility/master.xsl b/utility/master.xsl deleted file mode 100644 index 4f3597c..0000000 --- a/utility/master.xsl +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3