Vergleich syndication.php - 1.2.0 - 1.2.5

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

 * $Id: syndication.php 2164 2006-08-30 06:17:49Z chris $

 * $Id: syndication.php 2724 2007-02-07 20:03:56Z CraKteR $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);



define("IGNORE_CLEAN_VARS", "fid");

define("NO_ONLINE", 1);

require_once "./global.php";

define("NO_ONLINE", 1);

require_once "./global.php";

Zeile 100Zeile 100

// Get the threads to syndicate.
$query = $db->query("


// Get the threads to syndicate.
$query = $db->query("

	SELECT t.*, f.name AS forumname, p.message AS postmessage

	SELECT t.*, f.name AS forumname, p.message AS postmessage, p.edittime

	FROM ".TABLE_PREFIX."threads t
LEFT JOIN ".TABLE_PREFIX."forums f ON (f.fid=t.fid)
LEFT JOIN ".TABLE_PREFIX."posts p ON (p.pid=t.firstpost)

	FROM ".TABLE_PREFIX."threads t
LEFT JOIN ".TABLE_PREFIX."forums f ON (f.fid=t.fid)
LEFT JOIN ".TABLE_PREFIX."posts p ON (p.pid=t.firstpost)

Zeile 128Zeile 128
		"title" => $thread['subject'],
"link" => $mybb->settings['bburl']."/showthread.php?tid=".$thread['tid'],
"description" => $parser->strip_mycode($thread['postmessage'], $parser_options),

		"title" => $thread['subject'],
"link" => $mybb->settings['bburl']."/showthread.php?tid=".$thread['tid'],
"description" => $parser->strip_mycode($thread['postmessage'], $parser_options),

		"date" => $thread['dateline']


		"date" => $thread['dateline'],
"updated" => $thread['edittime']

	);
$feedgenerator->add_item($item);
}

// Then output the feed XML.
$feedgenerator->output_feed();

	);
$feedgenerator->add_item($item);
}

// Then output the feed XML.
$feedgenerator->output_feed();



 
?>

?>