git-svn-id: http://xe-core.googlecode.com/svn/trunk@123 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-02-20 03:59:57 +00:00
parent 242b24d369
commit 756ecc1423
28 changed files with 197 additions and 153 deletions

View file

@ -17,10 +17,20 @@
function init() {
}
function dispRss($info, $content, $type="rss2.0") {
switch($type) {
case "rss2.0" :
$this->dispRss20($info, $content);
break;
}
exit();
}
/**
* @brief content를 받아서 rss 형식으로 출력
**/
function printRssDocument($info, $content, $type="2.0") {
function dispRss20($info, $content) {
header("Content-Type: text/xml; charset=UTF-8");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");