Import and display Feeds in your blog, use PHP, a Widget or the Shortcode. The plugin use the standards of WordPress, non extra library; use MagpieRSS or SimplePie for parse feeds.
Use following code with a PHP-Plugin or in a template, example sidebar.php or single.php, for WordPress:
Example: <?php RSSImport(10, 'http://bueltge.de/feed/'); ?>
This is smallest code for use the plugin with your own feed-url. The plugin have many parameters for custom import of content form a feed. See the list of parameters. You can also use all parameters with shorcode in posts and pages.
Example for Shortcode: [RSSImport display="5" feedurl="http://bueltge.de/feed/"]
For all boolean parameter it is possible to use the string true or false or the integer value 0 or 1.
display - How many items, Default is 5feedurl - Feed-Adress, Default is http://bueltge.de/feed/before_desc - string before description, Default is emptydisplaydescriptions - (bool) true or false for display description of the item, Default is falseafter_desc - string after description, Default is empty; you can use the follow strings for custom html %title for title of entry and %href for link of entryhtml - (bool) display description include HTML-tags, Default is falsetruncatedescchar - truncate description, number of chars, Default is 200, set the value to empty '' for non truncatetruncatedescstring - string after truncate description, Default is ...truncatetitlechar - (int) truncate title, number of chars, Default is empty, set a integer 50 to the value for truncatetruncatetitlestring - string after truncate title, Default is ' ... 'before_date - string before date, Default is <small>date - (bool) return the date of the item, Default is falseafter_date - string after the date, Default is </small>date_format- your format for the date, leave empty for use format of your WordPress installation, alternativ give the php date string, Example: F j, Y; see also doku in Codexbefore_creator - string before creator of the item, Default is <small>creator - (bool) return the creator of th item, Default is falseafter_creator - string after creator of the item, Default is </small>start_items - string before all items, Default is <ul>end_items - string after all items, Default is </ul>start_item - string before the item, Default is <li>end_item - string after the items, Default is </li>target - string with the target-attribut, Default is empty; use blank, self, parent, toprel- string with the rel-attribut, Default is empty, use string, nofollow, followcharsetscan - Scan for charset-type, load slowly; use this for problems with strings on the return content, Default is falsedebug - activate debug-mode, echo the array of Magpie-Object; Default is false, Use only for debug purposebefore_noitems - HTML or string before message, when the feed is empty, Default is <p>noitems- Message, when the feed is empty, Default is No items, feed is empty.after_noitems - HTML or string before message, when the feed is empty, Default is </p>before_error - HTML or string before message, when the feed have an error, Default is <p>error - Errormessage, Default is Error: Feed has a error or is not validafter_error - HTML or string before message, when the feed have an error, Default is </p>paging - Pagination on, set true, Default is falseprev_paging_link - Linkname for previous page, Default is « Previousnext_paging_link - Linkname for next page, Default is Next »prev_paging_title - Title for the link of previous page, Default is more itemsnext_paging_title - Title for the link of next page, Default is more itemsuse_simplepie- Use the class SimplePie for parse the feed; SimplePie is include with WordPress 2.8 and can parse RSS and ATOM-Feeds, Default is falseview - echo or return the content of the function RSSImport, Default is true; Shortcode Default is falseThe pagination function add a div with the class rsspaging for design with CSS. Also youcan style the previous and next link with the classes: rsspaging_prev and rsspaging_next.
All parameters it is possible to use in the function, only in templates with PHP, and also with the Shortcode in posts and pges.
The function with many parameters:
RSSImport(
$display = 5, $feedurl = 'http://bueltge.de/feed/',`
$before_desc = '', $displaydescriptions = false, $after_desc = '', $html = false, $truncatedescchar = 200, $truncatedescstring = ' ... ',
$truncatetitlechar = '', $truncatetitlestring = ' ... ',
$before_date = ' <small>', $date = false, $after_date = '</small>',
$before_creator = ' <small>', $creator = false, $after_creator = '</small>',
$start_items = '<ul>', $end_items = '</ul>',
$start_item = '<li>', $end_item = '</li>'
)
The shortcode with a lot of parameters:
[RSSImport display="10", feedurl="http://your_feed_url/",
displaydescriptions="true", html="true"
start_items="<ol>", end_items="</ol>", paging="true" ]
Please visit the official website for further details and the latest information on this plugin.




