3
1
Back

(strpos($title_text, $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $title_text); Latest commits for file Panels/a_color_icon_of_a_flying_fireball.webp main synth_tools/Schematics/SynthMages.pretty/IDC-Header_2x05_P2.54mm_Vertical_Fixed_Ground_Fill.kicad_mod 100 lines ac58a9eaed checkpoint after roughing out middle PCB ebf8c2dd87 Move LED resistors next to transistors to save on panel wires ttrss-plugin- _comics/init.php 489 lines Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { function about() { function about() { return $rel; } if (ADD_IDS) { $new_element->appendChild($para_element); if ($alt_text && $alt_text != $article['title']){ $result_html .= "
Alt: " . $img->getAttribute('title') . ""; } } // Least I Could Do (wtf image size? Elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Clean up code formatting; added a few comics; standardized appending.

New Pull Request