3
1
Back

{ function get_img_tags($xpath, $query, &$article, $base_url=NULL) { $img_attributes_whitelist = array('src', 'alt', 'title'); if (!$base_url){ $base_url = $article['link']; From 122134fc8e1c73b6bb86552323cca038dd4b5107 Mon Sep 17 00:00:00 2001 Subject: [PATCH] formatting caixa bits 2d3c489f2acf0f8bdc9cf0fe8c2346d4d07472be f51b7b97734e404127fa5d5d263acbfd66f116e4 Bring in diylc and openscad design Bring in diylc and openscad design 2bb058d5715f395d3571ea05d3008566787a2bdb elseif (strpos($article["link"], "sorcery101.net/the-city-between/thebettertofindyouwith") !== FALSE) { $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = $this->get_img_tags($xpath, '(//div[@class="post"]//img)', $article); $article['content'] .= "
Alt: " . $img->getAttribute('title') . ""; } } // Invisible Bread (make the bread visible) // Invisible Bread (make the bread visible) $article['content'] = $this->get_img_tags($xpath, "//div[@class='comic-wrap']", $article); //Sites that provide images and just need alt tags if (preg_match("@.*(

New Pull Request