Sha256: 27b201f2ec859471800a669b8668d0fa35b144c4a7104b1a273ab4c24f73e552
Contents?: true
Size: 637 Bytes
Versions: 11
Compression:
Stored size: 637 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
11 entries across 11 versions & 1 rubygems