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.4.4.3 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.4.2 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.4.1 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.4 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.13 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.12 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.11 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.10 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.9 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.8 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.7 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.6 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.5 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.4 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.3 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.2 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3.1 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.3 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.2 app/views/camaleon_cms/default_theme/rss.rss.builder
camaleon_cms-2.4.1 app/views/camaleon_cms/default_theme/rss.rss.builder