Sha256: 8147857937a34d109067e53f8091ab2a6966baefe9162c377bb6037b6f36d261

Contents?: true

Size: 576 Bytes

Versions: 11

Compression:

Stored size: 576 Bytes

Contents

xml.instruct! :xml, version: '1.0'
xml.rss version: '2.0' do
  xml.channel do
    xml.title @post_type.the_title
    xml.description @post_type.the_excerpt
    xml.link @post_type.the_url
    xml.guid @post_type.the_id
    xml.items @posts.size

    @posts.decorate.each do |post|
      xml.item do
        xml.title post.the_title
        xml.description post.the_excerpt
        xml.pubDate post.the_created_at
        xml.upDate post.the_updated_at
        xml.link post.the_url
        xml.guid post.the_id
        xml.thumb post.the_thumb_url
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
camaleon_cms-2.9.0 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.8.3 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.8.2 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.8.1 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.8.0 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.7.5 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.7.4 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.7.3 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.7.2 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.7.1 app/views/camaleon_cms/default_theme/post_type.rss.builder
camaleon_cms-2.7.0 app/views/camaleon_cms/default_theme/post_type.rss.builder