[HeiseBridge] add TechStage support
This commit is contained in:
parent
366d2d66b3
commit
cccd390b0f
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