remove meaningless codes

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6984 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-11-25 08:29:41 +00:00
parent 0227c1a88a
commit a591384e50

View file

@ -467,8 +467,6 @@
$content_item->setNickName(max($item->author,$item->{'dc:creator'}));
//$content_item->setCategory($item->category);
$item->description = preg_replace('!<a href=!is','<a onclick="window.open(this.href);return false" href=', $item->description);
$matches = null;
preg_match('/<img[^>]+src="([^"]+)[^>]+>/', $item->description, $matches);
$content_item->setContent($this->_getSummary($item->description, $args->content_cut_size));
$content_item->setLink($item->link);
$date = date('YmdHis', strtotime(max($item->pubdate,$item->pubDate,$item->{'dc:date'})));