3
1
Back

.= "

" . $entry->textContent . "

"; } } } //noop elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } } Invisible Bread, Softer World (alt tags), Dinosaur Comics (alt tags+blog), CAD, attempt at OOTS (but that one fails due to referer checks elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='imgdiv']//img", $article); //also get the blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry){ $article['content'] .= "

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

"; } } return $article; } function get_content($link) { * Inserts text captions from any copy of The MIT License (MIT) Copyright (c) 2018 Aliaksandr Valialkin Permission is hereby granted, free.

New Pull Request