diff --git a/vendor/modules/blog/app/models/blog/rss_handler.rb b/vendor/modules/blog/app/models/blog/rss_handler.rb index 2447ccf0..69f4c969 100644 --- a/vendor/modules/blog/app/models/blog/rss_handler.rb +++ b/vendor/modules/blog/app/models/blog/rss_handler.rb @@ -36,7 +36,7 @@ def get_feed :published_at => post.published_at.to_s(:rfc822), :description => replace_relative_urls(@options.full ? post.body_content : post.preview) } - item[:author] = post.author unless post.author.blank? + item[:creator] = post.author unless post.author.blank? post.blog_categories.each do |cat| item[:categories] ||= [] item[:categories] << cat.name diff --git a/vendor/modules/feed/app/views/feed/rss/_feed.rxml b/vendor/modules/feed/app/views/feed/rss/_feed.rxml index 7670f1f2..1cf16bde 100644 --- a/vendor/modules/feed/app/views/feed/rss/_feed.rxml +++ b/vendor/modules/feed/app/views/feed/rss/_feed.rxml @@ -1,6 +1,6 @@ xml.instruct! -xml.rss "version" => "2.0", "xmlns:atom" => "http://www.w3.org/2005/Atom" do +xml.rss "version" => "2.0", "xmlns:atom" => "http://www.w3.org/2005/Atom", "xmlns:dc" => "http://purl.org/dc/elements/1.1/", "xmlns:media" => "http://search.yahoo.com/mrss" do xml.channel do xml.title(data[:title]) @@ -17,6 +17,9 @@ xml.channel do if item[:author] xml.author item[:author] end + if item[:creator] + xml.dc(:creator, item[:creator]) + end if item[:categories] item[:categories].each do |cat| xml.category cat