Questions answered by this recipe
- I'm using BlogIt. How can I easily have RSS newsfeeds created for my blog?
Until now, BlogIt lacks the support of RSS feeds. Although there is a workaround for it, this is not the optimal solution: The configuration is quite complex and the RSS feeds created are not in sync with your blog entries when you delete some of them.
This small cookbook provides a better option for creating RSS feeds for your blog. You can easily install it and there are only two configuration options you will need.
This cookbook might be integrated into future releases of BlogIt and therefore become obsolete.
Download & Installation
- Download blogit-rss.zipΔ
- Extract the ZIP-Archive to your PmWiki-Installation. Now there should be a file called
- Enable and set up BlogIt-RSS by adding these lines to your
local/config.phpfile after you have included the BlogIt-Script:
//RSS for BlogIt (always add these lines AFTER you have included the BlogIt //script!) // Define a page under which the RSS feed will be available. This page does not // have to exist, it is just for the RSS feed URL, which will be like: // http://yoursite.com/index.php/Newsfeeds/Blog $bi_RSSPage = 'Newsfeeds.Blog'; // Enter the group in which your blog entries are always posted. $bi_RSSGroup = $bi_DefaultGroup; include_once("$FarmD/cookbook/blogit-rss.php");
You are ready! Now your newsfeed will be available at http://yoursite.com/index.php/Newsfeeds/Blog
- 2010-06-24: First release
If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".
Fix 2010-08-17: replace the line $_REQUEST['group'] = "Blog"; with $_REQUEST['group'] = $bi_RSSGroup; than it works.
This space is for User-contributed commentary and notes. Please include your name and a date (eg 2007-05-19) along with your comment. Optional alternative: create a new page with a name like "ThisRecipe-Talk" (e.g. PmCalendar-Talk).