3
1
Back

Doghouse Diaries rss: spaces in img src and quotes in alt/title text under images (extra useful for non-browser users $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . "

"; } } } // Chainsawsuit elseif (strpos($article["link"], "satwcomic.com/") !== FALSE) { $aftercomic = $this->get_img_tags($xpath, '//p[@class="Maintext"]//img[contains(@src, "joyimages")]', $article); } // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'qwantz.com/index.php?comic') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@class='timeline-description']", $article); } Clean up code formatting; added a few due to referer checks elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $doc = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = preg_replace("@@", '', $article['content']); Clean up code formatting; added a few more 'simple' Unseen Servant functions 6f5ee76aea tracks the ratsnest and compactifies the power subsystem.

New Pull Request