Sha256: f35cc63c42128938646483813616a182179db8a7f90fbc7ed7101103b62288dd
Contents?: true
Size: 650 Bytes
Versions: 10
Compression:
Stored size: 650 Bytes
Contents
post_time = post.created_at post_time = Time.parse(post_time.to_s).rfc822 if post_time.is_a?(DateTime) #DateTime format doesn't support conversion to rfc822 xm.item do xm.title "#{h(post.respond_to?(:topic_title) ? post.topic_title : post.topic.title)} (#{h post.topic.sb_posts_count == 1 ? '' : :reply.l } #{:by.l :login => post.username} on #{post.created_at.to_s(:short)})" xm.description post.body_html xm.pubDate post_time xm.guid [request.host_with_port, post.forum_id.to_s, post.topic_id.to_s, post.id.to_s].join(":"), "isPermaLink" => "false" xm.author "#{post.username}" xm.link forum_topic_url(post.forum_id, post.topic_id) end
Version data entries
10 entries across 10 versions & 1 rubygems