OK, nobody cares to take my feedimport help request. So I am trying to use
Extension:RSS. I have renamed magpierss-0,72 directory to magpierss and
updated LocalSettings.php accordingly. Now I am getting http 504 error.
Is there anyone willing to help now? Thank you in advance.
Nelson
Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Nelson A
Li/CIV/CSC@CSC
Sent by: To
mediawiki-l-bounc MediaWiki announcements and site
es(a)lists.wikimedi admin list
a.org <mediawiki-l(a)lists.wikimedia.org>
cc
03/10/2008 06:13 Subject
PM Re: [Mediawiki-l] Extension help
Please respond to
MediaWiki
announcements and
site admin list
<mediawiki-l@list
s.wikimedia.org>
Maybe I should show my code so that you can have a better idea about my
problem. My wiki does not work when the following code is changed in
feedimport.php:
# define location of magpie )
#define('MAGPIE_DIR', '/opt/local/lib/php/magpierss/');
if (!isset(MAGPIE_DIR)) {
define('MAGPIE_DIR',
"C:\\HttpServer\htdocs\\neowiki\\extensions\\magpierss-0.72");
}
Nelson
Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Nelson A
Li/CIV/CSC@CSC
Sent by: To
mediawiki-l-bounc MediaWiki announcements and site
es(a)lists.wikimedi admin list
a.org <mediawiki-l(a)lists.wikimedia.org>
cc
03/10/2008 05:11 Subject
PM Re: [Mediawiki-l] Extension help
Please respond to
MediaWiki
announcements and
site admin list
<mediawiki-l@list
s.wikimedia.org>
Hello,
Have these C:\... errors been resolved? If yes, can Steve or someone
please tell me how? I have problem defining the MAGPIE_DIR in Windows
environment. I believe it is the same problem that Steve had.
Nelson
Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Steve VanSlyck
<s.vanslyck@spamc
op.net> To
Sent by: MediaWiki Announcements List
mediawiki-l-bounc <mediawiki-l(a)lists.wikimedia.org>
es(a)lists.wikimedi cc
a.org
Subject
[Mediawiki-l] Extension help
02/24/2008 06:07
PM
Please respond to
MediaWiki
announcements and
site admin list
<mediawiki-l@list
s.wikimedia.org>
Does anyone know how to resolve these problems:
One gentleman suggested I check the $url variable, but I installed the
magpierss code exactly as instructed (see lines from LocalSettings.php
below) and I would not know what else to do.
I'd actually prefer to use RSSReader (which is what I'm using now) but
it had even more errors. Magpie/Alexndr had only these three.
Notice: Undefined variable: url in C:\Inetpub\olr\wiki\LocalSettings.php on
line 191
Warning: MagpieRSS: fetch_rss called without a url in
C:\Inetpub\olr\wiki\extensions\magpierss\rss_fetch.inc on line 238
Parse error: syntax error, unexpected '>' in
C:\Inetpub\olr\wiki\extensions\magpierss\rss.php on line 130
=============================
LocalSettings.php lines 189-192:
189 # AlxndrRSS
190 require_once("extensions/magpierss/rss_fetch.inc");
191 $rss = fetch_rss($url);
192 include_once("extensions/magpierss/rss.php");
=============================
rss_fetch.inc lines 228-240:
228 function error ($errormsg, $lvl=E_USER_WARNING) {
229 global $MAGPIE_ERROR;
230
231 // append PHP's error message if track_errors enabled
232 if ( isset($php_errormsg) ) {
233 $errormsg .= " ($php_errormsg)";
234 }
235 if ( $errormsg ) {
236 $errormsg = "MagpieRSS: $errormsg";
237 $MAGPIE_ERROR = $errormsg;
238 trigger_error( $errormsg, $lvl);
239 }
240 }
=============================
rss.php lines 128-130:
128 #check for errors.
129 if ($rss->ERROR) {
130 return «<div>Failed to load RSS feed from $url:
».$rss->ERROR."</div>"; #localize...
131 }
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l