root/lang/php/GohanLog/trunk/app/views/gohans/rss/index.thtml @ 4507

Revision 4507, 0.6 kB (checked in by kunitada, 5 years ago)

#43 fix

RevLine 
[4492]1<?php
2        print "<title>ごはんログ 最近更新されたごはん</title>";
3        print "<description>最近更新されたごはんを示します。</description>";
4        print "<link>$baseurl</link>";
5                foreach ($gohans as $key => $value){
[4507]6                        print "<item>";
7                        print "<title>";
8                        print $key."(".count($value).")";
9                        print "</title>";
10                        print "<link>";
11                        print $baseurl."/#".$key;
12                        print "</link>";
13                        print "<description>";
14                        print "</description>";
15                        print "<dc:date>";
16                        print "</dc:date>";
17                        print "</item>";
[4492]18                }       
19?>
Note: See TracBrowser for help on using the browser.