aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/00_content/microblog.xml1
-rw-r--r--source/99_result/archive.xsl37
2 files changed, 33 insertions, 5 deletions
diff --git a/source/00_content/microblog.xml b/source/00_content/microblog.xml
new file mode 100644
index 0000000..9188177
--- /dev/null
+++ b/source/00_content/microblog.xml
@@ -0,0 +1 @@
+<tweets><item><id>487710933163442176</id><link>https://twitter.com/KnairdA/status/487710933163442176</link><text>Blogged on mapping arrays using tuples in #Cpp11 http://t.co/vZMF4Y0o2W</text></item><item><id>482569735637594112</id><link>https://twitter.com/KnairdA/status/482569735637594112</link><text>Absurd wie Politik und Verleger-Lobby gerade versuchen #Google als den Ursprung alles B&#246;sen zu stilisieren.</text></item><item><id>481830601339961344</id><link>https://twitter.com/KnairdA/status/481830601339961344</link><text>#ArchLinux hat ja jetzt den #grsec Kernel im offiziellen Repository \o/</text></item><item><id>479351684440023042</id><link>https://twitter.com/KnairdA/status/479351684440023042</link><text>Bin den Rest der Woche auf dem Metalfest Loreley \o/</text></item><item><id>477036515827412992</id><link>https://twitter.com/KnairdA/status/477036515827412992</link><text>RT @DasDaz: Ab heute beginnen wieder die Durchwink-Wochen f&#252;r Gesetze in Deutschland! Ich bin so aufgeregt!1</text></item><item><id>476826069715419136</id><link>https://twitter.com/KnairdA/status/476826069715419136</link><text>@lifescientology Es handelt sich um ein Thinkpad x220 von Lenovo, gebraucht gekauft von Thinkspot</text></item><item><id>476737604583686144</id><link>https://twitter.com/KnairdA/status/476737604583686144</link><text>Gebrauchten Laptop gekauft, kleiner Defekt, Vor-Ort Support, Ergebnis: Neues Mainboard inkl. Prozessor und neue Tastatur; besser gehts nicht</text></item><item><id>474273025702244352</id><link>https://twitter.com/KnairdA/status/474273025702244352</link><text>Neuer Laptop: #Thinkpad #x220 mit um Welten besserer Performance als altes #t60p und endlich wieder FDE der SSD aber schlechterer Aufl&#246;sung.</text></item><item><id>452784486959570945</id><link>https://twitter.com/KnairdA/status/452784486959570945</link><text>@lifescientology Wirklich fertige Builds f&#252;r Ger&#228;te != Jolla gibt es nach meinem Stand noch nicht; Nexus 4 Port.: http://t.co/9fyyCdf5NC</text></item><item><id>452377596207308800</id><link>https://twitter.com/KnairdA/status/452377596207308800</link><text>Heute: Masters of Symphonic Metal Festival im #z7 #pratteln</text></item><item><id>450304890230046720</id><link>https://twitter.com/KnairdA/status/450304890230046720</link><text>Released a new version of my #OpenSource #Cpp library for working with structures contained within binary buffers: https://t.co/3Gd2i2bsgd</text></item><item><id>446686666083033090</id><link>https://twitter.com/KnairdA/status/446686666083033090</link><text>Je l&#228;nger ich das UI des #Jolla nutze, desto an&#173;ti&#173;quierter erscheinen mir #Android und #iOS</text></item><item><id>440183456065007616</id><link>https://twitter.com/KnairdA/status/440183456065007616</link><text>Traurig wie gerade die CDU, SPD und Gr&#252;nen ihre antidemokratische Haltung zeigen... #3prozent</text></item><item><id>435126511461359616</id><link>https://twitter.com/KnairdA/status/435126511461359616</link><text>You want a nice way of working with structures in raw binary buffers in #Cpp? Try this #OpenSource template library: https://t.co/doT12rl1AU</text></item><item><id>435125351963197440</id><link>https://twitter.com/KnairdA/status/435125351963197440</link><text>RT @gnuheidix: Mein #Jolla war eindeutig eine der besten Kaufentscheidungen, die ich je getroffen habe. :-) #fact</text></item><item><id>434333739200819200</id><link>https://twitter.com/KnairdA/status/434333739200819200</link><text>Zwei W&#246;rter die nicht zusammengeh&#246;ren: Deutsche Algorithmen</text></item><item><id>419967487753863168</id><link>https://twitter.com/KnairdA/status/419967487753863168</link><text>RT @KenRoth: A cartoon that helps Americans imagine #drones from the Yemeni perspective, by @MattBors http://t.co/4Gfp8RaWR9</text></item><item><id>419913486735376384</id><link>https://twitter.com/KnairdA/status/419913486735376384</link><text>Blogged on disabling methods in implicitly instantiated class template specializations in #Cpp http://t.co/n5ds47YJqq</text></item><item><id>417236389240258560</id><link>https://twitter.com/KnairdA/status/417236389240258560</link><text>RT @gnuheidix: Wohnen in einem Rechenzentrum muss klasse sein.Internet und Strom gegen Ausfall gesichert, sch&#246;n warm, ... *tr&#228;um*</text></item><item><id>414402141311102976</id><link>https://twitter.com/KnairdA/status/414402141311102976</link><text>@miradlo Danke :) Kann ich gerne machen.</text></item></tweets> \ No newline at end of file
diff --git a/source/99_result/archive.xsl b/source/99_result/archive.xsl
index 476b321..34dc81c 100644
--- a/source/99_result/archive.xsl
+++ b/source/99_result/archive.xsl
@@ -7,22 +7,40 @@
<xsl:include href="[utility/master.xsl]"/>
<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"/>
+ <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"/>
+ <datasource type="support" mode="full" source="source/00_content/microblog.xml" target="microblog"/>
<target mode="plain" value="archive/index.html"/>
</xsl:variable>
<xsl:template name="title-text">Archive</xsl:template>
+<xsl:template match="datasource">
+ <div class="archiv columns">
+ <xsl:apply-templates />
+ </div>
+</xsl:template>
+
<xsl:template match="articles">
- <div class="left articlelist archivlist">
- Past articles:
+ <div class="column articlelist archivlist">
+ <xsl:text>Past articles:</xsl:text>
<ol>
- <xsl:apply-templates />
+ <xsl:apply-templates select="entry"/>
</ol>
</div>
</xsl:template>
+<xsl:template match="microblog">
+ <div class="column taglist archivtag">
+ <div>
+ <a href="https://twitter.com/KnairdA">Microblog:</a>
+ <ul class="tweetlist">
+ <xsl:apply-templates select="item[substring(text, 1, 1) != '@'][position() &lt;= 7]" />
+ </ul>
+ </div>
+ </div>
+</xsl:template>
+
<xsl:template match="articles/entry">
<li class="dateitem">
<xsl:value-of select="@handle"/>
@@ -38,4 +56,13 @@
</li>
</xsl:template>
+<xsl:template match="microblog/item">
+ <li>
+ <em>ยป</em>
+ <a href="{link}">
+ <xsl:value-of select="text" disable-output-escaping="yes" />
+ </a>
+ </li>
+</xsl:template>
+
</xsl:stylesheet>