Merge branch 'master' of github.com:gothfox/Tiny-Tiny-RSS
这个提交包含在:
当前提交
bf5e77a165
共有 1 个文件被更改,包括 13 次插入 和 1 次删除
|
@ -264,7 +264,19 @@ class Af_Comics extends Plugin {
|
|||
$basenode = $entry;
|
||||
}
|
||||
|
||||
$uninteresting = $xpath->query('(//div[@class="heading"])');
|
||||
$meta = $xpath->query('(//div[@class="meta"])')->item(0);
|
||||
if ($meta->parentNode) { $meta->parentNode->removeChild($meta); }
|
||||
|
||||
$header = $xpath->query('(//div[@class="postBody"]/h2)')->item(0);
|
||||
if ($header->parentNode) { $header->parentNode->removeChild($header); }
|
||||
|
||||
$header = $xpath->query('(//div[@class="postBody"]/div[@class="comicPost"])')->item(0);
|
||||
if ($header->parentNode) { $header->parentNode->removeChild($header); }
|
||||
|
||||
$avatar = $xpath->query('(//div[@class="avatar"]//img)')->item(0);
|
||||
$basenode->insertBefore($avatar, $basenode->firstChild);
|
||||
|
||||
$uninteresting = $xpath->query('(//div[@class="avatar"])');
|
||||
foreach ($uninteresting as $i) {
|
||||
$i->parentNode->removeChild($i);
|
||||
}
|
||||
|
|
正在加载…
在新工单中引用