3
1
Back

} Various updates, additions Updated LICD, alter alt-textify to handle both title and alt tags if both exist elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $doc = new DOMXpath($doc); elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Scenes From A Multiverse Least I Could Do (wtf image size?) elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } } //Sites that provide images and just use python to send CV; could also do midi-over-usb buy a Korg MS-20. ** that one fails due to referer checks elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] .= "$orig_content"; // Awkward Zombie // Awkward Zombie elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { // Timothy Winchester (People I Know) elseif (strpos($article['link'], 'www.timothywinchester.com/2') !== FALSE) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } // Wondermark (alt tag already present foreach($imgs as $img){ $article['content'] .= $aftercomic; $article['content'] .= "

$orig_content

"; //also append the blarg post because that's small, interesting, //and sometimes necessary for old fogeys like me to get what game it's about $entries = $xpath->query("//span[@class='rss-content']"); foreach.

New Pull Request