<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -92,9 +92,9 @@ module Korma
     def all_entries
       entries = []
       author_names.each do |a|
-        entries += entries_for_author(a)
+        entries.concat entries_for_author(a)
       end
-      entries.sort { |a,b| b.published_date &lt;=&gt; a.published_date }
+      entries.sort! { |a,b| b.published_date &lt;=&gt; a.published_date }
     end
 
     def site_feed
@@ -102,9 +102,9 @@ module Korma
     end
 
     def entries_for_author(author)
-      tree = Pathname.glob &quot;#{repository}posts/#{author}/*&quot;
+      tree = Pathname.glob &quot;#{repository}/posts/#{author}/*&quot;
       return [] unless tree
-      tree.map { |e| Entry.new(e, author)  } 
+      tree.select { |e| e.file? }.map { |e| Entry.new(e, author)  } 
     end
 
     def feed(author)</diff>
      <filename>korma.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d91d978d85141576b8ab1b568628f9f38bc2b7f2</id>
    </parent>
  </parents>
  <author>
    <name>Robert Klemme</name>
    <email>shortcutter@googlemail.com</email>
  </author>
  <url>http://github.com/sandal/korma/commit/9c74f34a359cc7598a2c0d5c596b801311791094</url>
  <id>9c74f34a359cc7598a2c0d5c596b801311791094</id>
  <committed-date>2009-05-28T12:40:44-07:00</committed-date>
  <authored-date>2009-05-28T12:40:44-07:00</authored-date>
  <message>adding a bit more robustness and efficiency</message>
  <tree>9fb4494bb9ee2ee9e52b6a333fcb22851480ed68</tree>
  <committer>
    <name>Robert Klemme</name>
    <email>shortcutter@googlemail.com</email>
  </committer>
</commit>
