<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,7 +2,7 @@ require 'hpricot'
 require 'open-uri'
 
 class RssFeed &lt; ActiveRecord::Base
-  has_many :rss_articles
+  has_many :rss_articles, :dependent =&gt; :delete_all
   
   validates_presence_of :title
   validates_presence_of :url
@@ -28,6 +28,10 @@ class RssFeed &lt; ActiveRecord::Base
           time_offset += 1
         end
         
+        # Fix the content to be HTML once again...
+        rss_article.title = bring_back_the_html(rss_article.title)
+        rss_article.content = bring_back_the_html(rss_article.content)
+        
         rss_article.save()
       end
     end
@@ -47,6 +51,15 @@ class RssFeed &lt; ActiveRecord::Base
     the_rss
   end
   
+  def bring_back_the_html(stringy)
+    stringy.gsub!('&amp;lt;', '&lt;')
+    stringy.gsub!('&amp;gt;', '&gt;')
+    stringy.gsub!('&amp;amp;', '&amp;')
+    stringy.gsub!('&amp;#39;', &quot;'&quot;)
+    stringy.gsub!('&amp;quot;', '&quot;')
+    stringy
+  end
+  
   def test_feed
     f = open('/Users/daniel/Desktop/SW.xml', 'r')
     sw = f.read</diff>
      <filename>app/models/rss_feed.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,8 +1,8 @@
-&lt;div clas=&quot;article&quot;&gt;
+&lt;div class=&quot;article&quot;&gt;
     &lt;div class=&quot;article_header&quot;&gt;
-        &lt;h2&gt;&lt;%= link_to h(article.title), article.link %&gt; (&lt;%= article.rss_feed.title %&gt;)&lt;/h2&gt;
+        &lt;h2&gt;&lt;%= link_to h(article.title), article.link %&gt;&lt;/h2&gt;
         
-        &lt;span&gt;&lt;%= article.published.strftime('%A, %B %d, %Y @ %I:%M %p') %&gt;&lt;/span&gt;
+        &lt;span&gt;&lt;%= article.rss_feed.title %&gt; - &lt;%= article.published.strftime('%A, %B %d, %Y @ %I:%M %p') %&gt;&lt;/span&gt;
     &lt;/div&gt;
 
     &lt;div class=&quot;article_author&quot;&gt;</diff>
      <filename>app/views/timeline/_article.html.erb</filename>
    </modified>
    <modified>
      <diff>@@ -83,6 +83,27 @@ ul, ol, dl {
     width: 500px;
 }
 
+.article {
+    border-bottom: dotted 1px #666666;
+    margin-bottom: 30px;
+}
+
+.article_header {
+    margin-bottom: 10px;
+}
+
+.article_header h2 {
+    margin-bottom: 5px;
+}
+
+.article_header span {
+    color: #666666;
+}
+
+.article_content {
+    margin-bottom: 10px;
+}
+
 #footer {
     border-top: solid 1px #333333;
     clear: both;</diff>
      <filename>public/stylesheets/feedme.css</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>56d13e08d47b36d6479b496da695d5245651a6ea</id>
    </parent>
  </parents>
  <author>
    <name>Daniel Lindsley</name>
    <email>daniel@snow-wolf.net</email>
  </author>
  <url>http://github.com/toastdriven/feedme/commit/567df17a49f1c1da3d969aee1f86a2cd96670c49</url>
  <id>567df17a49f1c1da3d969aee1f86a2cd96670c49</id>
  <committed-date>2008-03-25T22:01:57-07:00</committed-date>
  <authored-date>2008-03-25T22:01:57-07:00</authored-date>
  <message>Updated styles. Now converts entities back to HTML (be careful who you trust).</message>
  <tree>e1319339cc7d8c4bf1047ef22140beb8b1abbede</tree>
  <committer>
    <name>Daniel Lindsley</name>
    <email>daniel@snow-wolf.net</email>
  </committer>
</commit>
