mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
피드에서, 문서의 제목에 속성을 넣을 경우, HTML태그가 삽입되는 오류 수정(속성 않넣는 getTitleText 로 바꿈) // 사용자의 홈페이지,블로그 주소가 http://로 시작하지 않을 수 있으므로, [a-z]+ 로 대체
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5925 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f0208bb187
commit
781305f6e4
7 changed files with 12 additions and 12 deletions
|
|
@ -11,7 +11,7 @@
|
|||
<link rel="self" type="application/atom+xml" href="{$info->id}"/>
|
||||
<generator uri="http://www.xpressengine.com/" version="{__ZBXE_VERSION__}">XpressEngine</generator>
|
||||
<!--@foreach($document_list as $oDocument)--> <entry>
|
||||
<title>{str_replace('\'', ''',$oDocument->getTitle())}</title>
|
||||
<title>{str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))}</title>
|
||||
<id>{$oDocument->getPermanentUrl()}</id>
|
||||
<published>{$oDocument->getRegdate('Y-m-d\TH:i:sP')}</published>
|
||||
<updated>{zdate($oDocument->get('last_update'),'Y-m-d\TH:i:sP')}</updated>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@
|
|||
</channel>
|
||||
<!--@foreach($document_list as $oDocument)-->
|
||||
<item rdf:about="{$oDocument->getPermanentUrl()}">
|
||||
<title>{str_replace('\'', ''',$oDocument->getTitle())}</title>
|
||||
<title>{str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))}</title>
|
||||
<link>{$oDocument->getPermanentUrl()}</link>
|
||||
<description>{str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(200)))}</description>
|
||||
<dc:date>{$oDocument->getRegdate('Y-m-d\TH:i:sP')}</dc:date>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<!--@end-->
|
||||
<!--@foreach($document_list as $oDocument)-->
|
||||
<item>
|
||||
<title>{str_replace('\'', ''',$oDocument->getTitle())}</title>
|
||||
<title>{str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))}</title>
|
||||
<dc:creator>{str_replace('\'', ''',$oDocument->getNickName())}</dc:creator>
|
||||
<link>{$oDocument->getPermanentUrl()}</link>
|
||||
<guid isPermaLink="true">{$oDocument->getPermanentUrl()}</guid>
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<totalPage>{$info->total_page}</totalPage>
|
||||
<!--@foreach($document_list as $oDocument)-->
|
||||
<item>
|
||||
<title>{str_replace('\'', ''',$oDocument->getTitle())}</title>
|
||||
<title>{str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText()))}</title>
|
||||
<author>{str_replace('\'', ''',$oDocument->getNickName())}</author>
|
||||
<link>{$oDocument->getPermanentUrl()}</link>
|
||||
<!--@if($open_rss_config[$oDocument->get('module_srl')]->open_rss=='Y')-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue