change for NCCU ask
This commit is contained in:
parent
42c62ebca0
commit
6da3928626
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue