RSSPackage

Headline syndication

Created by: SEWilco, Last modification: 30 Jun 2008 (09:28 UTC) by Kozuch
Bitweaver's RSS package both generates RSS feeds from your site, and lets you include RSS feeds from other sites into your site. Generally speaking, Resource Description Framework (RDF) Site Summary (RSS) allows users to read headlines from your site with a dedicated application. As of bitweaver version 2, the RSS package uses SimplePie library to process feeds.

Feeds from your site

Feeds from your site are listed at http://yoursite.com/rss/. Go to Administration > RSS > RSS Settings to control which content is available as RSS feeds in which formats.

Importing feeds into your site

  1. go to Administration > RSS > RSS Modules
  2. insert the details from another site's RSS feed
  3. now, there are 2 ways to display the streams on your own site
    • display feeds in wiki pages: Upon editing a wiki page, insert the following code and fill in the appropriate parameters (at least id). If the feature wiki plugin help is enabled, it shows details and examples like the one below.
    • display feeds in columns: To include a feed from another site into one of your columns (or top or bottom areas), go to Administration > Layout and find your RSS module in the dropdown of available modules. After you added it, insert parameters into the according input field. The module accepts multiple feeds in one – you can mix items from different feeds and have them displayed by most recently posted. To do that, pass in more values to the id parameter: id=1,2,4.

Parameters

id
the id of the RSS feed as shown on the admin page
max
number of feed items to display, example: max=10, (standard: 10)
desc_length
if set, a short description of N characters is added to each feed item, example: desc_length=200
desc
if desc is set and no desc_length is given, the full description/content of each item is shown, example: desc=y

Example


<?php
{RSS id=1,2,3 max=15 desc=y desc_length=200}
?>

Comments

RSS Bug Fix

by Lauren, 20 Oct 2006 (13:44 UTC)
in /liberty/plugins/data.rss.php

in the module function rss_parse_data

$j = 1 should be $j = 0.

Otherwise, the RSS feed displayed on your site will start at the 2nd item and will show one fewer than the total you expect.
  Page 1 of 1  1