3
1
Back

} $xpath = $this->get_xpath_dealie($article['link']); // Joy of Tech Scenes From A Multiverse (to get alt tags elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $doc = new DOMXPath($doc); } function get_img_tags($xpath, $query, $article){ $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= $aftercomic; } } $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, '(//div[@id="aftercomic"]//img)', $article); $article['content'] .= "ID: " . $img->getAttribute('title') . ""; } } // Something Positive elseif (strpos($article['link'], '//theoatmeal.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='content']/img", $article); } Clean up code formatting; added a few more 'simple' Unseen Servant functions More traces and vias, and net links Schematics/Unseen Servant/fp-info-cache Normal file View File.

New Pull Request