diff --git a/plugins/af_comics/filters/af_comics_pvp.php b/plugins/af_comics/filters/af_comics_pvp.php new file mode 100644 index 000000000..2094e684e --- /dev/null +++ b/plugins/af_comics/filters/af_comics_pvp.php @@ -0,0 +1,33 @@ +loadHTML($res); + + if ($doc) { + $xpath = new DOMXPath($doc); + $basenode = $xpath->query('//section[@class="comic-art"]')->item(0); + + if ($basenode) { + $article["content"] = $doc->saveXML($basenode); + } + } + + return true; + } + + return false; + } +} +?>