<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -71,11 +71,17 @@ module Planet
       when 'generator'
         make_absolute child, 'uri'
       when 'published', 'updated'
+        # convert dates to RFC 3339
         if child.text
           text = child.texts.map {|t| t.value}.join
           child.children.each {|text_node| text_node.remove}
           child.text = DateTime.parse(text).to_s
         end
+
+        # at the feed/source level, there is no published element
+        if child.name == 'published' and node.name != 'entry'
+          node.elements['updated'] ? child.remove : child.name = 'updated'
+        end
       when 'author', 'email', 'entry', 'feed', 'id', 'name', 'source'
       else
         child.add_namespace('http://planet.intertwingly.net/unknown')</diff>
      <filename>planet/sift.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a17162eed9b3f3e3112791cb363e894512b773a9</id>
    </parent>
  </parents>
  <author>
    <name>Sam Ruby</name>
    <email>rubys@intertwingly.net</email>
  </author>
  <url>http://github.com/rubys/mars/commit/7cd6a62ce1c1a14e27d40a8b6fd3259d1694eb17</url>
  <id>7cd6a62ce1c1a14e27d40a8b6fd3259d1694eb17</id>
  <committed-date>2008-10-01T08:12:10-07:00</committed-date>
  <authored-date>2008-10-01T08:12:10-07:00</authored-date>
  <message>restore published =&gt; updated at feed/source levels</message>
  <tree>0dd825ee45a4805b86327ca95ddd074c13325096</tree>
  <committer>
    <name>Sam Ruby</name>
    <email>rubys@intertwingly.net</email>
  </committer>
</commit>
