3
1
Back

"//div[@id='comic']//img", $article); } // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $alt_text); Latest commits for branch new_footprints Final revision; added custom DRC as project file tstamp 1c9c2c29-57db-4a4e-bbff-29f893ea0430) Final revision; added custom DRC as project file ) (polygon (pts Final revision; added custom DRC as project file tstamp 885d8854-95c7-40d1-bee9-0e598504ab1c) Final revision; added custom DRC as project file return $article; } function mangle_article($article) { // Awkward Zombie elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { // SatW // SatW elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $img; } Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); // Joy of Tech.

New Pull Request