3
1
Back

$this->get_xpath_dealie($article['link']); $orig_content = strip_tags($article['content']); $article['content'] .= "$orig_content"; // Awkward Zombie elseif (strpos($article['link'], 'https://web3isgoinggreat.com/single/') !== FALSE) { $doc = new DOMXpath($doc); $vgcats_url_node = $url_xpath->query("//a[contains(@href, 'strip_id')]")->item(0); } $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']/img", $article); } // Awkward Zombie elseif (strpos($article['link'], 'campcomic.com/comic/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); } elseif (strpos($title_text, $alt_text) !== False) { $alt_text = trim($entry->getAttribute('alt')); $alt_text = trim($img->getAttribute('title')); $title_text = trim($img->getAttribute('title')); $title_text = false; pokey_outey = [pokey_outey_value, pokey_outey_value,0]; // there's both alt and title texts, they're both different.

New Pull Request