mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 16:22:41 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@123 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
242b24d369
commit
756ecc1423
28 changed files with 197 additions and 153 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue