Sha256: f9033c400f42aae480e2ca088f5387e253104840d2b7caea4f929bd1f6e60d4a

Contents?: true

Size: 585 Bytes

Versions: 12

Compression:

Stored size: 585 Bytes

Contents

xm.item do
  if post.first?
    xm.title "New topic: #{h(post.topic.name)} (from #{h post.reader.name})"
  elsif (@topic && @topic == post.topic)
    xm.title "Reply from #{h post.reader.name}"
  else
    xm.title "Reply to '#{h(post.topic.name)}' (from #{h post.reader.name})"
  end
  xm.description clean_textilize(truncate_words(post.body, 64))
  xm.pubDate post.created_at.to_s(:rfc822)
  xm.guid [ActionController::Base.session_options[:session_key], post.forum_id.to_s, post.topic_id.to_s, post.id.to_s].join(":"), "isPermaLink" => "false"
  xm.link paginated_post_url(post)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
radiant-forum-extension-2.1.6 app/views/posts/_post.rss.builder
radiant-forum-extension-2.1.4 app/views/posts/_post.rss.builder
radiant-forum-extension-2.1.3 app/views/posts/_post.rss.builder
radiant-forum-extension-2.1.2 app/views/posts/_post.rss.builder
radiant-forum-extension-2.1.1 app/views/posts/_post.rss.builder
radiant-forum-extension-2.0.9 app/views/posts/_post.rss.builder
radiant-forum-extension-2.0.8 app/views/posts/_post.rss.builder
radiant-forum-extension-2.0.7 app/views/posts/_post.rss.builder
radiant-forum-extension-2.0.6 app/views/posts/_post.rss.builder
radiant-forum-extension-2.0.5 app/views/posts/_post.rss.builder
radiant-forum-extension-2.0.4 app/views/posts/_post.rss.builder
radiant-forum-extension-2.0.3 app/views/posts/_post.rss.builder