| Author |
Post |
|
|
#1 Mon Sep 03, 2007 5:01 pm
|
|
Member
Registered: Oct 2006
Posts: 37
|
Hi. I have problem with my rss feed on my forum. I can view that in browser without any problems, but when I try to validate rss feed or try parse headings in my website then I get a error that says 404. I am sure this error is not on server. Because I already have tried to move my forum software in 2 different servers. Here is my rss feed: http://admintalk.vaanam.dk/rss.xmlFeed validating page: http://feedvalidator.org/I hope someone will help me on this matter. Thank you. _______________ "Three things cannot be long hidden: the sun, the moon, and the truth." - said by Buddha. « Last edit by Dietrich on Mon Sep 03, 2007 8:13 pm. »
|
|
|
#2 Mon Sep 03, 2007 6:39 pm
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
The RSS feed gives a 403 Forbidden header and a blank page as it is implemented to do so when you can't view the RSS feed. The simple reason for this is that you have closed down your board to guests, ofcourse including search engine bots, feed validators, etc. Thus, this is not a bug.
|
|
|
#3 Mon Sep 03, 2007 7:22 pm
|
|
Member
Registered: Oct 2006
Posts: 37
|
Thanks for your reply Dietrich. Isn't it possible to view headlines in rss feed although if the forum is closed for guests? The problem is I have installed my forum to talk between administrators in my website and guests are not allowed to view the forum. I need the rss feed to show the latest topics in my Joomla website. I hope you or some one will help me to modify the rss.php so I view get the rss feed to work even the forum is closed for guests. Really sorry for my bad english. _______________ "Three things cannot be long hidden: the sun, the moon, and the truth." - said by Buddha.
|
|
|
#4 Mon Sep 03, 2007 8:13 pm
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
It makes no sense to make the RSS feed public when you are closing down the forum to unregistered visitors. If you want to show the latest topics, why don't you open the forum to guests and set the forums' permissions so that visitors can view the forum/list topics but not read them?
|
|
|
#5 Mon Sep 03, 2007 9:18 pm
|
|
Member
Registered: Oct 2006
Posts: 37
|
Dietrich. I think you have misunderstood something here. The latest topics are viewed only for the admins in the Joomla page. Not for guests. Hope you understand it.. _______________ "Three things cannot be long hidden: the sun, the moon, and the truth." - said by Buddha.
|
|
|
#6 Mon Sep 03, 2007 9:43 pm
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
Everyone will be able to read the RSS feed; In fact you already posted the URL to it in the first post. You don't need Joomla! admin access for that.
|
|
|
#7 Mon Sep 03, 2007 9:46 pm
|
|
Member
Registered: Oct 2006
Posts: 37
|
I know that.. I can change the installation folder later when I found a way to fix that problem.. So it is not the biggest problem. Do you have any idea to modify the code to my needs? I will be happy if you can do that for me. Please.. Thank you. _______________ "Three things cannot be long hidden: the sun, the moon, and the truth." - said by Buddha.
|
|
|
#8 Tue Sep 04, 2007 8:47 am
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
Comment out 160-165 in sources/page_head.php.
|
|
|
#9 Tue Sep 04, 2007 10:31 am
|
|
Member
Registered: Oct 2006
Posts: 37
|
Dietrich. I have done as what you said, commented out those lines. But rss feed url redirects me to the login page. Any other solutions. Please. Thank you. _______________ "Three things cannot be long hidden: the sun, the moon, and the truth." - said by Buddha.
|
|
|
#10 Tue Sep 04, 2007 11:03 am
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
Forget the previous comment, there is a lot more to be altered to achieve this. See the patch at http://dmoerman.be/files/usebb1-public-rss.diff.
|
|
|
#11 Tue Sep 04, 2007 1:30 pm
|
|
Member
Registered: Oct 2006
Posts: 37
|
Thanks so far. I get this error message: Parse error: syntax error, unexpected T_IF in /sources/functions.php on line 1319 Please look at this once. Thanks. _______________ "Three things cannot be long hidden: the sun, the moon, and the truth." - said by Buddha.
|
|
|
#12 Tue Sep 04, 2007 4:36 pm
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
Double check your changes or apply the patch using the patch utility. The diff is correct and generated from my own working copy.
|
|
|
#13 Tue Sep 04, 2007 5:14 pm
|
|
Member
Registered: Oct 2006
Posts: 37
|
I am sure that I have changed exactly as what you told. But get the same error again and again. What do you mean with patch utility? How to patch using that? Is it a function on usebb or what? May I get the changed files? So, I don`t need to change it manually. Thanks. _______________ "Three things cannot be long hidden: the sun, the moon, and the truth." - said by Buddha.
|
|
|
#14 Tue Sep 04, 2007 5:34 pm
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
See http://www.usebb.net/community/topic-1236.html. The patch is correct, just tried it on 1.0.7 and recent CVS sources. Please double check your changes.
|
|
|
#15 Tue Sep 04, 2007 5:58 pm
|
|
Member
Registered: Oct 2006
Posts: 37
|
I think that I now have tried it 4 times but get the same error again and again. http://www.vaanam.dk/admintalk/rss.xmlAs you can see it here: http://www.vaanam.dk/admintalk/sources/functionsphp.txthttp://www.vaanam.dk/admintalk/sources/page_headphp.txtSorry for the disturbance. _______________ "Three things cannot be long hidden: the sun, the moon, and the truth." - said by Buddha.
|
|
|
#16 Tue Sep 04, 2007 7:09 pm
|
|
Developer
Registered: Apr 2004
Posts: 2202
Location: Belgium
|
You don't need to add the ! in front of the line. "!" in diff files means that a line has changed.
|
|
|
#17 Tue Sep 04, 2007 8:08 pm
|
|
Member
Registered: Oct 2006
Posts: 37
|
It's working finally.. Thanks for your valuable time Dietrich.  _______________ "Three things cannot be long hidden: the sun, the moon, and the truth." - said by Buddha.
|