16 lines
391 B
Ruby
16 lines
391 B
Ruby
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
|
|
end |