Merge pull request #1515 from Dreckiger-Dan/patch-1
[HeiseBridge] add TechStage support
This commit is contained in:
commit
5eeda8dd52
1 changed files with 3 additions and 0 deletions
|
@ -62,6 +62,9 @@ class HeiseBridge extends FeedExpander {
|
||||||
|
|
||||||
$content = $article->find('div[class*="article-content"]', 0);
|
$content = $article->find('div[class*="article-content"]', 0);
|
||||||
|
|
||||||
|
if ($content == null)
|
||||||
|
$content = $article->find('#article_content', 0);
|
||||||
|
|
||||||
foreach($content->find('p, h3, ul, table, pre, img') as $element) {
|
foreach($content->find('p, h3, ul, table, pre, img') as $element) {
|
||||||
$item['content'] .= $element;
|
$item['content'] .= $element;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue