xml_authors.patch

Paul Rivier, 2008-06-02 13:13

Download (632 Bytes)

View differences:

app/views/common/feed.atom.rxml Mon Jun 02 12:17:03 2008 +0200
14 14
      xml.link "rel" => "alternate", "href" => url
15 15
      xml.id url
16 16
      xml.updated item.event_datetime.xmlschema
17
      author = item.event_author if item.respond_to?(:author)
17
      author = item.event_author if item.respond_to?(:event_author)
18 18
      xml.author do
19 19
        xml.name(author)
20 20
        xml.email(author.mail) if author.respond_to?(:mail) && !author.mail.blank?