3
1
Back

If (preg_match("@.*(.*)@", $article['content'], $matches)) { $img = $matches[1]; // Least I Could Do (wtf image size?) $xpath = $this->get_xpath_dealie($article['link']); elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { $article['content'] .= "

" . $entry->textContent . "

"; } } Clean up code formatting; added a few comics; standardized appending alt/title text Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text //also get blog $entries = $xpath->query("//div[@id='signoff-wrapper']"); 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: $alt_text"; Image of caxia score caixa_sr1.png | Bin 0 -> 580484 bytes .../Panels/Radio_shaek_standoff_padded.stl | Bin 70804 -> 71304 bytes viewBox="0 0 8.5 11" d="m 2.1692854,6.5787405 h 0.622047 V 9.1692904 H 2.3346405 2.1692865,9.0118101 Z" d="m 2.1692865,8.5472429 h 0.622047 V 9.1692902 H 3.2795274 3.1141734,9.0118099 Z.

New Pull Request