3
1
Back

They're both different, use both. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $alt_text); $para_element->appendChild($alt_element); $para_element->appendChild($doc->createElement("br")); $title_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif ($alt_text == $title_text){ } elseif (strpos($article["link"], "trenchescomic.com/comic/post/") !== FALSE && // SatW // SatW elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } Invisible Bread, Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'polyinpictures.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); Updated LICD, alter alt-textify to handle both title and alt tags textified. } //Sites that provide images and just need alt tags foreach($imgs as $img){ // Questionable Content (cleanup) elseif (strpos($article['link'], 'dilbert.com/strip/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } Clean up code formatting; added a few more 'simple' Unseen Servant functions first commit first commit first commit main synth_tools/Schematics/SynthMages.pretty/PinSocket_1x03_P2.54mm_Vertical.kicad_mod 43 lines f707877a83 Delete '3D Printing/AD&D 1e spell names rendered as raster using Filmoscope Quentin typeface ... 8e97a73397 Dead Philosophers elseif (strpos($article['link'], 'awkwardzombie.com/index.php?comic') !== FALSE) { $imgs .

New Pull Request