3
1
Back

Image. /* OotS uses some kind of referer check which prevents fetch_file_contents() from retrieving the image. Elseif (strpos($article['link'], 'wondermark.com/c') !== FALSE) { // Robot Hugs elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { if (!$title_text || $title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { $alt_text = trim($entry->getAttribute('title')); $result_html .= $entry->ownerDocument->saveXML($entry); Added BCN, Something Positive elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@height=\"\d+\"@", "", $img); $img = $matches[1]; $img = preg_replace("@width=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; $img = preg_replace("@height=\"\d+\"@", "", $img); $img = preg_replace("@width=\"\d+\"@", "", $img); $img = $matches[1]; $article['content'] = preg_replace("@@", '', $article['content']); } // Three Panel Soul elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Some comics supported Latest commits for file .gitignore Initial commit Initial commit 2015-02-23 04:24:08 -08:00 Yet more ways of pulling comics, alt text and salient bits of blogs into Tiny Tiny RSS entries. Binary files /dev/null and b/Images/PXL_20210831_004139245.jpg differ Images/befaco_vcadsr.png Normal file View File 3D Printing/Cases/Eurorack Modular Case/EuroRack_Case_20.stl Executable file View File * Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article) . $article['content']; } // SBMC Latest commits for file Schematics/MK_VCO_RADIO_SHAEK_try2_ground_rail.diy From 605f29538db81c6c2eb02428332e653ea5ee7e41 Mon Sep 17 00:00:00 2001 Subject: [PATCH] More notes Binary files /dev/null and b/Panels/Futura XBlk BT.ttf Normal file Unescape Hardware/PCB/precadsr/ao_tht.pretty/Arduino_Nano.kicad_mod Normal file View File Synth_Manuals/ElektorFormantMusicSynthesiser.pdf Executable file View File Hardware/PCB/precadsr/precadsr.net Normal file View File MK_VCO_RADIO_SHAEK_W_PARTS.diy Executable file View File From 666c48f795106664bf9f1401667d0a4bc7a85e2a Mon Sep 17 00:00:00 2001 Subject: [PATCH] Add VCA shaek layout ttrss-plugin- _comics/init.php 264 lines define('ADD_IDS', True); class _comics extends Plugin { 'Yet more stupid-simple comic-fetching.', ' ' ); } function rel2abs($rel, $base) { $rel = trim($rel); if (parse_url($rel, PHP_URL_SCHEME) != '' || substr($rel, 0, 2) == '//') { return 2; } } } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users if (preg_match("@.*(createElement("i", $alt_text); } elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); // Dead Philosophers Dead Philosophers elseif (strpos($article['link'], 'cad-comic.com/comic/') !== FALSE) { // Dinosaur Comics Cleanup elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); $article['content'] .= "
Alt: " . $article['id']; $article = $this->alt_textify($article); if (ADD_IDS) { $imgs = $xpath->query('//img'); //doesn't.

New Pull Request