Update rss.php
This commit is contained in:
parent
e5ee235069
commit
12b9d5539b
|
@ -20,10 +20,10 @@ $link = $url.slash.rss::clean($row['id']).slash;
|
|||
//$date= date("jS F Y h:i:s A", $row['date']);
|
||||
//$date= date('D, d M Y H:i:s', $row['now_time']);
|
||||
$date= date('d M Y H:i:s', $row['now_time']);
|
||||
if (preg_match('/^.{1,200}\b/s', $row['content'], $match))
|
||||
{
|
||||
$content=$match[0].'...';
|
||||
}
|
||||
//if (preg_match('/^.{1,200}\b/s', $row['content'], $match))
|
||||
//{
|
||||
//$content=$match[0].'...';
|
||||
//}
|
||||
rss::feed(htmlspecialchars($row['title']),$link,htmlspecialchars($content),$date);
|
||||
}
|
||||
mysqli_free_result($result);
|
||||
|
|
Loading…
Reference in New Issue