diff --git a/bridges/PhoronixBridge.php b/bridges/PhoronixBridge.php new file mode 100644 index 00000000..c5ded27b --- /dev/null +++ b/bridges/PhoronixBridge.php @@ -0,0 +1,22 @@ +collectExpandableDatas('https://www.phoronix.com/rss.php', 15); + } + + protected function parseItem($newsItem){ + $item = parent::parseItem($newsItem); + // $articlePage gets the entire page's contents + $articlePage = getSimpleHTMLDOM($newsItem->link); + $article = $articlePage->find('.content', 0); + $item['content'] = $article; + return $item; + } +}