<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -33,7 +33,14 @@ post '/superfeedr' do
   begin
     rec = DB[:channels].filter(:type =&gt; 'superfeedr').order(:created).last
     raise &quot;'superfeedr' type topic does not exists&quot; unless rec[:id]
-    postman(rec[:id], Crack::XML.parse(request.body.string)).to_json
+    atom = Crack::XML.parse(request.body.string)
+    r = []
+    if atom[&quot;feed&quot;][&quot;entry&quot;].kind_of?(Array)
+      atom[&quot;feed&quot;][&quot;entry&quot;].each { |e| r &lt;&lt; e[&quot;title&quot;] }
+    else
+      r = atom[&quot;feed&quot;][&quot;entry&quot;][&quot;title&quot;]
+    end
+    postman(rec[:id], r).to_json
     {:status =&gt; 'OK'}.to_json
   rescue Exception =&gt; e
     status 500</diff>
      <filename>superfeedr.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9b106c235b11cf4083b1666f3a8d4abe1290fc62</id>
    </parent>
  </parents>
  <author>
    <name>Stoyan Zhekov</name>
    <email>zh@zhware.net</email>
  </author>
  <url>http://github.com/zh/watercoolr/commit/ffc115b15203a88181ac7fdd3abb194e51b4b51d</url>
  <id>ffc115b15203a88181ac7fdd3abb194e51b4b51d</id>
  <committed-date>2009-07-01T20:10:02-07:00</committed-date>
  <authored-date>2009-07-01T20:10:02-07:00</authored-date>
  <message>send to subscribers only the entry title</message>
  <tree>aa4f34590ad063bdf72a4a1b9a3231fa6f3daaa5</tree>
  <committer>
    <name>Stoyan Zhekov</name>
    <email>zh@zhware.net</email>
  </committer>
</commit>
