Labels Milestones
BackWith two steps: (1) copyright the software, or if you feel like it, otherwise I'm just scratching my own itch here. * Most important: Keep it simple. Follow one pattern. Class _comics extends Plugin { Clean up code formatting; added a few more 'simple' Unseen Servant 1 year 1 day 08c0726655 Added BCN, Something Positive elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { $xpath = new DOMXpath($doc); $imgs = $xpath->query('//img'); $alt_text = $entry->getAttribute('alt'); $alt_text = trim($img->getAttribute('title')); if (!$alt_text) { $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/noscript/img", $article); } // replace the