<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,7 @@
 # Redefines the mappings in order for Autotest to pick up on a merb app
+puts &quot;loaded .autotest&quot;
+require 'autotest/redgreen'
+
 Autotest.add_hook :initialize do |at|
   at.clear_mappings
   at.add_exception(/\.git/)</diff>
      <filename>.autotest</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-Copyright (c) 2008 YOUR NAME
+Copyright (c) 2008 Jonas Nicklas
 
 Permission is hereby granted, free of charge, to any person obtaining
 a copy of this software and associated documentation files (the</diff>
      <filename>LICENSE</filename>
    </modified>
    <modified>
      <diff>@@ -23,6 +23,6 @@ end
 module FeedMe
 end
 
-['consts', 'abstract_parser', 'feed_parser', 'item_parser'].each do |f|
+['consts', 'abstract_parser', 'feed_parser', 'item_parser', 'author_parser'].each do |f|
   require File.join(File.dirname(__FILE__), 'feed_me', f)
 end
\ No newline at end of file</diff>
      <filename>lib/feed_me.rb</filename>
    </modified>
    <modified>
      <diff>@@ -42,10 +42,6 @@ class FeedMe::AbstractParser
       return nil
     elsif p.class == Array
       return fetch(&quot;/#{p[0]}&quot;, root_node, p[1].to_sym)
-    elsif p.class == Hash
-      sub = self.dup
-      sub.properties = p
-      return sub
     elsif p
       return fetch(&quot;/#{p}&quot;, root_node)
     else</diff>
      <filename>lib/feed_me/abstract_parser.rb</filename>
    </modified>
    <modified>
      <diff>@@ -20,10 +20,7 @@ module FeedMe
       :feed_id =&gt; :undefined,
       :url =&gt; :link,
       :href =&gt; :undefined,
-      :generator =&gt; :generator,
-      :author =&gt; {
-        :email =&gt; :author
-      }
+      :generator =&gt; :generator
     }
   }
   
@@ -42,6 +39,14 @@ module FeedMe
       :url =&gt; :link,
       :content =&gt; :description
     }
-  }  
+  } 
+  
+  AUTHOR_PROPERTIES = {
+    :atom =&gt; {
+      :name =&gt; :name,
+      :uri =&gt; :uri,
+      :email =&gt; :email      
+    }
+  } 
   
 end
\ No newline at end of file</diff>
      <filename>lib/feed_me/consts.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,6 +3,13 @@ module FeedMe
   class ItemParser &lt; AbstractParser
   
     self.properties = ITEM_PROPERTIES
+    
+    attr_accessor :feed
+    
+    def initialize(feed, xml, format = nil)
+      super(xml, format)
+      self.feed = feed
+    end
   
   end
 end
\ No newline at end of file</diff>
      <filename>lib/feed_me/item_parser.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,8 @@
 		&lt;updated&gt;2008-03-07T20:41:10Z&lt;/updated&gt;
 		&lt;author&gt;
 			&lt;name&gt;Jonas Nicklas&lt;/name&gt;
-			&lt;uri href=&quot;http://imaginary.host/students/jnicklas&quot;/&gt;
+			&lt;uri&gt;http://imaginary.host/students/jnicklas&lt;/uri&gt;
+			&lt;email&gt;jonas.nicklas@imaginary.host&lt;/email&gt;
 		&lt;/author&gt;
 		&lt;content type=&quot;html&quot;&gt;Here be content&lt;/content&gt;
 	&lt;/entry&gt;
@@ -24,7 +25,8 @@
 		&lt;updated&gt;2008-03-07T20:40:58Z&lt;/updated&gt;
 		&lt;author&gt;
 			&lt;name&gt;Jonas Nicklas&lt;/name&gt;
-			&lt;uri href=&quot;http://imaginary.host/students/jnicklas&quot;/&gt;
+			&lt;uri&gt;http://imaginary.host/students/jnicklas&lt;/uri&gt;
+			&lt;email&gt;jonas.nicklas@imaginary.host&lt;/email&gt;
 		&lt;/author&gt;
 		&lt;content type=&quot;html&quot;&gt;Moar content!&lt;/content&gt;
 	&lt;/entry&gt;
@@ -35,7 +37,8 @@
 		&lt;updated&gt;2008-03-07T20:40:44Z&lt;/updated&gt;
 		&lt;author&gt;
 			&lt;name&gt;Jonas Nicklas&lt;/name&gt;
-			&lt;uri href=&quot;http://imaginary.host/students/jnicklas&quot;/&gt;
+			&lt;uri&gt;http://imaginary.host/students/jnicklas&lt;/uri&gt;
+			&lt;email&gt;jonas.nicklas@imaginary.host&lt;/email&gt;
 		&lt;/author&gt;
 		&lt;content type=&quot;html&quot;&gt;Also Content!&lt;/content&gt;
 	&lt;/entry&gt;</diff>
      <filename>spec/fixtures/welformed.atom</filename>
    </modified>
    <modified>
      <diff>@@ -6,9 +6,9 @@ describe FeedMe::ItemParser do
 
   before :each do
     @atom_feed = FeedMe::FeedParser.open(fixture('welformed.atom'))
-    @atom = FeedMe::ItemParser.new(@atom_feed.root_node.search('/entry').first, :atom)
+    @atom = FeedMe::ItemParser.new(@atom_feed, @atom_feed.root_node.search('/entry').first, :atom)
     @rss2_feed = FeedMe::FeedParser.open(fixture('welformed.rss2'))
-    @rss2 = FeedMe::ItemParser.new(@rss2_feed.root_node.search('/item').first, :rss2)
+    @rss2 = FeedMe::ItemParser.new(@atom_feed, @rss2_feed.root_node.search('/item').first, :rss2)
   end
     
   describe '#title' do
@@ -61,6 +61,4 @@ describe FeedMe::ItemParser do
     end
   end
 
-
-
 end
\ No newline at end of file</diff>
      <filename>spec/item_parser_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c8ad6561c8010d6c7c4f2d7423de3f74f2092e76</id>
    </parent>
  </parents>
  <author>
    <name>Jonas Nicklas</name>
    <email>jonas.nicklas@gmail.com</email>
  </author>
  <url>http://github.com/jnicklas/feed_me/commit/36e3dd1fe8617d4204b5e850d6c1b08649e66963</url>
  <id>36e3dd1fe8617d4204b5e850d6c1b08649e66963</id>
  <committed-date>2008-03-10T02:53:23-07:00</committed-date>
  <authored-date>2008-03-10T02:53:23-07:00</authored-date>
  <message>muchos stuff</message>
  <tree>4a6253718067fa1e7aea47c36d56328d935baf04</tree>
  <committer>
    <name>Jonas Nicklas</name>
    <email>jonas.nicklas@gmail.com</email>
  </committer>
</commit>
