I'm sure someone has posted this question before, but I cannot find it in the forum because the search only displays 5 topics...
Is there an easy way for me to display the last 5 headlines of a few RSS Feeds in the sidebar of my wordpress 1.5 home page? I'd like to do this for a few news sites and for a few of my friends wordpress blogs such that you can click the headline and be taken to that post on their site in a new window.
Any help would be greatly appreciated...
Thanks.
You could try http://rawlinson.us/blog/index.php?p=212
And when you search, below the 5 results is a link to a google search. I find it tends to have better results.
Try CG-Feedread, part of my CG-PowerPack library of wp plugins. Built for the exact use you describe.
Post if you need help setting up FeedRead.
-d
Yup, FeedRead should suit just fine. It's a really great plugin. Get it here: http://www.chait.net/index.php?p=238
[David, your link got whanged somehow - left off a closing tag?]
yeah... sorry, must have not closed it. thought I looked at it tho... weird. thank vkaryl!
-d
Thanks guys, I actually used the script that IanD recommended and it works for me, but I'll definitely check out the CG-PowerPack. Thanks again.
OR, use the built in rss functions:
<?php wp_rss('http://somessite.com/rss/', 4) ?>
That will grab the 4 latest titles from http://somessite.com/rss/ and output them as a list. <ul><li>...
@ MattRead
I like the simplicity of your suggestion but when I tried it I received errors.
I then looked at the Codex to find the paremetrs for the wp_rss tag but could not find any reference to it at all.
Am I missing something here?
I had the same error after trying the suggestion of Matt.
I think we better use the plugin until the problem is solved.
OI! sorry about that, forgot one important thing:
<?php include_once (ABSPATH . WPINC.'/rss-functions.php');
wp_rss('http://somessite.com/rss/', 4); ?>
that will work. for sure :)
Thanks for the new info matt but I am still getting this when I try.
Fatal error: Call to undefined function: error() in /home/domain/public_html/shadows/wp-includes/rss-functions.php on line 492
I am putting this in my sidebar. Does that make a difference?
shadow, you seem to have found a bug in the rss-functions, I'll see if it's been reported, and report it if not.
But that means the feed you were trying to get has an error in it.
I'm using the CG-Feedread plugin at one of my sites with great success. It took some experimenting to get it like I wanted it. There is a "feedread-extras" folder in the zip that has code for handling multiple feeds. You have to figure out how to wipe the cache to be able to test different configurations. www.anailinhisplace.net
dalziel
Member
Posted 3 years ago #
Does anyone know if there's been a resolution to the bug Fatal error: Call to undefined function: error() in /home/domain/public_html/shadows/wp-includes/rss-functions.php on line 492?
#1446 (break when can't get RSS) - WordPress Trac - Trac
Hi dalziel,
This ticket in trac helps. Just tweak /wp-includes/rss-functions.php file.
Hope it works.
vegasman
Member
Posted 3 years ago #
I would like to post rss feeds on pages I create. With the include php. I have found plugin that enables me to do this. But it displays the rss feed below the sidebar in the body instead of next to it. How can I fix this to dispay correctly. Example: http://www.newlifepub.com/blog/?page_id=3
vanquery
Member
Posted 2 years ago #
That was very helpful information MattRead...Thank you
nicktripp
Member
Posted 2 years ago #
I've been using the method described by MattRead for over a year now. I just upgraded to 2.0.6 last night (I know, I know. 2.0.7) and this method now seems to be broken.
Little help?