mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
#17638410 외 수정 - 제목에 숫자 0 입력 가능하게 수정, RSS 1.0 Spec
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5362 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3db40bffed
commit
b2c965c27a
4 changed files with 8 additions and 5 deletions
|
|
@ -98,7 +98,7 @@
|
|||
else { $info->id = getUrl('','module','rss','act','rss','format','atom','page',Context::get('page'),'start_date',Context::get('start_date'),'end_date',Context::get('end_date')); }
|
||||
break;
|
||||
case 'rss1.0':
|
||||
$info->date = date('Y-m-d\TH:i:sO');
|
||||
$info->date = date('Y-m-d\TH:i:sP');
|
||||
break;
|
||||
default:
|
||||
$info->date = date("D, d M Y H:i:s").' '.$GLOBALS['_time_zone'];
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<title>{str_replace('\'', ''',$oDocument->getTitle())}</title>
|
||||
<link>{$oDocument->getPermanentUrl()}</link>
|
||||
<description>{str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(200)))}</description>
|
||||
<dc:date>{$oDocument->getRegdate('Y-m-d\TH:i:sO')}</dc:date>
|
||||
<dc:date>{$oDocument->getRegdate('Y-m-d\TH:i:sP')}</dc:date>
|
||||
</item>
|
||||
<!--@end-->
|
||||
</rdf:RDF>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue