I am using the rss method to pull latest discussions to a wordpress widget, but it is slow to update. If I add a topic it doesn't show up on the other page for a while. Anyone have a better solution? Wordpress 2.7 and bbpress 1 of course.
rss latest discussions in wordpress
(6 posts) (5 voices)-
Posted 1 year ago #
-
I believe there is a plugin that does this by polling the DB. Not sure if it is on the plugins site here or over at http://wordpress.org/extend/plugins but it is called something like "bbPress Latest Discussions" or something like that.
Posted 1 year ago # -
WordPress uses Magpie for doing RSS and by default will cache the feeds for 1 hour. To change this, you can add a line to your wp-config file like:
define('MAGPIE_CACHE_AGE', TIME);
Replace the word 'TIME' with the length of time in seconds to cache. You can also turn off the Magpie cache with:
define('MAGPIE_CACHE_ON', false);
Hope that helps.
Posted 1 year ago # -
What is the format for TIME?
Posted 1 year ago # -
I am going to take a SWAG:
SimplePie supports RFC 822, RFC 2822, RFC 3339, and ISO 8601 datestamps. My guess is Magpie does as well. I would start by trying a RFC 2822 timestamp.
Sat, 24 Jan 2009 08:09:12 -0500Posted 1 year ago # -
thank you all for your replies!
i found this great topic:
http://bbpress.org/forums/topic/heres-how-to-show-bbpress-info-inside-wordpress-without-full-integrationPosted 1 year ago #
Reply
You must log in to post.