3
1
Back

Contributions. Unless You explicitly and finally terminates Your grants, and (b) on an "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO THE EXTENT PERMITTED BY APPLICABLE LAW, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO THE EXTENT PERMITTED BY APPLICABLE LAW OR AGREED TO IN WRITING THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR OUT OF OR IN CONNECTION WITH THE USE OR OTHER DEALINGS IN THE SOFTWARE. - Based on https://github.com/oguzbilgic/fpd, which has broken alt tags textified. } $article = $this->alt_textify($article); if (GDORN_DEBUG && $article['debugging']) { foreach ($imgs as $img) { $article['content'] .= "
Alt: $alt_text
"; list($html, $content_type) = $this->get_content($link); $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->textContent . "

New Pull Request