<% lang = SiteSetting.find_by_name('default_locale').try(:value) %> <% site_email = SiteSetting.find_by_name('contact_email').try(:value) %> <%= @title %> <%= @link %> <%= @description %> <% @posts.each do |post| %> <% next unless post.user %> <%= post.topic.title %> <%= "no-reply@example.com (@#{post.user.username}#{" #{post.user.name}" if (post.user.name.present? && SiteSetting.enable_names?)})" -%> ]]> <%= Discourse.base_url + post.url %> <%= post.created_at.rfc2822 %> post-<%= post.id %> <% end %>