diff --git a/modules/rss/tpl/atom10.html b/modules/rss/tpl/atom10.html index 6e0d96b87..a68e2b3d3 100644 --- a/modules/rss/tpl/atom10.html +++ b/modules/rss/tpl/atom10.html @@ -1,37 +1,37 @@ {''} - {$info->title} - - {str_replace('\'', ''', htmlspecialchars($info->description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - - {$info->date} - {$info->id} - - - XpressEngine + {$info->title} + + {str_replace('\'', ''', htmlspecialchars($info->description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} + + {$info->date} + {$info->id} + + + XpressEngine - {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - {$oDocument->getPermanentUrl()} - {$oDocument->getRegdate('Y-m-d\TH:i:sP')} - {zdate($oDocument->get('last_update'),'Y-m-d\TH:i:sP')} - - - - {str_replace('\'', ''',$oDocument->getNickName())} - - {$oDocument->getHomepageUrl()} - - - - {str_replace('\'', ''', htmlspecialchars($oDocument->getTransContent(false,false,true), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - - {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - - - - - - + <![CDATA[{str_replace('\'', ''', htmlspecialchars($oDocument->getTitleText(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]> + {$oDocument->getPermanentUrl()} + {$oDocument->getRegdate('Y-m-d\TH:i:sP')} + {zdate($oDocument->get('last_update'),'Y-m-d\TH:i:sP')} + + + + getNickName())}]]> + + {$oDocument->getHomepageUrl()} + + + + getTransContent(false,false,true), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]> + + getContentText(100), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]> + + + + + + diff --git a/modules/rss/tpl/rss10.html b/modules/rss/tpl/rss10.html index 170a25346..d5de2ff95 100644 --- a/modules/rss/tpl/rss10.html +++ b/modules/rss/tpl/rss10.html @@ -1,26 +1,26 @@ {''} - - {$info->title} - {$info->link} - {str_replace('\'', ''', htmlspecialchars($info->description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - - - - - - - - {$info->date} - {$info->language} + + <![CDATA[{$info->title}]]> + {$info->link} + {str_replace('\'', ''', htmlspecialchars($info->description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} + + + + + + + + {$info->date} + {$info->language} - - - {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - {$oDocument->getPermanentUrl()} - {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(200), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - {$oDocument->getRegdate('Y-m-d\TH:i:sP')} - - + + + <![CDATA[{str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]> + {$oDocument->getPermanentUrl()} + getContentText(200), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]> + {$oDocument->getRegdate('Y-m-d\TH:i:sP')} + + diff --git a/modules/rss/tpl/rss20.html b/modules/rss/tpl/rss20.html index 25524f78e..42d052a64 100644 --- a/modules/rss/tpl/rss20.html +++ b/modules/rss/tpl/rss20.html @@ -1,46 +1,46 @@ {''} - - {$info->title} - {$info->link} - {$info->description} - {$info->language} - {$info->date} - {$info->date} - XpressEngine - - {$info->feed_copyright} - - - - {$info->image} - {$info->title} - {$info->link} - - - - - {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - {str_replace('\'', ''',$oDocument->getNickName())} - {$oDocument->getPermanentUrl()} - {$oDocument->getPermanentUrl()} - - {$oDocument->getPermanentUrl()}#comment - - - {str_replace('\'', ''', htmlspecialchars($oDocument->getTransContent(false,false,true), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - - {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - - {$oDocument->getRegdateGM()} - - {str_replace('\'', ''', htmlspecialchars($tag, ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - - - {$oDocument->getCommentcount()} - - - - + + <![CDATA[{$info->title}]]> + {$info->link} + description}]]> + {$info->language} + {$info->date} + {$info->date} + XpressEngine + + feed_copyright}]]> + + + + {$info->image} + <![CDATA[{$info->title}]]> + {$info->link} + + + + + <![CDATA[{str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]> + getNickName())}]]> + {$oDocument->getPermanentUrl()} + {$oDocument->getPermanentUrl()} + + {$oDocument->getPermanentUrl()}#comment + + + getTransContent(false,false,true), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]> + + getContentText(100), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))}]]> + + {$oDocument->getRegdateGM()} + + + + + {$oDocument->getCommentcount()} + + + + diff --git a/modules/rss/tpl/xe_rss.html b/modules/rss/tpl/xe_rss.html index 233e237b3..fbefd10cd 100644 --- a/modules/rss/tpl/xe_rss.html +++ b/modules/rss/tpl/xe_rss.html @@ -1,30 +1,30 @@ {''} - - {$info->title} - {$info->link} - {str_replace('\'', ''', htmlspecialchars($info->description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - {$info->language} - {$info->date} - {$info->total_count} - {$info->total_page} - - - {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - {str_replace('\'', ''',$oDocument->getNickName())} - {$oDocument->getPermanentUrl()} - - {str_replace('\'', ''', htmlspecialchars($oDocument->getTransContent(false,false,true), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - - {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - - {str_replace('\'', ''', htmlspecialchars($oDocument->get('tags'), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} - {$oDocument->getCommentCount()} - {$oDocument->getTrackbackCount()} - {$oDocument->getRegdateGM()} - {$oDocument->getUpdateGM()} - - - + + {$info->title} + {$info->link} + {str_replace('\'', ''', htmlspecialchars($info->description, ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} + {$info->language} + {$info->date} + {$info->total_count} + {$info->total_page} + + + {str_replace('\'', ''',htmlspecialchars($oDocument->getTitleText(), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} + {str_replace('\'', ''',$oDocument->getNickName())} + {$oDocument->getPermanentUrl()} + + {str_replace('\'', ''', htmlspecialchars($oDocument->getTransContent(false,false,true), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} + + {str_replace('\'', ''', htmlspecialchars($oDocument->getContentText(100), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} + + {str_replace('\'', ''', htmlspecialchars($oDocument->get('tags'), ENT_COMPAT | ENT_HTML401, 'UTF-8', false))} + {$oDocument->getCommentCount()} + {$oDocument->getTrackbackCount()} + {$oDocument->getRegdateGM()} + {$oDocument->getUpdateGM()} + + +