Permalink
Browse files

Integrated Disqus and Get Satisfaction

  • Loading branch information...
1 parent 1f0a6e9 commit 60ab8b6856d6ae9276b4706696df90cc9c1ba8d9 Lakshmi Vyasarajan committed Jan 20, 2009
View
@@ -1,6 +1,7 @@
{% extends "_post.html" %}
{%hyde
title : About Everything
+ no_comments: True
%}
View
@@ -0,0 +1,33 @@
+application: ringceweb
+version: 1
+runtime: python
+api_version: 1
+
+handlers:
+- url: /(ringce\.html)?
+ static_files: ringce.html
+ upload: ringce.html
+
+- url: /media
+ static_dir: media
+
+- url: /media/css/(.*)\.syn
+ static_files: media/css/\1.syn
+ mime_type: text/css
+ upload: media/css/(.*)\.syn
+
+- url: /about
+ static_dir: about
+
+- url: /code
+ static_dir: code
+
+- url: /blog
+ static_dir: blog
+
+- url: /products
+ static_dir: products
+
+- url: /((?:\w/)*?)(\w)/?
+ static_files: \1/\2/\2.html
+ upload: ((?:\w/)*?)(\w)/?.html
View
@@ -62,6 +62,14 @@
{% endblock %}
{% block endbody %}
+<style type='text/css'>@import url('http://s3.amazonaws.com/getsatisfaction.com/feedback/feedback.css');</style>
+<script src='http://s3.amazonaws.com/getsatisfaction.com/feedback/feedback.js' type='text/javascript'></script>
+<script type="text/javascript" charset="utf-8">
+ var tab_options = {}
+ tab_options.placement = "right"; // left, right, bottom, hidden
+ tab_options.color = "#333"; // hex (#FF0000) or color (red)
+ GSFN.feedback('http://getsatisfaction.com/ringce/feedback/topics/new?display=overlay&style=idea', tab_options);
+</script>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/lakshmivyas.json?callback=twitterCallback2&amp;count=2"></script>
{% endblock %}
View
@@ -20,4 +20,7 @@
{% endexcerpt %}
{% block article%}{% endblock %}
</div>
-{% endblock %}
+{% block comments %}
+{% include "skeleton/_disqus.html" %}
+{% endblock %}
+{% endblock %}
View
@@ -2,12 +2,12 @@
{% block content_body %}
<div id="post-content">
{% markdown %}
-
{% block article %}
-
{% endblock %}
-
{%endmarkdown%}
-
</div>
-{% endblock %}
+{% block comments %}
+{% include "skeleton/_disqus.html" %}
+{% endblock %}
+{% endblock %}
+
@@ -0,0 +1,6 @@
+{% if not page.no_comments %}
+<div id="disqus-comments">
+<div id="disqus_thread"></div>
+<script type="text/javascript" src="http://disqus.com/forums/ringce/embed.js"></script><noscript><a href="http://ringce.disqus.com/?url=ref">View the discussion thread.</a></noscript><a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
+</div>
+{% endif %}
View
@@ -502,6 +502,17 @@ body {
color: #649064;
}
+#disqus-comments{
+ padding: 2em;
+ padding-top:0;
+ margin-top: -2em;
+ color: #333;
+}
+
+#disqus-comments h3{
+ border:0;
+}
+
.goalce-soon{
text-align:center;
}
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 60ab8b6

Please sign in to comment.