Sha256: e4273f510d2765aee7e615245629f93be91afa0ef5eb007a9c59ffb086194969

Contents?: true

Size: 635 Bytes

Versions: 51

Compression:

Stored size: 635 Bytes

Contents

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

Version data entries

51 entries across 51 versions & 2 rubygems

Version Path
sufia-4.0.0.beta4 app/views/catalog/index.rss.builder
sufia-4.0.0.beta3 app/views/catalog/index.rss.builder
sufia-4.0.0.beta2 app/views/catalog/index.rss.builder
sufia-4.0.0.beta1 app/views/catalog/index.rss.builder
sufia-3.7.2 app/views/catalog/index.rss.builder
sufia-3.7.1 app/views/catalog/index.rss.builder
sufia-3.7.0 app/views/catalog/index.rss.builder
sufia-3.6.1 app/views/catalog/index.rss.builder
sufia-3.6.0 app/views/catalog/index.rss.builder
sufia-3.5.0 app/views/catalog/index.rss.builder
sufia-3.4.0 app/views/catalog/index.rss.builder
sufia-3.4.0.rc4 app/views/catalog/index.rss.builder
sufia-3.4.0.rc3 app/views/catalog/index.rss.builder
sufia-3.3.1 app/views/catalog/index.rss.builder
sufia-3.4.0.rc2 app/views/catalog/index.rss.builder
sufia-3.4.0.rc1 app/views/catalog/index.rss.builder
sufia-3.3.0 app/views/catalog/index.rss.builder
sufia-3.2.1 app/views/catalog/index.rss.builder
sufia-3.1.3 app/views/catalog/index.rss.builder
sufia-3.1.2 app/views/catalog/index.rss.builder