mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-08 17:46:34 +02:00
bridges: Cleanup occurrences of $item->thumbnailUri
This is a subsequent change to f3eefab
This commit is contained in:
@@ -7,7 +7,7 @@ class NextgovBridge extends BridgeAbstract {
|
||||
$this->name = 'Nextgov Bridge';
|
||||
$this->uri = 'https://www.nextgov.com/';
|
||||
$this->description = 'USA Federal technology news, best practices, and web 2.0 tools.';
|
||||
$this->update = '2016-08-06';
|
||||
$this->update = '2016-08-09';
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
@@ -79,14 +79,10 @@ class NextgovBridge extends BridgeAbstract {
|
||||
.'<p><b>'.$article_subtitle.'</b></p>'
|
||||
.trim($contents);
|
||||
|
||||
if ($article_thumbnail == '')
|
||||
$article_thumbnail = 'http://cdn.nextgov.com/nextgov/images/logo.png';
|
||||
|
||||
$item = new \Item();
|
||||
$item->uri = $article_url;
|
||||
$item->title = $article_title;
|
||||
$item->author = $article_author;
|
||||
$item->thumbnailUri = $article_thumbnail;
|
||||
$item->timestamp = $article_timestamp;
|
||||
$item->content = $contents;
|
||||
$this->items[] = $item;
|
||||
|
Reference in New Issue
Block a user