mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
refactor: remove parent calls to parseItem (#3747)
This commit is contained in:
parent
e379019db2
commit
2880524dfc
55 changed files with 96 additions and 293 deletions
|
@ -8,10 +8,8 @@ class GizmodoBridge extends FeedExpander
|
|||
const CACHE_TIMEOUT = 1800; // 30min
|
||||
const DESCRIPTION = 'Returns the newest posts from Gizmodo.';
|
||||
|
||||
protected function parseItem($item)
|
||||
protected function parseItem(array $item)
|
||||
{
|
||||
$item = parent::parseItem($item);
|
||||
|
||||
$html = getSimpleHTMLDOMCached($item['uri']);
|
||||
|
||||
$html = defaultLinkTo($html, $this->getURI());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue