3
1
Back

= $xpath->query('//img'); $alt_text = $entry->getAttribute('title'); $alt_text = trim($img->getAttribute('title')); $title_text = false; if ($alt_text == $title_text){ } elseif (strpos($title_text, $alt_text) !== False) { if ($img->getAttribute('title')) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Joy of Tech elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } Clean up code formatting; added a few more 'simple' Unseen Servant functions 6f5ee76aea tracks the ratsnest and compactifies.

New Pull Request