3
1
Back

* Inserts text captions from any image with an alt or title tag. Function alt_textify($article, $doc = new DOMDocument(); elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { //noop elseif (strpos($article['content'], 'imgs.xkcd.com/comics/') !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '//td/img[contains(@src, "/comics/images/")]', $article); // $article['content'] = $this->get_img_tags($xpath, '(//img[@id="main-comic"])', $article); } // Make sure bottom ends at z=0 © 2012 The Go Authors. All rights reserved. The MIT License (MIT) Copyright (c) 2013 Dustin Sallings Permission is hereby granted, free of charge, to any person.

New Pull Request