Sha256: d50d1647151b6f640be30572e07e2f87589777ee9a473b9ea4bbe379ae0981ff

Contents?: true

Size: 696 Bytes

Versions: 1

Compression:

Stored size: 696 Bytes

Contents

xml.instruct! :xml, :version=>"1.0"
xml.rss(:version=>"2.0") {
        
  xml.channel {
          
    xml.title(t('blacklight.search.title', :application_name => application_name))
    xml.link(search_action_url(params))
    xml.description(t('blacklight.search.title', :application_name => application_name))
    xml.language('en-us')
    @document_list.each do |doc|
      xml.item do  
        xml.title( doc.to_semantic_values[:title][0] || doc.id )                              
        xml.link(polymorphic_url(doc))                                   
        xml.author( doc.to_semantic_values[:author][0] ) if doc.to_semantic_values[:author][0]       
      end
    end
          
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-5.8.2 app/views/catalog/index.rss.builder