Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 13
- Log:
Initial import of Typo 2.6.0 sources from a downloaded Tarball.
Typo is a Ruby On Rails based blog engine.
- Author:
- adh
- Date:
- Sat Jul 22 22:25:02 +0100 2006
- Size:
- 862 Bytes
1 | class XmlController < ApplicationController |
2 | caches_page :rss, :atom, :articlerss, :commentrss, :rsd, :trackbackrss |
3 | |
4 | def articlerss |
5 | @article = Article.find(params[:id]) |
6 | @comments = @article.comments.find(:all, :order => 'created_at DESC', :limit => 25) |
7 | end |
8 | |
9 | def commentrss |
10 | @comments = Comment.find(:all, :order => 'created_at DESC', :limit => config[:limit_rss_display]) |
11 | end |
12 | |
13 | def trackbackrss |
14 | @trackbacks = Trackback.find(:all, :order => 'created_at DESC', :limit => config[:limit_rss_display]) |
15 | end |
16 | |
17 | def rss |
18 | @articles = Article.find(:all, :conditions => 'published=1', :order => 'created_at DESC', :limit => config[:limit_rss_display]) |
19 | end |
20 | |
21 | def atom |
22 | @articles = Article.find(:all, :conditions => 'published=1', :order => 'created_at DESC', :limit => config[:limit_rss_display]) |
23 | end |
24 | |
25 | def rsd |
26 | end |
27 | |
28 | end |