3
1
Back

Samurai ttrss-plugin- _comics/init.php 342 lines if (strpos($article["link"], "penny-arcade.com") !== FALSE && // Cyanide & Happiness elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this } //No matches //No matches if ($img->getAttribute('title')) { $article['content'] .= "

Bonus comic:
" . $aftercomic . ""; $img_tag = $this->get_img_tags($xpath, "//div[@class='img-comic-container']//img", $article); } } /* absolute URL is ready! */ } function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) .

New Pull Request