This repository was archived by the owner on Mar 31, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -77,4 +77,5 @@ TWITTER_ACCESS_TOKEN_SECRET
7777
7878* [ veelenga] ( https://github.com/veelenga ) V. Elenhaupt - creator, maintainer
7979* [ hugoabonizio] ( https://github.com/hugoabonizio ) Hugo Abonizio - contributor, maintainer
80+ * [ janczer] ( https://github.com/janczer ) Janczer - contributor
8081* [ lex111] ( https://github.com/lex111 ) Alexey Pyltsyn - contributor
Original file line number Diff line number Diff line change 11class RSSController < Amber::Controller::Base
2+ include Helpers ::TimeAgoHelper
3+
24 def show
35 announcements = Announcement .newest
46
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ rss version=2.0
88 item
99 title = announcement.title
1010 description = announcement.content
11+ | < small> #{announcement .typename }.< / small>
12+ | < small> Announced #{time_ago_in_words(announcement .created_at .not_nil ! )} by < / small>
13+ - if user = announcement.user
14+ | < a href= " #{user.github_url}" > #{user .login }< / a>
1115 pubDate = announcement.created_at.try & .to_s " %d % b % Y % T % z"
1216 < link> #{SITE .url }/ announcements/ #{announcement .id }< / link>
1317 guid #{SITE .url }/ announcements/ #{announcement .id }
You can’t perform that action at this time.
0 commit comments