Gepostet am:21.02.2011 15:44
#2
Aw: Keine Umlaute in RSS Feeds
21.02.2011 15:44 Zitat:
Micha578 schrieb:
wo kann man noch suchen?
in der backend.php
ersetzen mal das
if (!empty($sarray) && is_array($sarray)) {
foreach ($sarray as $story) {
$tpl->append('items', array(
'title' => XoopsLocal::convert_encoding(htmlspecialchars($story->title(), ENT_QUOTES)) ,
'link' => XOOPS_URL . '/modules/news/article.php?storyid=' . $story->storyid() ,
'guid' => XOOPS_URL . '/modules/news/article.php?storyid=' . $story->storyid() ,
'pubdate' => formatTimestamp($story->published(), 'rss') ,
'description' => XoopsLocal::convert_encoding(htmlspecialchars($story->hometext(), ENT_QUOTES))));
}
}
mit
if (!empty($sarray) && is_array($sarray)) {
foreach ($sarray as $story) {
$tpl->append('items', array(
'title' => htmlspecialchars($story->title(), ENT_QUOTES) ,
'link' => XOOPS_URL . '/modules/news/article.php?storyid=' . $story->storyid() ,
'guid' => XOOPS_URL . '/modules/news/article.php?storyid=' . $story->storyid() ,
'pubdate' => formatTimestamp($story->published(), 'rss') ,
'description' => htmlspecialchars($story->hometext(), ENT_QUOTES)));
}
}