Labels Milestones
BackHave some uncertainty about what the MSDs are playing at the first $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace('#(/[0-9-]+)-150x150\.gif#', '$1.gif', $article['content']); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic-1']//img", $article); // And get blog $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { $article['content'] .= "
$orig_content"; } // there's both alt and title texts, they're both different, use both. } elseif ($alt_text == $title_text){ } elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE ) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, "//img[starts-with(@src, '/comics/') and @class='comic_image']", $article); } /* absolute URL */ $abs = "$host$path/$rel"; /* replace '//' or '/./' or '/foo/../' with '/' */ } /* absolute URL is ready! */ return $scheme.'://'.$abs; return $scheme . '://' . $abs; if (preg_match("@.*(
New Pull Request