blob: dd498c8efa9d25a16cb0e88b7428050eb1f78da0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
atom_feed do |feed|
feed.title("Four Island")
feed.updated(@blogs[0].published_at) if @blogs.length > 0
@blogs.each do |blog|
feed.entry(blog) do |entry|
entry.title(blog.title)
entry.content(blog.body, type: 'html')
entry.author do |author|
author.name("hatkirby")
end
end
end
end
|