forum RSS feed – wordpress widget – not up to date
-
hi,
I have a strange problem, at http://www.criticalmass.at/ you have a point in the sidebar wich is called “Neues aus dem Forum”. this is an standard wordpress rss widget with the rss feed of the bbpress forum: http://www.criticalmass.at/forum/rss/
the feed itself is working fine, also the other rss widgets, but for the forum feed in the widget, it doesn’t show the newest topics/posts.
wordpress 2.5 & bbpress 0.9.0.1
-
just upgraded to 0.9.0.2, and it’s working again. not sure if it was the bbpress update or the 2.5.1 wordpress update.
ok, the problem is suddenly back. the rss feed isn’t updating in the widget anymore.
Did you try validating the feed
http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.criticalmass.at%2Fforum%2Frss%2F
The feed URL returns a 404 Not found Error if you check the headers:
http://www.criticalmass.at/forum/rss/
This sounds like WordPress trying to handle the /forum/ URL and sending a 404 error when the page actually exists. There was a plugin to take care of this sort of thing, I think…
I think that plugin will resolve the fact that the feed actually returns a 404 error, then I bet the widget will pull the feed just fine. Report back please…
thanks chris for the help, that did the job. since the rss feed was displaying fine in FF, I didn’t thought about validating it.
ok, this problem is now back, after I updated to wp 2.7 and bbpress 0.9.0.3.
now my feed doesn’t validate because of the date:
Sorry
This feed does not validate.
*
line 18, column 39: pubDate must be an RFC-822 date-time: Fr, 02 Jan 2009 10:57:20 +0000 (35 occurrences) [help]
<pubDate>Fr, 02 Jan 2009 10:57:20 +0000</pubDate></blockqoute>
and the rss widget doesn’t update again with new forum postings.
You need to use the Alpha build if you’re trying to integrate between WP 2.7 and BB.
@Ipstenu, that’s true. But integration working or not doesn’t have any bearing on whether or not the date in the RSS feed is incorrectly formatted, does it?
and I already use 1.0-alpha-4.1 of the bbPress Integration plugin.
chrishajer, I have no idea if RSS change between things, but y’know, it’s habit. I don’t like to spend time debugging something that’s doesn’t mesh. There are a lot of possibilities to miss-match.
And pulk, either you have bbpress 0.9.x or you have bbpress 1.0-alpha-x. The plugin is not the same as using bbPress core 1.0-alpha. In your bb-config.php, what is your BBDB_CHARSET defined as?
I just validated the feed for one of the pages for this forum, and it came back as valid. The data format looks the same to me. I noticed in your date, there is a character missing from “Friday”:
<pubDate>Fr, 02 Jan 2009 10:57:20 +0000</pubDate></blockqoute>
This date format is correct for RFC 822 from a Linux command line:
[~/ch/bbpress]$ date -R
Mon, 05 Jan 2009 10:12:42 -0500
So, I think there is just some problem with your date function, missing the “i” in Friday, or you typed incorrectly instead of pasting, and the missing “i” is just a typo.
thanks chris, this is my problem.
in my rss2.php in my themes folder I have the following line:
<pubDate><?php bb_post_time('D, d M Y H:i:s +0000'); ?></pubDate>
this is giving me this result:
<pubDate>Mo, 05 Jan 2009 21:58:55 +0000</pubDate>
but in the same file, the line:
<pubDate><?php echo gmdate('D, d M Y H:i:s +0000'); ?></pubDate>
is working fine. output:
<pubDate>Mon, 05 Jan 2009 23:24:47 +0000</pubDate>
I have:
define('BBDB_CHARSET', 'utf8');
in my bb-config.Sounds like there’s a problem with bb_post_time, or with the way the date is being stored in the database. What version of PHP and what version of MySQL are you using? Maybe there’s a bug?
Also, are you using a language file?
Interesting, same problem here with Drupal:
In the German locale the weekday symbol for friday is ‘Fr’ instead of English locale which is ‘Fri’.
http://rel.me/2008/07/22/date-format-rfc82285010361123asctimeiso8601unicode35tr35-6/
- You must be logged in to reply to this topic.