Changeset 18690

Show
Ignore:
Timestamp:
09/03/08 01:30:40 (6 years ago)
Author:
tomi-ru
Message:

RSS

Location:
websites/mobilecat/trunk
Files:
1 added
3 modified

Legend:

Unmodified
Added
Removed
  • websites/mobilecat/trunk/lib/MobileCat/Controller/Entry.pm

    r17116 r18690  
    2020 
    2121sub recent :Private { 
    22     my ($self, $c) = @_; 
     22    my ($self, $c, $num) = @_; 
    2323    $c->stash->{entries} = $c->model('Entries')->search(undef, { 
    2424        order_by => ['created_at DESC'], 
    25         rows     => 5, 
     25        page     => $c->req->params->{page} || 1, 
     26        rows     => $num || 5, 
    2627    }); 
    2728} 
  • websites/mobilecat/trunk/root/entry/show.tt

    r17116 r18690  
    1212<div class="balloon"> 
    1313    <img src="/static/balloon1.gif" width="100%" class="m" /> 
    14     [% entry.body | html | html_line_break %] 
     14    <div class="balloon2">[% entry.body | html | html_line_break %]</div> 
    1515    <img src="/static/balloon3.gif" width="100%" class="m" /> 
    1616</div> 
  • websites/mobilecat/trunk/root/inc/wrapper-pc.tt

    r17121 r18690  
    77<link rel="stylesheet" type="text/css" href="/static/site.css" /> 
    88<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico" /> 
    9 [% UNLESS c # for doc/ %] 
     9<link rel="alternate" type="application/rss+xml" href="http://feeds.feedburner.jp/mobilecat" title="最近の投稿" /> 
    1010<link rel="alternate" type="application/rss+xml" href="http://coderepos.org/share/log/websites/mobilecat/?limit=100&mode=stop_on_copy&format=rss" /> 
    11 [% END %] 
    1211</head> 
    1312<body>