MyXoops Forum

Forum - myXOOPS German Support

3 + 7 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

Aw: Keine Umlaute in RSS Feeds

Betreff: Aw: Keine Umlaute in RSS Feeds
von alfred am 21.02.2011 15:44:23

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)));
        }
    }

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
OffOffTopic [Wichtig] Übernahme myXOOPS 0 322 11.12.2023 18:57
alfred Gehe zum letzten Beitrag
Die Installation und Administration von XOOPS 2.5.X [Offen] Upgrade 2.5.11 3 1987 07.05.2023 07:03
Goffy Gehe zum letzten Beitrag