forked from blallo/rss-bridge
[WordPressBridge] add another case of content extraction
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
b6245a90c8
commit
43ac961284
1 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,11 @@ class WordPressBridge extends FeedExpander {
|
|||
// another common content div
|
||||
$article = $article_html->find('.single-content', 0);
|
||||
break;
|
||||
case !is_null($article_html->find('.post-content',0)):
|
||||
// another common content div
|
||||
$article = $article_html->find('.post-content', 0);
|
||||
break;
|
||||
|
||||
case !is_null($article_html->find('.post',0)):
|
||||
// for old WordPress themes without HTML5
|
||||
$article = $article_html->find('.post', 0);
|
||||
|
|
Loading…
Reference in a new issue