% content_for :head do -%>
<%= render :partial => 'topics/rss_discover', :collection => @feeds %>
<% end -%>
<%= output_errors('', {:class => 'help-box'}) %>
<%= topics_form %>
<%= link_to t('muck.raker.photos'), photos_topic_path(params[:id], :service_ids => params[:service_ids]) %>
<%= link_to t('muck.raker.videos'), videos_topic_path(params[:id], :service_ids => params[:service_ids]) %>
<%= link_to t('muck.raker.download_opml', :terms => @title), @opml_path %>
<% if @show_google_search -%>
<%= google_search('Google Search', [], @terms, %w{web video blog news image local book patent}, 'google_search', I18n.locale) %>
<% end -%>
<% if @load_feeds_on_server -%>
<% if @show_combined -%>
<%= render :partial => 'topics/simple_entry', :collection => @server_combined_data_feeds %>
<% else -%>
<%= render :partial => 'topics/feed', :collection => @server_loaded_general_feeds %>
<% end -%>
<% elsif @show_combined -%>
<%= google_combined_feeds(@general_feeds + @discovered_feeds) %>
<% else -%>
<%= google_feeds(@general_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
<%= google_feeds(@discovered_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
<% end -%>
<%= google_feeds(@photo_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
<%= google_feeds(@video_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
<%= google_feeds(@music_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
<%= google_feeds(@bookmark_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
<%= link_to t('muck.raker.generate_new_topic'), new_topic_path %>
<%= render :partial => 'google/feeds_scripts' %>