<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,7 +5,6 @@ Copyright (c) 2005  Dustin Sallings &lt;dustin@spy.net&gt;
 &quot;&quot;&quot;
 
 from django.contrib.syndication.feeds import Feed
-from django.contrib.comments.feeds import LatestFreeCommentsFeed
 from rockstar.apps.blog.models import Post, Tag
 
 class Full(Feed):
@@ -49,13 +48,3 @@ class Unreleased(Full):
     
     def items(self):
         return Post.objects.order_by('-post_date', '-id')[:10]
-
-class Comments(LatestFreeCommentsFeed):
-    title = &quot;RockStarProgrammer Recent Comments&quot;
-    description = &quot;Recent comments at RockStarProgrammer&quot;
-
-    def item_author_name(self, item):
-        return item.person_name
-
-    def item_pubdate(self, item):
-        return item.submit_date</diff>
      <filename>code/blogfeeds.py</filename>
    </modified>
    <modified>
      <diff>@@ -82,7 +82,6 @@ INSTALLED_APPS = (
     'django.contrib.admin',
     'django.contrib.flatpages',
     'django.contrib.redirects',
-    'django.contrib.comments',
     'django.contrib.sitemaps',
     'django.contrib.markup',
     'rockstar.apps.blog',</diff>
      <filename>code/settings.py</filename>
    </modified>
    <modified>
      <diff>@@ -12,8 +12,7 @@ info_dict = {
 feeds = {
     'full': blogfeeds.Full,
     'summary': blogfeeds.Summary,
-    'fullunreleased': blogfeeds.Unreleased,
-    'comments': blogfeeds.Comments,
+    'fullunreleased': blogfeeds.Unreleased
 }
 
 class SpecificPage(Sitemap):
@@ -49,8 +48,6 @@ urlpatterns = patterns('',
     (r'^rss/(?P&lt;url&gt;.*)/$', 'django.contrib.syndication.views.feed',
         {'feed_dict': feeds}),
 
-    (r'^comments/', include('django.contrib.comments.urls.comments')),
-
     (r'^all/', 'django.views.generic.date_based.archive_index',
         {'template_name': 'index.html',
             'queryset': Post.objects.all(), 'date_field': 'post_date'}),</diff>
      <filename>code/urls.py</filename>
    </modified>
    <modified>
      <diff>@@ -13,8 +13,6 @@
 			title=&quot;RockStarProgrammer Blog&quot; href=&quot;/rss/full/&quot;/&gt;
 		&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;
 			title=&quot;RockStarProgrammer Blog (summarized)&quot; href=&quot;/rss/summary/&quot;/&gt;
-		&lt;link rel=&quot;alternate&quot; type=&quot;application/rss+xml&quot;
-			title=&quot;Comments&quot; href=&quot;/rss/comments/&quot;/&gt;
 		&lt;script type=&quot;text/javascript&quot;
 			src=&quot;http://public.west.spy.net/ufo.js&quot;&gt;&lt;/script&gt;
 		&lt;meta name=&quot;verify-v1&quot;
@@ -46,8 +44,6 @@
 			src=&quot;/media/img/rss-icon.png&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
 		&lt;li&gt;&lt;a href=&quot;/rss/summary/&quot;&gt;summary &lt;img
 			alt=&quot;rss&quot; src=&quot;/media/img/rss-icon.png&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
-		&lt;li&gt;&lt;a href=&quot;/rss/comments/&quot;&gt;comments &lt;img
-			alt=&quot;rss&quot; src=&quot;/media/img/rss-icon.png&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
 		&lt;li&gt;&lt;a href=&quot;pcast://www.rockstarprogrammer.org/rss/full/&quot;&gt;&lt;img
 			alt=&quot;podcast&quot; title=&quot;podcast&quot;  src=&quot;/media/img/podcast.png&quot;/&gt;&lt;/a&gt;&lt;/li&gt;
 	&lt;/ul&gt;
@@ -84,5 +80,6 @@ google_color_url = &quot;999999&quot;;
 _uacct = &quot;UA-679821-2&quot;;
 urchinTracker();
 &lt;/script&gt;
+	{% block bottom %}{% endblock %}
 	&lt;/body&gt;
 &lt;/html&gt;</diff>
      <filename>templates/base.html</filename>
    </modified>
    <modified>
      <diff>@@ -2,8 +2,6 @@
 
 {% block extendedtitle %}Recent Posts{% endblock %}
 
-{% load comments %}
-
 {% block altnav %}
 	&lt;h1&gt;Table of Contents&lt;/h1&gt;
 	&lt;ul&gt;
@@ -28,8 +26,6 @@
 
 {% for post in latest %}
 
-	{% get_free_comment_count for blog.post post.id as comment_count %}
-
 	&lt;a name=&quot;post{{post.id}}&quot;&gt;&lt;/a&gt;
 	&lt;div class=&quot;blogentry {% if not post.released %}unreleased{% endif %}&quot;&gt;
 		&lt;div class=&quot;date&quot;&gt;{{post.post_date}}&lt;/div&gt;
@@ -53,11 +49,26 @@
 			&lt;/div&gt;
 		{% endif %}
 		&lt;p class=&quot;postmeta&quot;&gt;
-			&lt;a href=&quot;/post/{{post.post_date|date:&quot;Y/M/d&quot;|lower}}/{{post.slug}}/#comments&quot;&gt;
-			{{ comment_count }} comment{{ comment_count|pluralize }}
-			&lt;/a&gt;
+			&lt;a href=&quot;/post/{{post.post_date|date:&quot;Y/M/d&quot;|lower}}/{{post.slug}}/#disqus_thread&quot;&gt;Comments&lt;/a&gt;
 		&lt;/p&gt;
 	&lt;/div&gt;
 {% endfor %}
 
 {% endblock %}
+
+{% block bottom %}
+&lt;script type=&quot;text/javascript&quot;&gt;
+//&lt;![CDATA[
+(function() {
+		var links = document.getElementsByTagName('a');
+		var query = '?';
+		for(var i = 0; i &lt; links.length; i++) {
+			if(links[i].href.indexOf('#disqus_thread') &gt;= 0) {
+				query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&amp;';
+			}
+		}
+		document.write('&lt;script type=&quot;text/javascript&quot; src=&quot;http://disqus.com/forums/rsp/get_num_replies.js' + query + '&quot;&gt;&lt;/' + 'script&gt;');
+	})();
+//]]&gt;
+&lt;/script&gt;
+{% endblock %}</diff>
      <filename>templates/index.html</filename>
    </modified>
    <modified>
      <diff>@@ -1,20 +1,6 @@
 {% extends &quot;base-extended.html&quot; %}
 {% block extendedtitle %}{{object.title|safe}}{% endblock %}
 
-{% load comments %}
-
-{% block extrastyle %}
-&lt;style type=&quot;text/css&quot;&gt;
-.comment {
-}
-.commenttext {
-	font-size: smaller;
-	padding-left: 2em;
-	border-bottom: solid 1px;
-}
-&lt;/style&gt;
-{% endblock %}
-
 {% block content %}
 &lt;div class=&quot;blogentry {% if not object.released %}unreleased{% endif %}&quot;&gt;
 	&lt;div class=&quot;date&quot;&gt;{{object.post_date}}&lt;/div&gt;
@@ -40,34 +26,10 @@
 		{% endif %}
 &lt;/div&gt;
 
-{% get_free_comment_list for blog.post object.id as comment_list %}
-
-&lt;div id=&quot;commentContainer&quot;&gt;
-
-&lt;h2&gt;&lt;a name=&quot;comments&quot;&gt;Comments&lt;/a&gt;&lt;/h2&gt;
-
-{% for comment in comment_list %}
-&lt;div class=&quot;comment&quot; id=&quot;c{{ comment.id }}&quot;&gt;
-	&lt;h3&gt;&lt;a name=&quot;c{{ comment.id }}&quot;&gt;{{ comment.person_name }}, at
-	{{ comment.submit_date|date:&quot;F j, Y&quot; }} {{ comment.submit_date|date:&quot;P&quot; }},
-	said:&lt;/a&gt;&lt;/h3&gt;
-	&lt;div class=&quot;commenttext&quot;&gt;
-		{{ comment.comment|escape|urlizetrunc:&quot;40&quot;|linebreaks }}
-	&lt;/div&gt;
-&lt;/div&gt;
-{% endfor %}
-
-{% if object.comments_allowed %}
-&lt;h2&gt;Post a Comment&lt;/h2&gt;
-&lt;div id=&quot;commentform&quot;&gt;
-{% free_comment_form for blog.post object.id %}
-&lt;/div&gt;
-{% else %} 
-	&lt;div class=&quot;nocomments&quot;&gt;
-		New comments are not being accepted for this post.
-	&lt;/div&gt;
-{% endif %}
-
-&lt;/div&gt;
+&lt;div id=&quot;disqus_thread&quot;&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot;
+src=&quot;http://disqus.com/forums/rsp/embed.js&quot;&gt;&lt;/script&gt;&lt;noscript&gt;&lt;a
+href=&quot;http://rsp.disqus.com/?url=ref&quot;&gt;View the discussion
+thread.&lt;/a&gt;&lt;/noscript&gt;&lt;a href=&quot;http://disqus.com&quot; class=&quot;dsq-brlink&quot;&gt;blog
+comments powered by &lt;span class=&quot;logo-disqus&quot;&gt;Disqus&lt;/span&gt;&lt;/a&gt;
 
 {% endblock %}</diff>
      <filename>templates/post.html</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>templates/comments/free_preview.html</filename>
    </removed>
    <removed>
      <filename>templates/comments/posted.html</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>0322eeeb44120dd3d1c0c4a7a67c67af0ee5d701</id>
    </parent>
  </parents>
  <author>
    <name>Dustin Sallings</name>
    <email>dustin@spy.net</email>
  </author>
  <url>http://github.com/dustin/rsp/commit/0faeb42e5f18ada7bcdf1a9779ff9447ccbfabc3</url>
  <id>0faeb42e5f18ada7bcdf1a9779ff9447ccbfabc3</id>
  <committed-date>2008-09-19T13:25:07-07:00</committed-date>
  <authored-date>2008-09-19T13:25:07-07:00</authored-date>
  <message>Removed comment code, switched to disqus</message>
  <tree>66b12d7c9ddc2cea2b90102fb7ba1a8521a5c7c7</tree>
  <committer>
    <name>Dustin Sallings</name>
    <email>dustin@spy.net</email>
  </committer>
</commit>
