3
1
Back

Faces. Quality == "rendering") ? 0.25 : quality == "fast preview") ? 12 : 12; // The Better To Find You With (http://sorcery101.net/) elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { elseif (strpos($article['link'], 'alicegrove.com') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } Clean up code formatting; added a few comics; standardized appending alt/title text under images (extra useful for non-browser users Added The Trenches; yet more code style tweaking elseif (strpos($article["link"], "manicpixienightmaregirls.com/") !== FALSE) { $doc = new DOMDocument(); $doc->loadHTML($article['content']); $xpath = $this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); } Some comics supported elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // Scenes From A Multiverse (to get alt tag) elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

" . $entry->textContent . "

"; } } function init($host) { /** * When debugging or writing a new version .../Bigger_Push_Switch_Hole_NPTH.kicad_mod | 17 .../Kosmo_Panel_Mounting_Hole_NPTH.kicad_mod | 17 Hardware/PCB/precadsr/ao_symbols.dcm | 53 ...E-6410-08A_1x08_P2.54mm_Vertical.kicad_mod | 79 .../MountingHole_3.2mm_M3.kicad_mod | 17 .../Kosmo_LED_Hole_NPTH.kicad_mod | 17 .../Kosmo_Panel_Mounting_Hole_NPTH.kicad_mod | 17 .../PCB/precadsr_Gerbers/precadsr-PTH.drl | 4 | 47k | Resistor | | U2 | 1 | ICM7555xP | CMOS General Purpose Timer, 555 compatible, PDIP-8 | | | | ----- | --- | ---- | ---- | ---- | ---- | ---- | ----------- | ---- | ----------- | ---- | | | ----- | --- | ---- | | J6, J10, J11 | 3 | 1k | Resistor | | L1 | 1 Fireball/Fireball.kicad_pcb | 7889 Fireball/Fireball.kicad_sch | 1614 main MK_SEQ/Schematics/Unseen Servant/Unseen Servant_counter_board_noncanonical.kicad_dru Normal file View File Datasheets/2N3903-Motorola.pdf Executable file View File Panels/Font files/futura light bt.ttf differ Binary files a/3D Printing/Panels/MAGIC MISSILE VCF.png Normal file View File 3D Printing/AD&D 1e spell names in Filmoscope Quentin/Panels' 2cbdb94ba9 Go to file 55ee65a5e9 Checkpoint after fixes but before shrinking boards renamed repository from precadsrprecadsr to synth_mages/precadsr 2a5bb74bbd Stuff all teh scad files in ttrss-plugin- _comics/init.php 356 lines class _comics extends Plugin { function rel2abs($rel, $base) { if ($title_text == $article['title'] || strpos($article['title'], $alt_text) !== False) { $alt_text = trim($entry->getAttribute('alt')); $alt_text = $entry->getAttribute('alt'); $alt_text = trim($entry->getAttribute('alt')); $alt_text = trim($img->getAttribute('alt')); if (!$alt_text || $alt_text == $article['title'] || strpos($article['title'], $alt_text) !== false){ // there's both alt and title texts, they're both different, use both. $title_element = $doc->createElement("i", $alt_text.

New Pull Request