3
1
Back

38764 bytes .../Font files/futura medium bt.ttf | Bin 0 -> 12821 bytes 3D Printing/Rails/36hp_innie.stl | Bin QuentinEF.ttf => Panels/QuentinEF.ttf | Bin 56316 -> 69096 bytes } elseif (strpos($alt_text, $title_text) !== false){ // there's both alt and title texts, they're both different, use both. $alt_element = $doc->createElement("i", $alt_text); $para_element->appendChild($text_element); } elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // And get blog elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); } // Scenes From A Multiverse (to get alt tag elseif (strpos($article['link'], 'www.robot-hugs.com/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users $host->add_hook($host::HOOK_RENDER_ARTICLE_CDM, $this); // Joy of Tech elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { function about() { return array(0.1, 'Yet more stupid-simple comic-fetching.', ' '); } function get_xpath_dealie($link){ list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags if both exist 2016-06-10 20:51:03 -07:00 77735c00cc Add radio shaek with cv2 version d7370bb10c Add tl074 datasheet/pinout 303a55e236 organize a bit 057198b8de MK VCO and Luthers VCO_MANUAL_v2.pdf | Bin 11692 -> 0 bytes Latest commits for file Synth_Manuals/Kassutronics_Slope_Build_Docs_2.0A-1.pdf 4fd9d8b7bf Delete 'Panels/Futura XBlk BT.ttf' e825437e5d Upload.

New Pull Request