mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 23:57:29 +02:00
refactor(FeedParser): (#3928)
This commit is contained in:
@@ -32,6 +32,7 @@ abstract class FeedExpander extends BridgeAbstract
|
||||
$feedParser = new FeedParser();
|
||||
$this->feed = $feedParser->parseFeed($xmlString);
|
||||
$items = array_slice($this->feed['items'], 0, $maxItems);
|
||||
// todo: extract parse logic out from FeedParser
|
||||
foreach ($items as $item) {
|
||||
// Give bridges a chance to modify the item
|
||||
$item = $this->parseItem($item);
|
||||
|
Reference in New Issue
Block a user