Labels Milestones
Back1.0 Detailed Specification.pdf differ Binary files /dev/null and b/Synth_Manuals/Kassutronics_Slope_Build_Docs_2.0A-1.pdf differ Binary files /dev/null and b/3D Printing/Pot_Knobs/pot_knob_two_parts_base.stl differ Binary files a/3D Printing/AD&D 1e spell names in Filmoscope Quentin/POLYMORPH.png Normal file Unescape Schematics/Unseen Servant/Unseen Servant.kicad_pcb From 30c3ba213e5b17cb0b032d223b27a77bfb076337 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Gunnerkrigg and cleanup of alt-tag-only sites Gunnerkrigg and cleanup of alt-tag-only sites elseif (strpos($article['content'], 'wondermark.com/c') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[@class='ksc' and contains(@src, 'png')]", $article); elseif (strpos($article['link'], 'threepanelsoul.com/2') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); // Doghouse Diaries, which has broken alt tags if both exist Updated LICD, alter alt-textify to handle both title and alt tags foreach($imgs as $img){ foreach ($imgs as $img) { if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $title_text) !== false){ // there's both alt and title.
New Pull Request