3
1
Back

'(//div[@id="aftercomic"]//img)', $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } Invisible Bread, Softer World (alt tags), Dinosaur Comics Cleanup $entries = $xpath->query("//div[@id='comic-notes']"); foreach ($entries as $entry){ $orig_src = $entry->getAttribute('src'); $new_src = $this->rel2abs($orig_src, $article['link']); $entry->setAttribute('src', $new_src); $result_html .= "
Alt: " . $img->getAttribute('title') . ""; Invisible Bread, Softer World (alt tags), Dinosaur.

New Pull Request