Vergleich syndication.php - 1.2.0 - 1.2.8

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

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

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

 *

 *

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

 * $Id: syndication.php 3030 2007-04-26 00:19:47Z Tikitiki $

 */

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



 
?>

?>