mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-10 19:46:23 +02:00
[WordPressBridge] add another case of content extraction
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@ -36,6 +36,11 @@ class WordPressBridge extends FeedExpander {
|
|||||||
// another common content div
|
// another common content div
|
||||||
$article = $article_html->find('.single-content', 0);
|
$article = $article_html->find('.single-content', 0);
|
||||||
break;
|
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)):
|
case !is_null($article_html->find('.post',0)):
|
||||||
// for old WordPress themes without HTML5
|
// for old WordPress themes without HTML5
|
||||||
$article = $article_html->find('.post', 0);
|
$article = $article_html->find('.post', 0);
|
||||||
|
Reference in New Issue
Block a user