change for NCCU ask

This commit is contained in:
Matthew K. Fu JuYuan 2012-09-18 15:49:05 +08:00
parent 42c62ebca0
commit 6da3928626
2 changed files with 4 additions and 4 deletions

View File

@ -12,8 +12,8 @@ xml.rss :version => "2.0" do
xml.item do xml.item do
xml.title bulletin.title_translations[I18n.locale.to_s] xml.title bulletin.title_translations[I18n.locale.to_s]
xml.pubDate bulletin.postdate.to_s(:rfc822) xml.pubDate bulletin.postdate.to_s(:rfc822)
xml.link url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>bulletin ,:format=> :rss,:only_path=>false,:inner=>true) xml.link url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>bulletin ,:only_path=>false)
xml.guid url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>bulletin ,:format=> :rss,:only_path=>false,:inner=>true) xml.guid url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>bulletin ,:only_path=>false)
end end
end end
end end

View File

@ -13,8 +13,8 @@ xml.rss :version => "2.0" do
xml.title news_bulletin.title_translations[I18n.locale.to_s] xml.title news_bulletin.title_translations[I18n.locale.to_s]
xml.description news_bulletin.subtitle_translations[I18n.locale.to_s] xml.description news_bulletin.subtitle_translations[I18n.locale.to_s]
xml.pubDate news_bulletin.postdate.to_s(:rfc822) xml.pubDate news_bulletin.postdate.to_s(:rfc822)
xml.link url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>news_bulletin ,:format=> :rss,:only_path=>false,:inner=>true) xml.link url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>news_bulletin ,:only_path=>false)
xml.guid url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>news_bulletin ,:format=> :rss,:only_path=>false,:inner=>true) xml.guid url_for(:action=>"show", :controller=>"panel/news/front_end/news_bulletins", :id=>news_bulletin ,:only_path=>false)
end end
end end
end end