View previous topic :: View next topic |
Author |
Message |
GamerZ
Joined: 15 May 2002 Posts: 537 Location: Singapore
|
|
Back to top |
|
 |
imeridian
Joined: 12 Feb 2002 Posts: 191
|
Posted: Tue Oct 01, 2002 11:25 am Post subject: |
|
|
Add this to your b2config.php:
$sleep_after_edit = 1;
That seems to help... but it's nice to know that it isn't just my webserver (Michel and I both noticed this problem while testing .6 in cvs). |
|
Back to top |
|
 |
GamerZ
Joined: 15 May 2002 Posts: 537 Location: Singapore
|
Posted: Tue Oct 01, 2002 12:58 pm Post subject: |
|
|
thanks i will try tt _________________
++ GamerZ.Per.Sg - Complex Simplicity |
|
Back to top |
|
 |
Gadget Girl
Joined: 25 Jan 2002 Posts: 305 Location: Virginia
|
Posted: Thu Oct 10, 2002 12:20 pm Post subject: |
|
|
Thanks for that, Indi. Still not working though.
It's not working at all now. Nothing.
Sara |
|
Back to top |
|
 |
Gadget Girl
Joined: 25 Jan 2002 Posts: 305 Location: Virginia
|
Posted: Thu Oct 10, 2002 12:43 pm Post subject: |
|
|
I have posted a few entries and they aren't showing up on the rss.xml feed. Although they do show up on a not upgraded version of b2.
Help!
Thanks,
Sara |
|
Back to top |
|
 |
Gadget Girl
Joined: 25 Jan 2002 Posts: 305 Location: Virginia
|
Posted: Thu Oct 10, 2002 1:45 pm Post subject: |
|
|
My rss.php works perfectly. How do I fix the .xml? I went and posted another entry, it's hanging on to an older entry. Weird! I uploaded and re-CHMODed the blank .rss file. Still doing it. Maybe it's just my cache? My most recent post is about testing the .rss feed out. I have posted 3 posts since the one showing "Untraditional Plans". Why isn't it showing the most recent? I hate it when I break things!
Sara- |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Thu Oct 10, 2002 3:03 pm Post subject: |
|
|
I may just drop support for writing to a .xml file.
Too much trouble for what it's worth, and there's b2rss.php already anyway... |
|
Back to top |
|
 |
Gadget Girl
Joined: 25 Jan 2002 Posts: 305 Location: Virginia
|
Posted: Thu Oct 10, 2002 3:05 pm Post subject: |
|
|
Ok, Michel, I can have the same feed through the .php? |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Thu Oct 10, 2002 3:17 pm Post subject: |
|
|
Yes, it should already be there in b2rss.php  |
|
Back to top |
|
 |
Gadget Girl
Joined: 25 Jan 2002 Posts: 305 Location: Virginia
|
Posted: Thu Oct 10, 2002 3:19 pm Post subject: |
|
|
It's working perfectly.
I was just wondering if it (php) was what most people use for the news gathering. I had some emails this morning saying that my .xml was invalid.
Sara |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Thu Oct 10, 2002 3:21 pm Post subject: |
|
|
Make sure that in your template the <link> tag that shows your RSS links to b2rss.php instead of b2rss.xml, and then warn these people to use the php version.
Many people use .php or .asp or just anything, .xml isn't required as long as your document says 'hey I'm XML', which b2rss.php does. |
|
Back to top |
|
 |
Gadget Girl
Joined: 25 Jan 2002 Posts: 305 Location: Virginia
|
Posted: Thu Oct 10, 2002 3:23 pm Post subject: |
|
|
Thanks. I just changed it to .php and I will put a tag under it.  |
|
Back to top |
|
 |
ddenk
Joined: 14 Oct 2002 Posts: 8
|
Posted: Mon Oct 14, 2002 10:28 pm Post subject: Having the same problem... |
|
|
I receive this error when attempting to view:
http://www.poohbah.cc/b2rss.xml
Quote: | The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Invalid at the top level of the document. Error processing resource 'http://www.poohbah.cc/b2rss.xml'. Line 1, Position 1
this file is blank because you either don't use the RSS function, or you forgot to ChMod that file (chmod 666)
^ |
I receive no errors when viewing:
http://www.poohbah.cc/b2rss.php
Host: http://www.dreamhost.com/
Server Platform: Debian Linux (Unix-like)
Modules: PHP, CGI, etc etc...
I looked at Gamerz .xml file, and noticed that it's now working... How did he get it working, or was the solution relative to the line addition that was suggested above?
I understand that it's not relative to the chmod, as I already did that...
Please advise? I would like to work-out any kinks (this looks like the only one), so that I can re-style the site as soon as is possible...
If anyone could help, please email me at the following address with your guidance? It would be more than appreciated...
[email protected] |
|
Back to top |
|
 |
michel v Site Admin
Joined: 25 Jan 2002 Posts: 799 Location: Corsica
|
Posted: Mon Oct 14, 2002 11:02 pm Post subject: |
|
|
You most probably forgot to have $use_rss=1; in the file b2config.php, that's the only reason why b2rss.xml wouldn't be displayed.
Anyway, you're better off serving b2rss.php at the moment |
|
Back to top |
|
 |
ddenk
Joined: 14 Oct 2002 Posts: 8
|
Posted: Mon Oct 14, 2002 11:19 pm Post subject: Not it, unfortunately... |
|
|
This is the setting (by the way, I tried both Chmod 666 and 766, since you have two different settings listed in separate documents [readme vs. config] thought I should point that out, so you can correct it)...
Quote: | // ** RSS **
# set this to 1 if you want to syndicate your news in b2rss.xml
# note that b2rss.xml has to be writable by the webserver (ChMod 766)
$use_rss = 1;
$posts_per_rss = 10;
# the language of your blog ( see this: http://backend.userland.com/stories/storyReader$16 )
$rss_language = 'en'; |
I will change the link to rss.php, if it's impossible to correct - but I would rather persist in finding the correction, as I've seen others get the file to write... |
|
Back to top |
|
 |
|