3
1
Back

"center") { } //Sites that provide images and just need alt tags textified. //Sites that provide images and just need alt tags foreach($imgs as $img){ $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } Pain Train alt tag, Alice Grove (get bigger image) // Alice Grove bigger img elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { // Joy of Tech } // XKCD (alt tags we don't need to call out for) $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] = $img_tag . $article['content']; } Added The Trenches; yet more code style tweaking Added The Trenches; yet more code style tweaking elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); } // SBMC elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); //and sometimes necessary for old fogeys like me to get below 200bpm~ From a5c5ff12ce18fecaaf346f973863d12bf361ac82 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Assorted updates elseif (strpos($article['link'], 'dead-philosophers.com/?p') !== FALSE.

New Pull Request