3
1
Back

= -33.3; // these are some setup variables... You probably won't need to call out for elseif (strpos($article['content'], 'thedoghousediaries.com/dhdcomics/') !== FALSE){ //also get blog entry $entries = $xpath->query("//span[@class='rss-content']"); foreach ($entries as $entry) { elseif (strpos($article['link'], 'somethingpositive.net') !== FALSE) { //no-op function rel2abs($rel, $base $path = ''; function rel2abs($rel, $base) { Various updates, additions elseif (strpos($article["link"], "poorlydrawnlines.com/comic/") !== FALSE && Various updates, additions elseif (strpos($article["link"], "www.smbc-comics.com/comic/") !== FALSE) { elseif (strpos($article['content'], 'www.asofterworld.com/index.php?id') !== FALSE) { // Three Panel Soul elseif (strpos($article['link'], 'twolumps.net/d/') !== FALSE) { $article['content'] = $matches[1]; } } Clean up code formatting; added a few comics; standardized appending alt/title text elseif (strpos($article['link'], 'questionablecontent') !== FALSE) { // Timothy Winchester (People I Know) $article['content'] .= "

" . $entry->textContent . "

"; $article['content'] .= "

" . $entry->textContent . "

"; } } $entries.

New Pull Request