aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/article
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-08 20:32:34 +0200
committerAdrian Kummerlaender2014-09-08 20:32:34 +0200
commitb56eae17175abe0ecac665cf86af9aefab85a6e0 (patch)
treeb723d971e882b77b0fd6e9e3a9722b120d846f18 /source/99_result/article
parent5120c617bfa7732aef77a8c8e67707081446aa61 (diff)
downloadblog.kummerlaender.eu-b56eae17175abe0ecac665cf86af9aefab85a6e0.tar
blog.kummerlaender.eu-b56eae17175abe0ecac665cf86af9aefab85a6e0.tar.gz
blog.kummerlaender.eu-b56eae17175abe0ecac665cf86af9aefab85a6e0.tar.bz2
blog.kummerlaender.eu-b56eae17175abe0ecac665cf86af9aefab85a6e0.tar.lz
blog.kummerlaender.eu-b56eae17175abe0ecac665cf86af9aefab85a6e0.tar.xz
blog.kummerlaender.eu-b56eae17175abe0ecac665cf86af9aefab85a6e0.tar.zst
blog.kummerlaender.eu-b56eae17175abe0ecac665cf86af9aefab85a6e0.zip
Added basic isso commenting system integration
* [isso](http://posativ.org/isso/) is a Disqus like commenting system written in Python ** self-hosted i.e. no privacy implications ** lightweight and provides all the features I require for this blog * I thought about implementing a commenting system in InputXSLT but sadly I just don't have the time to think of and implement a reasonable XSLT based solution ** maybe a simple REST service for pushing XML from the client into article-dependend comment directories can be implemented in the future * added basic CSS styling for isso comments simmilar to how they currently look in the old Symphony CMS based blog
Diffstat (limited to 'source/99_result/article')
-rw-r--r--source/99_result/article/article.xsl8
1 files changed, 7 insertions, 1 deletions
diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl
index b3046b5..656c136 100644
--- a/source/99_result/article/article.xsl
+++ b/source/99_result/article/article.xsl
@@ -18,7 +18,7 @@
</xsl:template>
<xsl:template match="article/entry">
- <div class="last article">
+ <div class="article">
<h2>
<xsl:text>ยป </xsl:text>
<a href="{$url}/article/{@handle}">
@@ -41,6 +41,12 @@
</p>
<xsl:copy-of select="content/node()"/>
</div>
+
+ <div id="isso-thread"></div>
+
+ <script type="text/javascript" src="/comments/js/embed.min.js" data-isso-avatar="false" data-isso-vote="false" data-isso-css="false">
+ <xsl:text> </xsl:text>
+ </script>
</xsl:template>
</xsl:stylesheet>