Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard Spread FireBoard!
Re:RSS error (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:RSS error
#41251
Re:RSS error 8 Months, 2 Weeks ago  
rseoane wrote:
Psilocybeing wrote:

In order to fix the RSS stream, I had to remove stray linebreaks from the bottom of the following files:

/components/com_fireboard/templates/default/fb_laytout.php
/components/com_fireboard/templates/default/smile.class.php
/components/com_fireboard/sources/fb_rss.php

Once they were stripped, everything should be working fine. Hope this helps.



I think that your are right. I see this about xml:

"Another common error is the inclusion of whitespace characters (spaces, tabs, newlines) before the XML Declaration. If an XML Declaration is included, it must be the first thing in the document."

I see that generated rss code page contains a blank line before xml declaration, but I can't resolve the problem as you do it.


Hi.
Im using fireboard 1.0.4 in Joomla 1.0.13.
I cant rss to work, what do you meen with stray linebreaks?
GyroTarzan (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#41511
Re:RSS error 8 Months, 2 Weeks ago  
GyroTarzan wrote:
rseoane wrote:
Psilocybeing wrote:

In order to fix the RSS stream, I had to remove stray linebreaks from the bottom of the following files:

/components/com_fireboard/templates/default/fb_laytout.php
/components/com_fireboard/templates/default/smile.class.php
/components/com_fireboard/sources/fb_rss.php

Once they were stripped, everything should be working fine. Hope this helps.



I think that your are right. I see this about xml:

"Another common error is the inclusion of whitespace characters (spaces, tabs, newlines) before the XML Declaration. If an XML Declaration is included, it must be the first thing in the document."

I see that generated rss code page contains a blank line before xml declaration, but I can't resolve the problem as you do it.


Hi.
Im using fireboard 1.0.4 in Joomla 1.0.13.
I cant rss to work, what do you meen with stray linebreaks?


New lines that come after the ending PHP tags in the scripts. Download EditPlus, and open the files specified. You may see line numbers without anything but a blank line, outside of the ending PHP tag.

If you don't have any luck, I usually have spare time in the evening, after 4:30PM GMT, and would be happy to take a look for you. Just drop me a PM if you would like to work something out
Psilocybeing (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#42113
Re:RSS error 8 Months, 2 Weeks ago  
I've searched and searched these forums and find no WORKING solution for the RSS failure in 1.0.4. The couple things I've found have done nothing. I'm desperate for a solution here. Any help is much appreciated.
dthdevelopment (User)
Junior Boarder
Posts: 26
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#42185
Re:RSS error 8 Months, 2 Weeks ago  
Well.

I found a solution to my trouble.

I use spanish.php location file. At the end of this file I deleted a blank space after ">" and now ... works!

I have also deleted a DTD declaration at the beginnig of de fbrss to work with IE7.0
I remember that I had to change other line of code because my joomla installation isn't in webroot directory.

At spanish forum I discuss about this problem.
rseoane (User)
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Last Edit: 2008/01/31 19:27 By rseoane.
 
The administrator has disabled public write access.  
#42202
Re:RSS error 8 Months, 2 Weeks ago  
Well, I did the same with the english file and with EVERY php file in the /template/default folder as most of them had the extra space at the end. Still not working for me. I also removed the line from the fb_rss file as noted in other forum posts. Still holding out for a real fix. Thanks.
dthdevelopment (User)
Junior Boarder
Posts: 26
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#42710
Re:RSS error 8 Months, 1 Week ago  
I think aside from getting rid of the blank lines you should make sure that the RSS output is valid by validating it at feedvalidator.org/

Things that I discovered:

1.) The RFC 2822 date format has been changed to RFC 822 which made this line invalid:
$date = date("r";
should be changed to:
$date = date("D, d M Y H:i T";

2.) The image title should be the same with your channel title.

3.) To prevent problems with the content, please enable sef..


Hope this helps.
padzhp (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#44008
Re:RSS error 8 Months ago  
Hi,

The RSS feed on my site doesn´t work neither in Firefox, IE 7, or rssreader. I have tried the suggested code modifications in this post, with no succes.
But it would be nice if the feed could work 'out-of-the-box' with no need for individual code changes
I'm using latest release Joomla (1.5.1) and latest release FB (1.0.4) and additional Danish language file.

One specific question: Has different access levels been accounted for in the feed (if it worked )? I have two forums - one with only admin access and one with access for all registered, and none with public access. So a public feed should then show nothing, but a feed in rssreader (with correct usern/passw) should of course show a feed matching your access level.

/Jesper
jesgyl (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#53119
Re:RSS error 3 Months, 1 Week ago  
Hello All,

My original problem was like many others here. I had a blank line / space for the 1st line of my RSS Output. The XML declaration statement needs to be on the 1st line for it to validate correctly. I couldn't get rid of that pesky line. I made sure I didn't have any blanks at the end of my php files. I have had that before. I hacked/cut/pasted for a number of hours. Finally I just started cutting.


This is what I did to get mine to work correctly.

In /components/com_fireboard/sources/fb_rss.php do a search for this line:
echo "<?xml version="1.0" encoding="" . $encoding[1] . ""?>";

Delete it


To get the feed to play nice with IE7 find this line:
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "my.netscape.com/publish/formats/rss-0.91.dtd">

Delete it


You might want to validate your RSS Feed over at feedvalidator.org first.

Then complete one of the line deletions and re-validate to see your progress. Delete the next line and re-validate. That is what I did to go after the offenders. The RSS Feed seems to work great without the XML declaration line. I have used it in a number of different readers with No Issues yet.

Have a good one,
tyhuls

If this works for you, shout it back on this thread.
tyhuls (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
Go to top