mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 17:19:37 +00:00
[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
@ -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 New Issue
Block a user