Vergleich syndication.php - 1.8.5 - 1.8.22

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 44Zeile 44
}
else if(!$thread_limit || $thread_limit < 0)
{

}
else if(!$thread_limit || $thread_limit < 0)
{

	$thread_limit = 20;

	$thread_limit = 15;

}

// Syndicate a specific forum or all viewable?

}

// Syndicate a specific forum or all viewable?

Zeile 190Zeile 190
		}
}


		}
}


	$query = $db->simple_select("posts", "message, edittime, tid, fid, pid", $firstpostlist, array('order_by' => 'dateline', 'order_dir' => 'desc'));

	$query = $db->simple_select("posts", "message, edittime, tid, uid, username, fid, pid", $firstpostlist, array('order_by' => 'dateline', 'order_dir' => 'desc'));

	while($post = $db->fetch_array($query))
{
$parser_options = array(

	while($post = $db->fetch_array($query))
{
$parser_options = array(

Zeile 227Zeile 227

$items[$post['tid']]['description'] = $parsed_message;
$items[$post['tid']]['updated'] = $post['edittime'];


$items[$post['tid']]['description'] = $parsed_message;
$items[$post['tid']]['updated'] = $post['edittime'];

 
		$items[$post['tid']]['author'] = array("uid" => $post['uid'], "name" => $post['username']);

		$feedgenerator->add_item($items[$post['tid']]);
}
}


		$feedgenerator->add_item($items[$post['tid']]);
}
}


// Then output the feed XML.

// Then output the feed.

$feedgenerator->output_feed();

$feedgenerator->output_feed();