3
1
Back

Outs: elseif (strpos($article['link'], 'leasticoulddo.com/comic') !== FALSE) { $xpath = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = $img; } } } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users // $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { //no-op else { // Three Panel Soul // Three Panel Soul elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $article['content'] .= "
Alt: " . $article['id']; } return $article; } Some comics supported Some comics supported elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath.

New Pull Request