3
1
Back

398c2b234cc710f69bb9085257ff5dbf3509a410 Mon Sep 17 00:00:00 2001 Subject: [PATCH] Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users elseif (strpos($article["link"], "eatthattoast.com/comic/") !== FALSE ) { $xpath = new DOMXpath($doc); $bread = $xpath->query("//a[contains(@href, 'bonus-panel')]")->item(0); // Questionable Content (cleanup) elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { // only keep everything starting at the first if(preg_match("@.*()@", $article['content'], $matches)){ $img = $matches[1]; elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE) { // Cyanide & Happiness // Cyanide & Happiness elseif (strpos(strtolower($article['link']), 'giantitp.com/comics/') !== FALSE) { $doc = new DOMDocument(); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@id="comic"]//img)', $article); $article['content'] .= $aftercomic; $article['content'] .= "
Alt: $alt_text
"; list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags if both exist Latest commits for file init.php Assorted updates More SR1 notation More SR1 notation bacdac34d7 Add more note files from aoKicad and Kosmo\_panel. To clone: This file contains ambiguous Unicode characters PSU/Synth Mages Power Word Stun.kicad_prl | 6 Latest commits for file Synth_Manuals/minimoog_operation_manual_1.pdf // Width of "dial" ring (in mm). If you don't want a shaft, set this to a trace already.

New Pull Request