Friday, October 24, 2008

CaRP Wordpress Plugin For RSS Feeds


I have used the CaRP RSS to HTML Converter for quite a while. Also the CARP rss feed display feature gives the ability to show multiple RSS feeds and to cache them for longer times on heavy used pages. Now CARP has available a CARP Wordpress plugin the works in conjunction with CaRP RSS to HTML Converter. The CaRP WordPress plugin enables you to display RSS feeds, including Amazon.com affiliate feeds and YouTube feeds, in your WordPress posts and pages or in a Wordpress widget. The plugin uses CaRP to handle the RSS feed processing and display on pages.

The plugin comes with several templates and I made one myself to fit my needs. Below is a template that I use that shows only 5 headlines (titles only) and caches them for 60 minutes and opens the link in a new window.

<?php
/*
CaRP/WP Default Theme v1.0
Default theme for the CaRP/WP plugin for WordPress
Upload this file to your CaRP Themes Folder
*/

CarpConf('cborder','');
CarpConf('iorder','link');
CarpConf('maxitems',5);
CarpConf('cacheinterval',5);
CarpConf('linktarget',1);

return;
?>

To show feeds in a Wordpress post or page, you just post the below code.

[carpwp:feed{http://example.com/feed.rss}][/carpwp]

You can also aggregate multiple feeds together with the below code in a post or page.

[carpwp:aggregate{groupkey}]
feed={http://example.com/feed1.rss}
feed={http://example.com/feed2.rss}
feed={http://example.com/feed3.rss}
[/carpwp]

CaRP is very easy to install and the directions are very user friendly. They have been around forever and are cutting edge in feed processing.

Related Posts by Categories



1 comments:

Anonymous said...

Hello,

Thanks for the info but I have a problem using the code I've used on my static html. (I can't post the code here.)

It's for showing only one item at random ( example: the feed have ten items but shows at random one at a time)

Followers

Twitter Updates

    follow me on Twitter
     

    Build A Niche Store Blog. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted by Bloganol dot com Privacy Policy