X-Git-Url: https://git.nubati.net/cgi-bin/gitweb.cgi?p=e-DoKo.git;a=blobdiff_plain;f=rss.php;h=a6e5d1b90e42c4487563d066b7228ed224cae50e;hp=6dbb6e6b5d41f6df44b4f60afc59f308c3992802;hb=46140faa11b97252647178a811da22509256d6c4;hpb=f2217bfa18ba8a8ab17dd188b38777460ae0590d diff --git a/rss.php b/rss.php index 6dbb6e6..a6e5d1b 100644 --- a/rss.php +++ b/rss.php @@ -1,4 +1,23 @@ + * + * This file is part of e-DoKo. + * + * e-DoKo is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * e-DoKo is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with e-DoKo. If not, see . + * + */ + /* get some information from the database */ error_reporting(E_ALL); @@ -53,9 +72,13 @@ header("Content-Type: text/xml"); ?> E-DoKo Feed -Know when it is your turn '._('Know when it is your turn')."\n"; + global $WIKI,$INDEX, $HOST; /* output last creation date */ @@ -85,7 +108,7 @@ echo "\n\n"; while( $r = DB_fetch_array($result)) { echo "\n"; - echo "game ".DB_format_gameid($r[1])."\n"; + echo ""._('game').' '.DB_format_gameid($r[1])."\n"; $url=$INDEX."?action=game&me=".$r[0]; echo "\n"; $date = DB_get_game_timestamp($r[1]); @@ -93,7 +116,7 @@ echo "\n\n"; $date = date("Y-m-d",$timestamp); echo "tag:doko.nubati.net,$date:$url\n"; echo "".date(DATE_ATOM,$timestamp)."\n"; - echo "Please use the link to access the game.\n"; + echo ''._('Please use the link to access the game.')."\n"; echo "\n\n"; }