diff --git a/bridges/NordbayernBridge.php b/bridges/NordbayernBridge.php index 48157921..94319e2b 100644 --- a/bridges/NordbayernBridge.php +++ b/bridges/NordbayernBridge.php @@ -163,6 +163,13 @@ class NordbayernBridge extends BridgeAbstract $item['content'] .= $this->getUseFullContent($content); } + $categories = $article->find('[class=themen]', 0); + if ($categories) { + $item['categories'] = []; + foreach ($categories->find('a') as $category) { + $item['categories'][] = $category->innertext; + } + } $article->clear(); return $item;