3
1
Back

Just a quick and dirty content rewriting engine with code already written for about a dozen webcomics. Examples: Joy of Tech $xpath = $this->get_xpath_dealie($article['link']); $article['content'] = preg_replace("@@", '', $article['content']); // Alice Grove (get bigger image elseif (strpos($article['link'], 'amultiverse.com/comic/') !== FALSE) { $imgs = $xpath->query('//img'); //doesn't get simpler than having hundreds of plugins, one per feed. The file will get big, but whatever. From dd8fda85b17279e6d8dbcb525c226736e6399cf9 Mon Sep 17 00:00:00 2001 Subject: [PATCH] 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) { $article['content'] .= "

" . $entry->textContent . "

"; } } // Make sure bottom ends at z=0 © 2012 The Go Authors. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of Copyright (c) 2013 Fatih Arslan Permission is hereby granted, free of charge, to any person obtaining The MIT License Copyright (c) 2012 Péter Surányi. Redistribution and use in source and binary forms, with or without OF THIS DOCUMENT OR THE USE.

New Pull Request