3
1
Back

{ $imgs = $xpath->query('//img'); //doesn't get simpler than this foreach($imgs as $img){ $article['content'] .= "

" . $entry->textContent . "

"; } } // Girls with Slingshots // Girls with Slingshots // Girls with Slingshots // Girls with Slingshots // CTRL+ALT+DEL Sillies elseif (strpos($article['link'], 'cad-comic.com/sillies/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // Girls with Slingshots elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { elseif (strpos($article['link'], 'cad-comic.com/cad/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); // $img_tag = $this->get_img_tags($xpath, "//img[starts-with(@src, 'sp') and contains(@src, 'uploads') and contains(@src, 'comics')]", $article); } // Something Positive $alt_text = trim($entry->getAttribute('title')); $result_html .= "
Alt: " . $article['id']; } return $article; } if(ADD_IDS){ $article['content'] .= "" . $entry->textContent . "

"; } .

New Pull Request