Хранилища Subversion ant

Сравнить редакции

Не учитывать пробелы Редакция 136 → Редакция 137

/trunk/feed.php
68,15 → 68,15
$result .= "<link href=\"http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/\" />\n";
$result .= "<updated>".$lastbuilddate."</updated>\n";
$result .= "<author>\n<name>\n".$core->getSetting('codename',$db)."</name>\n</author>\n";
$result .= "<id>urn:http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/</id>\n";
$result .= "<id>urn:uuid:".uniqid("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/",true)."</id>\n";
$query =& $db->query("SELECT * FROM changelog ORDER BY log_id DESC LIMIT 10");
if ($query->numRows()>0) {
while ($query->fetchInto($log, DB_FETCHMODE_ASSOC)) {
$result .= "<entry>\n";
$result .= "<title type=\"html\">".stripslashes($log["log_title"])."</title>\n";
$result .= "<link>http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"]."</link>\n";
$result .= "<link href=\"http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"]."\" />\n";
$result .= "<summary type=\"html\"><![CDATA[".stripslashes($log["log_desc"])."]]></summary>\n";
$result .= "<id>urn:uuid:".md5("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"])."/changelog.php?id=".$log["log_id"])."</id>\n";
$result .= "<id>urn:uuid:".uniqid("http://".$_SERVER["HTTP_HOST"].dirname($_SERVER["PHP_SELF"],true)."/changelog.php?id=".$log["log_id"])."</id>\n";
$updated = str_replace(" ","T",$log["log_record"]);
$updated .= "+06:00";
$result .= "<updated>".$updated."</updated>\n";