mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 08:12:17 +09:00
#17625594 Atom 1.0 지원, rss포맷 다양화
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5312 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c434373e5c
commit
c9edb15e8d
5 changed files with 73 additions and 23 deletions
|
|
@ -104,7 +104,21 @@
|
|||
$path = $this->module_path.'tpl/';
|
||||
//if($args->start_date || $args->end_date) $file = 'xe_rss';
|
||||
//else $file = 'rss20';
|
||||
$file = 'rss20';
|
||||
switch (Context::get('format')) {
|
||||
case 'xe':
|
||||
$file = 'xe_rss';
|
||||
break;
|
||||
case 'atom':
|
||||
$file = 'atom10';
|
||||
break;
|
||||
case 'rss1.0':
|
||||
$file = 'rss10';
|
||||
break;
|
||||
default:
|
||||
$file = 'rss20';
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
$oTemplate = new TemplateHandler();
|
||||
$oContext = &Context::getInstance();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue