Wordpress + Picasa Plugin

Ich hab folgendes Plugin in meinem Blog installiert, jedoch erfüllt es nicht seine Funktion. Dieses Plugin schafft es nicht, den RSS-Feed zu aktualisieren. Laut Autor sollte das aber funktionieren. Jetzt stellt sich mir die Frage, ob in diesem Script eine Funktion enthalten ist, die auf dem Server hier nicht funktionert?

Falls jemand das Plugin am Laufen hat, ne PM wie ers gemacht wäre net schlecht :wink:

[code]<?php
/*
Plugin Name: Picasa Photos
Plugin URI: http://www.sandaru1.com/2008/04/04/wordpress-picasa-plugin/
Description: Pick photos from picasa album and display them randomly
Author: Sandaruwan Gunathilake
Version: 1.2.0.2
Author URI: http://www.sandaru1.com
*/

function widget_picasa_init() {

if ( !function_exists('register_sidebar_widget') || !function_exists('register_widget_control') )
	return;

function widget_picasa_control() {
	$options = $newoptions = get_option('widget_picasa');
	if ( $_POST['picasa-submit'] ) {
		$newoptions['user'] = strip_tags(stripslashes($_POST['picasa-user']));
		$newoptions['title'] = strip_tags(stripslashes($_POST['picasa-title']));
		$newoptions['delay'] = strip_tags(stripslashes($_POST['picasa-delay']));
		$newoptions['num'] = strip_tags(stripslashes($_POST['picasa-num']));
		$newoptions['size'] = strip_tags(stripslashes($_POST['picasa-size']));
	}
	if ( $options != $newoptions ) {
		$options = $newoptions;
		update_option('widget_picasa', $options);
	}
?>

<?php _e('Title:', 'widgets'); ?>

<?php _e('Picasa Username:', 'widgets'); ?>

<?php _e('Number of photos:', 'widgets'); ?>

<?php _e('Image Size:', 'widgets'); ?>
>400 >288 >200 >160 >150 >72

<?php _e('RSS Download Delay(Days):', 'widgets'); ?>

<?php _e('Last Download at ', 'widgets'); ?> <?php echo date("l dS \of F Y h:i:s A",$options['last']); ?>

<?php }
function picasa_get_photo($option) {
	if ( file_exists(ABSPATH . WPINC . '/rss.php') )
		require_once(ABSPATH . WPINC . '/rss.php');
	else
		require_once(ABSPATH . WPINC . '/rss-functions.php');
	$delay = (is_numeric($option['delay'])?$option['delay']:1)*24*60*60;
	if ($option['last']=="") 
		$option['last'] = 0;
	if ($option['num']=="")
		$option['num'] = 1;
	$photo = array();
	if ((time() - $option['last'])>$delay) {
		$option['last']=time();
		$users=split(';',$option['user']);
		foreach($users as $user) {
			$us = split("\(",$user);
			$user = $us[0];
                            $albums = array();
                            if (count($us)>1)
                                    $albums = split(",",str_replace(')','',$us[1]));
			$rss = fetch_rss("http://picasaweb.google.com/data/feed/base/user/".$user."?kind=album&alt=rss&hl=en_US&access=public");
			if (is_array($rss->items)) {
				foreach($rss->items as $item) {
					if (count($albums)!=0 && !in_array($item['title'],$albums))
						continue;
					$rss2 = fetch_rss(str_replace("entry","feed",$item['guid'])."&kind=photo");
					if (!$rss2)
						continue;
					foreach($rss2->items as $item2) {
						preg_match('/.*src="(.*?)".*/',$item2['description'],$sub);
						$photos[]=array("photo" => $sub[1],"link" => $item2['link'],"title" => $item2['title']);
					}
				}
			}
		}
		if (count($photos)>0) {
			update_option('widget_picasa',$option);
			update_option('widget_picasa_photos',$photos);
		}
	}
	
	
	$photos = (array) get_option('widget_picasa_photos');

	for($i=0;$i<$option['num'];$i++) {
		$selected = $photos[rand(0,count($photos)-1)];
		
		$photo = $selected['photo'];
		if ($option['size']!=288) {
			$photo = str_replace('s288','s'.$option['size'],$photo);
		}
		$str.="<p style=\"text-align:center\"><a href=\"$selected[link]\"><img border=\"0\" src=\"$photo\" alt=\"$selected[title]\"/></a></p>";
	}
	return $str;
}

// This prints the widget
function widget_picasa($args) {
	extract($args);
	$options = (array) get_option('widget_picasa');
	if ($options['title']=="") {
		$options['title'] = "Photos";
	}
	echo $before_widget . $before_title . $options['title'] . $after_title;
	if ($options['user']=="") {
		echo "Configure the widget first!";
	} else {
		echo picasa_get_photo($options);
	}
	echo $after_widget;
}

register_sidebar_widget(array('Picasa Photos', 'widgets'), 'widget_picasa');
register_widget_control(array('Picasa Photos', 'widgets'), 'widget_picasa_control',300,300);

}

add_action(‘widgets_init’, ‘widget_picasa_init’);

?>
[/code]

ich bezweifel dass es gehen wird, weil allow_url_fopen deaktivert ist

D.h. der Befehl fetch_rss wird blockiert?

vermutlich ja
edit:
also nicht direkt der befehl, sondern der zugriff auf die externe seite