boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

RSS advisory for 0.6.1 (not 'zackly a bug)

 
Post new topic   Reply to topic    boardom Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
CodeWhacker



Joined: 31 Oct 2002
Posts: 12

PostPosted: Fri Nov 08, 2002 4:58 pm    Post subject: RSS advisory for 0.6.1 (not 'zackly a bug) Reply with quote

Note for those who use b2rss.xml for their RSS feeds: In 0.6.1, you need to add '$use_rss = 1;' to b2config.php. Otherwise, b2rss.xml will not be written.

Yes, I know there are dynamic RSS generation modules now, but I'd like to not break those folks who are carrying my syndication from the .xml file. Legacy support, and all that Cool
Back to top
View user's profile Send private message
GamerZ



Joined: 15 May 2002
Posts: 537
Location: Singapore

PostPosted: Fri Nov 08, 2002 5:37 pm    Post subject: Reply with quote

erm i think michel want to exclude b2rss.xml in future releases, thats y he didn'y include it in 0.6.1 b2config.php
_________________

++ GamerZ.Per.Sg - Complex Simplicity
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
CodeWhacker



Joined: 31 Oct 2002
Posts: 12

PostPosted: Fri Nov 08, 2002 6:17 pm    Post subject: I don't think that's such a good idea. Reply with quote

There are advantages to having the RSS feed reside in a static file. The webserver encounters less overhead to serve static documents, for one. And, as I mentioned, I renamed mine to index.xml to avoid breaking my existing Syndic8 feed, as well as any other feeds that were picking up the static file. As well, there seems to be a growing de facto standard of /index.xml as a site's RSS feed document.

I understand the pros of a dynamically created feed, but I'd rather not lose the option for a static feed file in addition to the dynamic feed.

My main gripe is that after patching my b2 files to the revised filename, the feed was still broken, and $use_rss is essentially an undocumented option. Upgrades shouldn't break existing functionality without a good reason and conspicuous documentation.
Back to top
View user's profile Send private message
imeridian



Joined: 12 Feb 2002
Posts: 191

PostPosted: Fri Nov 08, 2002 7:45 pm    Post subject: Reply with quote

Actually, the idea behind the b2config.php is that you do not replace it when you upgrade, thus you wouldn't need to add that line back in if you were already using it. and thus those installing it for the first time wouldn't be using it to start with.
_________________
-indi<br>
http://indiboi.com
http://artlikepornstars.com
http://www.positivefusion.com
Back to top
View user's profile Send private message Visit poster's website
CodeWhacker



Joined: 31 Oct 2002
Posts: 12

PostPosted: Fri Nov 08, 2002 9:30 pm    Post subject: Reply with quote

Good point. But the $use_rss option did not exist in the previous version. It was not mentioned in the 0.6.1 version documentation or default config file. (I had to spelunk b2functions.php to find out about it) And the upgrade notes explicitly state:
Quote:
Open the new b2config.php file and your existing b2config.php file. Modify the new b2config.php file in order to use your existing settings there, in addition to the new settings. (There are a lot of additionnal settings, so it's best to edit the new config file than adding on the existing one.)

So, by following the instructions to the letter, my static RSS feed was disabled. I'd call that an "Oops", wouldn't you? Neutral

I write software for a living, so for me this was pretty low on the flame scale. Others using b2 may not be so much programmers as authors. Civilians, you might say. This kind of small, but annoying, oversight can easily drive them to another package, come upgrade time. Shouldn't we do what we can to keep the civilians in the fold?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Bugs All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group