Labels Milestones
Back$html = fetch_file_contents($link); Fix for two bugs in Doghouse Diaries rss: spaces in img src and quotes in alt/title text //also get blog $entries = $xpath->query($query); $result_html = ''; } /* absolute URL is ready! */ return $scheme.'://'.$abs; return $scheme . '://' . $abs; } From 0d3d72c49e606725216a5a9a4217e6c039d5a574 Mon Sep 17 00:00:00 2001 Subject: [PATCH] adds README.md file 4f6e9e0984 Updated LICD, alter alt-textify to handle both title and alt tags textified. Elseif (strpos($article['content'], 'invisiblebread.com/2') !== FALSE) { $doc = new DOMXpath($doc); $imgs = $xpath->query('//img'); $alt_text = trim($img->getAttribute('title')); if (!$alt_text) { $new_element = $doc->createElement("img"); $new_element->setAttribute('src', $extraimage->getAttribute('src')); $bread->parentNode->replaceChild($new_element, $bread); $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // Breaking Cat News $entries = $xpath->query("//div[@id='blarg']/div[last()]"); foreach ($entries as $entry) { $article['content'] = $this->get_img_tags($xpath, "//div[@id='comic']//img", $article); } // replace the