I found a great article from a guy whose work I have liked and used on several occaisions over the life of WordPress. Once again Meall Dubh explains clearly how to use the built in power of WordPress to pull RSS feeds in.
His code has one typo in the following line:
echo "<li><a xhref=$href>$title</a><br />$description</li>";
Should actually be minus the x or you won’t have good links:
echo "<li><a href=$href>$title</a><br />$description</li>";
Further his code included the description from the feed. In my case I found it helpful to delete that part of the code:
$description = $item['description'];
and just use the title and url link.
I was working this up to a widget when I visit a newer install and find that there is an rss feed built into the sidebar widgets. It would appear the lifting is already done, although again I may wish to go modify it.
See it in action at MichFamLaw.com (about Michigan Divorce, Custody, Collaborative Divorce and Divorce Mediation) where the site pulls in the last five posts from DomesticDiversions.com (about the lighter side of marriage, divorce, human relationships and children) and displays them in the right sidebar.
September 5th, 2007 at 5:02 pm
[…] Cross Posting RSS Feeds from Another Source to Your Blog – HTML FixITCross Posting RSS Feeds from Another Source to Your BlogHTML FixIT, MI – 3 hours agoOnce again Meall Dubh explains clearly how to use the built in power of WordPress to pull RSS feeds in. Further his code included the description from the … […]
October 10th, 2019 at 6:55 am
Your site is exactly what I have looking for!
https://concrete-saskatoon.ca
December 19th, 2020 at 8:11 am
Both high school and university students place orders with us, so age and academic level isn’t a factor when it comes to our essays.