2022-01-21 02:09:31 +00:00
|
|
|
xml.instruct! :xml, :version => "1.0"
|
|
|
|
xml.rss :version => "2.0" do
|
|
|
|
xml.channel do
|
|
|
|
xml.title @bf.title
|
|
|
|
xml.link "/xhr/event_news/rssfeed/#{params[:uid]}.rss"
|
|
|
|
|
|
|
|
for e in @event_news
|
|
|
|
xml.item do
|
|
|
|
xml.title e.title
|
|
|
|
xml.description e.subtitle
|
|
|
|
xml.pubDate e.created_at.to_s(:rfc822)
|
|
|
|
xml.link page_for_event_news(e)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
2020-07-22 02:23:36 +00:00
|
|
|
end
|