| Subject: Re: Blog plugin |
Author:
Ike
|
[
Next Thread |
Previous Thread |
Next Message |
Previous Message
]
Date Posted: 10:48:00 10/03/04 Sun
Author Host/IP: 80.60.252.12 In reply to:
Kayne McGladrey
's message, "Re: Blog plugin" on 11:54:58 07/11/04 Sun
I can't get the blog plugin working on sites other than the example (antone.geckotribe.com). It doesn't do anything, except giving me xml parse errors and, on reload, displaying '[html][body/][/html]'.
I threw together the easiest code imaginable for trying to get it right, or to at least understand what the script is supposed to do. It's here, but I can't even get this parsed to correct xml output.
My php code looks like this:
require_once "/var/www/fireflies/htdocs/grouper/grouper.php";
GrouperLoadPlugin('blog.php');
GrouperConf('contenttype','text/xml');
GrouperSourceConf('tossbefore','');
GrouperSourceConf('tossafter','');
GrouperSourceConf('channeltitle','Fireflies');
GrouperSourceConf('channeldescription','Tagline here');
GrouperSourceConf('searchdomain','www.fireflies.nl');
GrouperSourceConf('querystart','/grouper/groupertest/');
GrouperSourceConf('channelstart','');
GrouperSourceConf('channelend','');
GrouperSourceConf('itemsstart','');
GrouperSourceConf('itemsend','');
GrouperSourceConf('itemstart','');
GrouperSourceConf('ctitlestart','');
GrouperSourceConf('ctitleend','');
GrouperSourceConf('cdescriptionstart','');
GrouperSourceConf('cdescriptionend','');
GrouperSourceConf('ititlestart','');
GrouperSourceConf('ititleend','');
GrouperSourceConf('idescriptionstart','');
GrouperSourceConf('idescriptionend','');
GrouperSourceConf('ilinkstart','');
GrouperSourceConf('ilinkend','');
GrouperShow('','c1.txt');
?>
I probably just don't understand the code and can't interpret the output, but can anyone tell me how I can get it right? It probably has something to do with the paths I used pointing to my website, because when I enter a non-existing site I get the same error messages and weird output.
[
Next Thread |
Previous Thread |
Next Message |
Previous Message
]
| |