add content for announcement rss
This commit is contained in:
		
							parent
							
								
									e429aa9425
								
							
						
					
					
						commit
						a790c0c482
					
				|  | @ -12,6 +12,7 @@ xml.rss :version => "2.0" do | |||
|       xml.item do | ||||
|         xml.title bulletin.title_translations[I18n.locale.to_s] | ||||
|         xml.pubDate bulletin.postdate.to_s(:rfc822) | ||||
|         xml.description bulletin.text_translations[I18n.locale.to_s] | ||||
|         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 ,:only_path=>false) | ||||
|         xml.fb_share generate_fb_url(bulletin, "announcement") | ||||
|  |  | |||
|  | @ -8,8 +8,8 @@ xml.rss :version => "2.0" do | |||
|     end | ||||
|     xml.link url_for(:action=>"index", :controller=>"panel/announcement/front_end/bulletins",:format=> :rss,:only_path=>false,:inner=>true) | ||||
|       xml.item do | ||||
|         xml.title @bulletin.title | ||||
|         xml.description @bulletin.text | ||||
|         xml.title @bulletin.title_translations[I18n.locale.to_s] | ||||
|         xml.description @bulletin.text_translations[I18n.locale.to_s] | ||||
|         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.guid url_for(:action=>"show", :controller=>"panel/announcement/front_end/bulletins", :id=>@bulletin ,:only_path=>false) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue