Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* Website: http://www.mybboard.net * License: http://www.mybboard.net/about/license *
|
* $Id: class_feedgeneration.php 3790 2008-04-23 22:50:33Z Tikitiki $
| * $Id: class_feedgeneration.php 4427 2009-08-13 21:22:07Z RyanGordon $
|
*/
class FeedGenerator
| */
class FeedGenerator
|
Zeile 103 | Zeile 103 |
---|
break; // The default is the RSS 2.0 format. default:
|
break; // The default is the RSS 2.0 format. default:
|
$this->channel['date'] = date("D, d M Y H:i:s O", $this->channel['date']);
| $this->channel['date'] = gmdate("D, d M Y H:i:s O", $this->channel['date']);
|
$this->xml .= "<?xml version=\"1.0\" encoding=\"{$lang->settings['charset']}\"?>\n"; $this->xml .= "<rss version=\"2.0\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\">\n"; $this->xml .= "\t<channel>\n";
| $this->xml .= "<?xml version=\"1.0\" encoding=\"{$lang->settings['charset']}\"?>\n"; $this->xml .= "<rss version=\"2.0\" xmlns:content=\"http://purl.org/rss/1.0/modules/content/\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\">\n"; $this->xml .= "\t<channel>\n";
|
Zeile 191 | Zeile 191 |
---|
function sanitize_content($content) { $content = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&$1", $content);
|
function sanitize_content($content) { $content = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&$1", $content);
|
$content = str_replace("]]>", "]]>", $content);
| $content = str_replace("]]>", "]]]]><![CDATA[>", $content);
|
return str_replace("]", "]", $content); }
| return str_replace("]", "]", $content); }
|