3
1
Back

Visible $bread_page_url = $bread->getAttribute('href'); $xpath = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = $matches[1]; } } if(ADD_IDS){ $article['content'] .= "
Alt: $alt_text
"; list($html, $content_type) = $this->get_content($link); //Sites that provide images and just need alt tags foreach($imgs as $img){ if ($img->getAttribute('title')) { $article['content'] = $this->get_img_tags($xpath, '(//div[@class="webcomic-image"]//img)', $article); // $article['content'] = $this->get_img_tags($xpath, "//img[contains(@src, 'sp') and contains(@src, 'comics')]", $article.

New Pull Request