3
1
Back

Works. These actions are prohibited by law if you want to dig into the linked page for content, e.g. Alt tags. Return array( $html, $content_type); } function get_img_tags($xpath, $query, $article) { $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "

" . $entry->ownerDocument->saveXML($entry) . ""; $img_tag = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); // $article['content'] = $this->get_img_tags($xpath, "//p[@id='comic_body']//img", $article); } // CTRL+ALT+DEL Sillies // Two Lumps elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { elseif (strpos($article['link'], 'girlswithslingshots.com/comic/') !== FALSE) { elseif (strpos($article['link'], 'www.geekculture.com/joyoftech/') !== FALSE) { $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; // only keep everything starting at the first // Least I Could Do You'll note several of these already have working RSS feeds.

New Pull Request