Vergleich inc/class_feedgeneration.php - 1.4.5 - 1.4.14

  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 4427 2009-08-13 21:22:07Z RyanGordon $

 */

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