RSS output not working

RSS output not working

by James Steinbach -
Number of replies: 5
We've got a moodle software (calling it eClass) and I'm trying to help a faculty member who is trying to set up RSS feed out of his forum.  Problem is, it returns an RSS Error in the xml file.  (I can copy the code if that'll help someone identify the problem.)
I think the problem may relate the fact that eClass is an on an intranet server - you cannot get to it off-campus w/out our VPN.  Another concern of mine - the xml file does not call up a specific php file - it ends after the server folder (.../eclass/).  I'm not a coder and feel like a bird in water here.
Any thoughts, helps?
James
BJU IT Training Faculty Web Liaison
Average of ratings: -
In reply to James Steinbach

Re: RSS output not working

by Dan Stowell -
Yes, it would be helpful if you could post the code. Hard to spot what's wrong otherwise.
In reply to James Steinbach

Re: RSS output not working

by James Steinbach -
Here's the code from the RSS button:

<rss version="2.0">
     <channel>
          <title>BJU eClass</title>
          <link>http://158.158.100.208/eclass</link>;
          <description>
              Welcome to BJU's eClass online learning management system.
          </description>
          <generator>Moodle</generator>
          <copyright>&#169; 2006 BJU eClass</copyright>
          <image>
               <url>
                   
               </url>
               <title>moodle</title>
               <link>http://158.158.100.208/eclass</link>;
               <width>140</width>
               <height>35</height>
          </image>
          <item>
               <title>RSS Error</title>
               <link>http://158.158.100.208/eclass</link>;
               <pubDate>Fri, 15 Sep 2006 14:58:48 EDT</pubDate>
               <description>Error reading RSS data</description>
               <guid isPermaLink="true">http://158.158.100.208/eclass</guid>;
          </item>
     </channel>
</rss>
In reply to James Steinbach

Re: RSS output not working

by Dan Stowell -
OK, this usually means that no RSS data has been produced.

1) Is your Moodle cron definitely working? If not, the RSS won't get produced.
2) Does the forum have any messages in it? I think if there are no messages then you get the error message.
In reply to James Steinbach

Re: RSS output not working

by James Steinbach -
Yes, there are posts in the forum that should be working - eClass always emails me updates about the posts.
About the cron, I don't know.  Coding is not my thing - I fwded that to someone who knows what he's doing in that area.
In reply to James Steinbach

Re: RSS output not working

by James Steinbach -
Everything's good to go now.  Here's what our network engineer claims was the fix:
"I didn't really do anything precisely....just fiddled with settings in the eClass interface (and put them back). There are now valid feeds...
The ones I flipped around were....
1) Enable RSS globally in the main Admin Variables page -- turned it on and off.
2) On your test course forum, I set it to RSS for posts instead of topics and also played with the number showed in the RSS feed..."

Hope this helps someone else - it seems to be a common problem.

James