Steve,
Looking at your post again...
Warning: MagpieRSS: fetch_rss called without a url in
C:\Inetpub\olr\wiki\extensions\magpierss\rss_fetch.inc on line 238
This warning message suggest that magpie is installed and can be found.
Parse error: syntax error, unexpected '>'
in
C:\Inetpub\olr\wiki\extensions\magpierss\rss.php on line 130
I realize that you have the rss.php extension inside the extensions/
magpierss directory... which should work, even though I wouldn't have
put it there.
Looking at line 130
130 return «<div>Failed to load RSS feed from $url: ».$rss-
ERROR."</div>"; #localize...
Try changing the quote delimiters:
130 return "<div>Failed to load RSS feed from $url: ".$rss-
ERROR."</div>"; #localize...
That should take care of the parse error.
It takes a while to get how these things work. We all start out as
newbies!
Jim
On Feb 24, 2008, at 7:30 PM, Steve VanSlyck wrote:
Thanks, Jim. I'll try this out this week. I'm
just a dummy and when
instructions say to "Download and save the Magpie RSS parser into the
same directory," all I can assume is that I'm supposed to install
magpie
pursuant to magpie's installation instructions.
Jim Hu wrote:
I don't understand why you have those lines
in LocalSettings. You
should only have to put
92 include_once("extensions/magpierss/rss.php");
in LocalSettings, after saving the extension code as a file in the
extensions directory. Assuming that you are using the extension code
at
http://meta.wikimedia.org/wiki/User:Alxndr/RSS
that code calls the magpierss library. By putting
191 $rss = fetch_rss($url);
in LocalSettings, you're sending an undefined value, $url, to magpie.
The extension is supposed to get the url from the wikitext of the
page
where you are including the feed, e.g. <rss>http://myfeed.com</rss>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054