3
1
Back

If ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'comics')]", $article); } // Two Lumps elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(width|height)="150"#', '', $article['content']); // Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // slightly complicated; the link is to say, a work at sc-fa.com. Permissions beyond the scope of this.

New Pull Request