/* Plugin Name: Feed List Plugin URI: http://rawlinson.us/blog/articles/feedlist-plugin/ Description: Displays any ATOM or RSS feed in your blog. Author: Bill Rawlinson Author URI: http://blog.rawlinson.us/ Version: 2.2 */ // include files $relroot = dirname(__FILE__).'/../../'; // get the magpie libary if (file_exists($relroot . 'wp-includes/rss.php')) { require_once($relroot . 'wp-includes/rss.php'); } else if(file_exists($relroot . 'wp-includes/rss-functions.php')){ require_once($relroot . 'wp-includes/rss-functions.php'); } else { function FeedListInitError(){ ?>
');
print_r($val);
print('');
}
/* end utility functions */
}
function rssLinkListFilter($text)
{
return preg_replace_callback("//", "feedListFilter", $text);
}
/* Templates can call any of these functions */
function rssLinkList($args){
if(!is_array($args)){
$args = func_get_args();
}
return feedList($args);
}
function feedList($args){
if(!is_array($args)){
$args = func_get_args();
}
$feed = new FeedList($args);
return $feed->FeedListFeed();
}
function randomFeedList($args){
if(!is_array($args)){
$this->args = parse_str($args,$a);
$this->args = $a;
}
$feed = new FeedList($args);
return $feed->FeedListFile();
}
function feedListFilter($args){
$args = explode(",",$args[1]);
if(count($args) == 1 && !strpos($args[0],":=")){
$a = array();
$a["rss_feed_url"] = $args[0];
$args = $a;
} else {
$a = array();
foreach($args as $arg){
$arg = explode(":=",$arg);
$a[$arg[0]] = $arg[1];
}
$args = $a;
}
$feed = new FeedList($args);
return $feed->FeedListFilter();
}
/* end template functions */
if (function_exists('add_filter'))
{
add_filter('the_content', 'rssLinkListFilter');
}
if(function_exists('FeedListInitError')){
add_action('admin_head','FeedListInitError');
}
?>
$theTitle=wp_title(" - ", false);
if($theTitle != "") {
?>
23 Mar // php the_time('Y') ?>
I had an issue with Feedwordpress and WPMU. The feeds were not appearing and neither were they syndicating posts. Also when I added and deleted blog links they were still appearing.
I tried removing everything including plugins and upgrading to the latest MU Wordpress but Feedwordpress 0.992 only started working properly after I removed the object cache in wp-config.php.
Remove the following line from wp-config.php:
define('ENABLE_CACHE', true);
Delete the folder /wp-content/cache/.
Leave a reply