Loading...
 
Features / Usability

Features / Usability


How is RSS modules downloaded

posts: 34
I am trying to hunt down why the RSS modules won't seem to work on my machine. It appears that the data for the feed is stored in the content field of tiki_rss_modules, correct? I was trying to look through the /lib/rss/rsslib.php file for where tiki actually goes out and makes a connection and stores the content. In my database the content fields are empty. Am I on the right track there?
posts: 224 Ireland

Yes I think you are right. The BLOB-type 'Content' field contains the actual RSS feed data.

Regards,

Pat.


posts: 34
So where is the code that makes the connection to get the RSS feed. I am trying to track that down. Is there a background process, like cron that goes out and fetches the feed?

posts: 224 Ireland

The check to fetch new RSS data is probably done every time you reload the page if it has any RSS modules visible on it. I wouldn't be able to tell you where to look in the code though. If you connect to IRC and visit our #tikiwiki channel you may be able to catch one of the devs real-time. Have a look at this topic for more information on IRC: ConnectingToIrc

Regards,

Pat.


posts: 34
The problem is solved! It is in the code in the rsslib.php file. The issue was with the fopen line. The ability to open URL's as files is by default turned off on my version of php (from gentoo). I tried to do a fopen of the url from my own script, and it failed with a very descriptive error message that led me right to the problem. The part that is anoying me, is that tiki is not showing error messages in this case. I find it hard to believe that an application that has as much thought put into it as this doen't have a error log. Oh well.

posts: 224 Ireland

Glad it is solved and the troubleshooting you did could be very useful to other people with similar problems!

Regards,

Pat.


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting