Sha256: 084308071cb0ee3227d9fe4942567d41a9b1485d38d8e6bc7260c2dd9c72ac84

Contents?: true

Size: 769 Bytes

Versions: 7

Compression:

Stored size: 769 Bytes

Contents

<?xml version="1.0" encoding="utf-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"
xml:base="http://localhost:7000/">
    <id>tag:ramaze-blog</id>
    <title>Ramaze Blog</title>
    <updated>#{@posts.last.created_at.strftime('%Y-%m-%dT%H:%M:%SZ')}</updated>

    <?r @posts.each do |post| ?>
    <entry>
        <id>tag:ramaze-blog,#{post.id}</id>
        <title>#{post.title}</title>
        <author>
            <name>#{post.user.username}</name>
        </author>
        <updated>#{post.created_at.strftime('%Y-%m-%dT%H:%M:%SZ')}</updated>
        <content type="xhtml">
            <div xmlns="http://www.w3.org/1999/xhtml">
                #{RDiscount.new(post.body).to_html}
            </div>
        </content>
    </entry>
    <?r end ?>
</feed>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ramaze-2023.01.06 examples/app/blog/view/feed.xhtml
ramaze-2012.12.08 examples/app/blog/view/feed.xhtml
ramaze-2012.12.08b examples/app/blog/view/feed.xhtml
ramaze-2012.04.14 examples/app/blog/view/feed.xhtml
ramaze-2012.03.07 examples/app/blog/view/feed.xhtml
ramaze-2011.12.28 examples/app/blog/view/feed.xhtml
ramaze-2011.10.23 examples/app/blog/view/feed.xhtml