3
1
Back

Different histories. // Achewood (alt tag) elseif (strpos($article['link'], 'paintraincomic.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get blog entry $article['content'] .= "
Error processing via _comics plugin!
" . $e->getMessage(); } } //Sites that provide images and just need alt tags textified. //Sites that provide images and just need alt tags elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users Added The Trenches; yet more code style tweaking // The Oatmeal $entries = $xpath->query("//div[@id='signoff-wrapper']"); foreach ($entries as $entry){ foreach ($entries as $entry) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } Dead Philosophers elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); extra_depth = 75 + tolerance; rotate_vector_cos = 0.94; // 'x' of 20 degree rotation rotate_vector_sin = 0.34; // 'y' of rotation left_edge.

New Pull Request