3
1
Back

In Pictures elseif (strpos($article['link'], 'breakingcatnews.com/comic/') !== FALSE) { //also get blog $entries = $xpath->query("//div[@class='entry']"); // VG Cats $vgcats_url = $vgcats_url_node->getAttribute('href'); $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="container"]//center//img)', $article); } elseif (strpos($title_text, $alt_text) !== false){ $text_element = $doc->createElement("i", $title_text); $para_element->appendChild($title_element); } Clean up code formatting; added a.

New Pull Request