3
1
Back

Spellbook" cannot be undone. Continue? Define('ADD_IDS', True); class _comics extends Plugin { Clean up code formatting; added a few comics; standardized appending alt/title text //also get blog $entries = $xpath->query($query); $result_html = ''; } /* dirty absolute URL is ready! */ elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { // Eat That Toast elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && strpos($article["title"], "Comic:") !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); $alt_text = trim($entry->getAttribute('title')); $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } } // Timothy Winchester (People I Know elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } // Softer World (alt tags), Dinosaur Comics Cleanup $entries = $xpath->query("//div[@class='entry']"); foreach ($entries as $entry) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } .

New Pull Request