Sha256: cc3b80ee37332a3a9578d5b9dddfcc39be1523251e3c8403df5f2a47d72c65ce
Contents?: true
Size: 708 Bytes
Versions: 21
Compression:
Stored size: 708 Bytes
Contents
# frozen_string_literal: true xml.instruct! :xml, version: "1.0" xml.rss(version: "2.0") { xml.channel { xml.title(t('blacklight.search.page_title.title', constraints: render_search_to_page_title(params), application_name: application_name)) xml.link(search_action_url(search_state.to_h.merge(only_path: false))) xml.description(t('blacklight.search.page_title.title', constraints: render_search_to_page_title(params), application_name: application_name)) xml.language('en-us') @response.documents.each_with_index do |document, document_counter| xml << render_xml_partials(document, blacklight_config.view_config(:rss).partials, document_counter: document_counter) end } }
Version data entries
21 entries across 21 versions & 2 rubygems