Vergleich inc/class_feedgeneration.php - 1.4.9 - 1.4.16

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 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 4304 2009-01-02 01:11:56Z chris $

 * $Id: class_feedgeneration.php 5379 2011-02-21 11:06:42Z Tomm $

 */

class FeedGenerator

 */

class FeedGenerator

Zeile 103Zeile 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 191Zeile 191
	function sanitize_content($content)
{
$content = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&#x26;$1", $content);

	function sanitize_content($content)
{
$content = preg_replace("#&([^\#])(?![a-z1-4]{1,10};)#i", "&#x26;$1", $content);

		$content = str_replace("]]>", "]]&gt;", $content);

		$content = str_replace("]]>", "]]]]><![CDATA[>", $content);

		
return str_replace("]", "&#93;", $content);
}

		
return str_replace("]", "&#93;", $content);
}