mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-13 18:55:45 -04:00
23 lines
669 B
Plaintext
23 lines
669 B
Plaintext
<?xml version="1.0" encoding="UTF-8"?>
|
|
%rss{:version => 2.0}
|
|
%channel
|
|
%title #{Growstuff::Application.config.site_name} - Recent comments on #{@post.subject}
|
|
%link= post_url(@post)
|
|
- @post.comments.each do |comment|
|
|
%item
|
|
%title Comment by #{comment.author.login_name} on #{comment.created_at.to_s}
|
|
%description
|
|
|
|
:escaped
|
|
<p>
|
|
Comment on
|
|
#{ link_to @post.subject, post_url(@post) }
|
|
</p>
|
|
|
|
:escaped_markdown
|
|
#{ strip_tags comment.body }
|
|
|
|
%pubDate= comment.created_at.to_s(:rfc822)
|
|
%link= post_url(@post)
|
|
%guid= comment_url(comment)
|