Sha256: 5b212539ff624cf7227f7d58600734dc0362fcd2180ae86af6f37809f6e65625

Contents?: true

Size: 751 Bytes

Versions: 24

Compression:

Stored size: 751 Bytes

Contents

!!! XML
%rss{ :version => "2.0", "xmlns:atom" => "http://www.w3.org/2005/Atom", "xmlns:dc" => "http://purl.org/dc/elements/1.1/" }
  %channel
    %title= MySettings.site_name
    %link= MySettings.site_url + "/posts"
    %description The 10 newest posts on #{MySettings.site_name}
    %language en-us
    %pubDate= Time.now.strftime("%a, %d %b %Y %H:%M:%S %z")
    %atom:link{ :href => MySettings.site_url + "/posts/feed.rss", :rel => "self", :type => "application/rss+xml"}

    - @posts.each do |post|
      %item
        %title= post.title
        %description= post.excerpt
        %link= post_url(post)
        %guid= post_url(post)
        %dc:creator= MySettings.site_name
        %pubDate= post.created_at.strftime("%a, %d %b %Y %H:%M:%S %z")

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
forge-cli-0.1.10 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.9 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.8 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.7 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.6 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.5 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.4 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.3 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.2 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.1 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.1.0 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.0.18 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.0.17 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.0.16 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.0.15 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.0.14 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.0.13 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.0.12 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.0.11 lib/forge/app/views/posts/feed.rss.haml
forge-cli-0.0.10 lib/forge/app/views/posts/feed.rss.haml