Sha256: a27cea680fbed5a716aed157a67bd01584322838acf3f3c8dd9eaca15589e24a

Contents?: true

Size: 622 Bytes

Versions: 106

Compression:

Stored size: 622 Bytes

Contents

xml.instruct! :xml, :version => "1.0"
xml.rss :version => "2.0" do
  xml.channel do
    xml.title current_site.the_title
    xml.description current_site.the_excerpt
    xml.link current_site.the_url


    for post in current_site.the_contents.paginate(:page => params[:page], :per_page => current_site.front_per_page).decorate
      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

106 entries across 106 versions & 2 rubygems

Version Path
camaleon_cms-2.6.4 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.6.3 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.6.2 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.6.1 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.6.0.1 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.6.0 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.5.3.1 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.5.3 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.5.2 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms_rails6-2.5.0 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.5.1 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.5.0 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.6.9 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.6.8 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.6.7 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.6.6 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.6.5 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.6.4 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.6.3 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.6.2 app/views/camaleon_cms/default_theme/rss.rss.builder