/usr/share/doc/ruby-ramaze/examples/app/blog/view/feed.xhtml is in ruby-ramaze 2012.12.08-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | <?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>
|