Sha256: a9c8c5e8ff16dbe8109a4a29fb7bd6b605b35f78715d549f436f0967453d6a13

Contents?: true

Size: 571 Bytes

Versions: 32

Compression:

Stored size: 571 Bytes

Contents

xml.instruct! :xml, :version => "1.0" 
xml.rss :version => "2.0", "xmlns:media" => "http://search.yahoo.com/mrss/" do
  xml.channel do
    xml.title @title
    xml.description feed_description
    xml.link images_url

    @images.each do |image|
      xml.item do
        xml.title image.description
        xml.author image.user.user_name
        xml.link image_url(image)
        xml.description image_tag(image.jpeg, :alt => image.description)
        xml.media :content, url: image.jpeg, type:"image/jpeg"
        xml.guid image_url(image)
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
lentil-1.0.5 app/views/lentil/images/index.rss.builder
lentil-1.0.4 app/views/lentil/images/index.rss.builder
lentil-1.0.3 app/views/lentil/images/index.rss.builder
lentil-1.0.2 app/views/lentil/images/index.rss.builder
lentil-1.0.1 app/views/lentil/images/index.rss.builder
lentil-1.0.0 app/views/lentil/images/index.rss.builder
lentil-0.9.1 app/views/lentil/images/index.rss.builder
lentil-0.9.0 app/views/lentil/images/index.rss.builder
lentil-0.8.0 app/views/lentil/images/index.rss.builder
lentil-0.7.1 app/views/lentil/images/index.rss.builder
lentil-0.6.0 app/views/lentil/images/index.rss.builder
lentil-0.5.2 app/views/lentil/images/index.rss.builder
lentil-0.5.1 app/views/lentil/images/index.rss.builder
lentil-0.5.0 app/views/lentil/images/index.rss.builder
lentil-0.4.2 app/views/lentil/images/index.rss.builder
lentil-0.4.0 app/views/lentil/images/index.rss.builder
lentil-0.3.1 app/views/lentil/images/index.rss.builder
lentil-0.3.0 app/views/lentil/images/index.rss.builder
lentil-0.2.3 app/views/lentil/images/index.rss.builder
lentil-0.2.2 app/views/lentil/images/index.rss.builder