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 

b2rss.xml
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    boardom Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
GamerZ



Joined: 15 May 2002
Posts: 537
Location: Singapore

PostPosted: Mon Sep 30, 2002 2:32 pm    Post subject: b2rss.xml Reply with quote

my b2rss.xml behave wierdly since i updated to 0.6, the xml will always lack behing 1 post, where as the b2rss.php works fine.

Site : http://www.orientek.net/kore/gamerz/
b2rss.xml : http://www.orientek.net/kore/gamerz/b2rss.xml
b2rss.php : http://www.orientek.net/kore/gamerz/b2rss.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
imeridian



Joined: 12 Feb 2002
Posts: 191

PostPosted: Tue Oct 01, 2002 11:25 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
GamerZ



Joined: 15 May 2002
Posts: 537
Location: Singapore

PostPosted: Tue Oct 01, 2002 12:58 pm    Post subject: Reply with quote

thanks i will try tt
_________________

++ 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
Gadget Girl



Joined: 25 Jan 2002
Posts: 305
Location: Virginia

PostPosted: Thu Oct 10, 2002 12:20 pm    Post subject: Reply with quote

Thanks for that, Indi. Still not working though. Sad
It's not working at all now. Nothing.

Sara
Back to top
View user's profile Send private message
Gadget Girl



Joined: 25 Jan 2002
Posts: 305
Location: Virginia

PostPosted: Thu Oct 10, 2002 12:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gadget Girl



Joined: 25 Jan 2002
Posts: 305
Location: Virginia

PostPosted: Thu Oct 10, 2002 1:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Thu Oct 10, 2002 3:03 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Gadget Girl



Joined: 25 Jan 2002
Posts: 305
Location: Virginia

PostPosted: Thu Oct 10, 2002 3:05 pm    Post subject: Reply with quote

Ok, Michel, I can have the same feed through the .php?
Back to top
View user's profile Send private message
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Thu Oct 10, 2002 3:17 pm    Post subject: Reply with quote

Yes, it should already be there in b2rss.php Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Gadget Girl



Joined: 25 Jan 2002
Posts: 305
Location: Virginia

PostPosted: Thu Oct 10, 2002 3:19 pm    Post subject: Reply with quote

Smile 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
View user's profile Send private message
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Thu Oct 10, 2002 3:21 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Gadget Girl



Joined: 25 Jan 2002
Posts: 305
Location: Virginia

PostPosted: Thu Oct 10, 2002 3:23 pm    Post subject: Reply with quote

Thanks. I just changed it to .php and I will put a tag under it. Smile
Back to top
View user's profile Send private message
ddenk



Joined: 14 Oct 2002
Posts: 8

PostPosted: Mon Oct 14, 2002 10:28 pm    Post subject: Having the same problem... Reply with quote

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
View user's profile Send private message
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Mon Oct 14, 2002 11:02 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
ddenk



Joined: 14 Oct 2002
Posts: 8

PostPosted: Mon Oct 14, 2002 11:19 pm    Post subject: Not it, unfortunately... Reply with quote

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
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
Goto page 1, 2, 3  Next
Page 1 of 3

 
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