... | ... |
@@ -23,6 +23,7 @@ if ($xml === false) { |
23 | 23 |
$article = array(); |
24 | 24 |
$article['title'] = $item->title; |
25 | 25 |
$article['link'] = $item->link; |
26 |
+ $article['link'] = re_remove($article['link'], '/\?partner=rss&emc=rss/'); |
|
26 | 27 |
$article['pubDate'] = $item->pubDate; |
27 | 28 |
$article['timestamp'] = strtotime($item->pubDate); |
28 | 29 |
$article['description'] = $item->description; |