View previous topic :: View next topic |
Author |
Message |
CodeWhacker
Joined: 31 Oct 2002 Posts: 12
|
Posted: Fri Nov 08, 2002 4:58 pm Post subject: RSS advisory for 0.6.1 (not 'zackly a bug) |
|
|
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  |
|
Back to top |
|
 |
GamerZ
Joined: 15 May 2002 Posts: 537 Location: Singapore
|
Posted: Fri Nov 08, 2002 5:37 pm Post subject: |
|
|
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 |
|
 |
CodeWhacker
Joined: 31 Oct 2002 Posts: 12
|
Posted: Fri Nov 08, 2002 6:17 pm Post subject: I don't think that's such a good idea. |
|
|
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 |
|
 |
imeridian
Joined: 12 Feb 2002 Posts: 191
|
Posted: Fri Nov 08, 2002 7:45 pm Post subject: |
|
|
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 |
|
 |
CodeWhacker
Joined: 31 Oct 2002 Posts: 12
|
Posted: Fri Nov 08, 2002 9:30 pm Post subject: |
|
|
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?
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 |
|
 |
|