3
1
Back

Rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech Scenes From A Multiverse Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-img']//img", $article); $alt_text = $entry->getAttribute('title'); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || strpos($article['title'], $title_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $title_text); } else if (bottom_element=="switch") { } //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'threepanelsoul.com/comic/') !== FALSE) { Gunnerkrigg and cleanup of alt-tag-only.

New Pull Request