WordPress makes it super-easy to publish your own content, and even easier to import and display content from other great sites around the Web. Just as other people are displaying and reading yourfeed in their apps and devices, you can use external RSS feeds to supplement and strengthen your site’s primary content.
Whether you’re displaying feeds from similar sites or aggregating news from around the world, importing feeds means taking advantage of the best that the Web has to offer. In this post, you’ll see how easy it is to grab external RSS feeds and display them anywhere on your WordPress-powered site
Why do it?
No website is an island, and with a virtually infinite assortment of content and services around the Web, there’s no reason not to take advantage of content that will benefit your readers and help improve the overall quality and content of your site. Feeding external RSS content to WordPress:
- adds relevant, useful content for your readers to enjoy
- adds relevant, targeted keywords for search-engine robots
- keep visitors on your site by giving them the content they want.
Depending on your niche, using external content opens up many possibilities. Here are some concrete examples to help illustrate some common ways RSS feeds are used to create and supplement content:
- news sites importing weather feeds to display current conditions
- sports sites importing news feeds reporting the latest sports news
- investment sites displaying current market values and stock prices.
For blogs, the possibilities are only limited by your imagination. I’ve seen some great independent sites that make excellent use of external feeds. Here are some examples:
- blogs that display their social media feeds, such as Twitter and Facebook
- bloggers with more than one website displaying posts from their other sites
- news-portal sites that aggregate the best blogging and/or web design feeds.
And the best part? WordPress makes it so easy to integrate external RSS feeds that it’s almost funny. Depending on your goals and experience with WordPress, there are several ways to go about doing it: using widgets, plugins, or manual coding. Let’s examine these different techniques and explore everything you need to import and display RSS feeds with WordPress.
Displaying feeds with the default RSS widget
Right out of the box, WordPress includes a handy RSS widget that can be used in any widgetized area on any widgetized theme. Just drag the widget to your widget area and choose your options:
As seen in the screenshot above, the default RSS widget provides several basic options, including number of feed items and which elements to display. Yes, it’s super-easy, but your customization choices are limited. As a general rule, the more stuff (e.g. post title, post date, author name, and so on) you include with each feed item, the more cluttered it tends to look.
Seriously, a linked title and post excerpt is all you really need to display, and doing so keeps things looking clean. Unfortunately, even after limiting our display options to only “title and excerpt”, the output using the default WordPress theme looks sloppy:
…and the posts just continue all the way down the sidebar. If you’re handy with CSS, adding a few rules to your
style.php
may be all that’s needed to slap things into shape, but clearly more control is desired for better customization.Displaying feeds with WordPress plugins
For more control when you’re working with external feeds, there a number of excellent plugins available. Let’s have a look at the best plugins for importing and displaying external RSS feeds. Note: all plugins have been tested/reviewed with current versions at the time of this posting, and working with the latest version of WordPress, 3.0.2.
- FeedWordPress: import feed content as posts.
- WP-o-Matic: import feed content as posts.
- RSSImport: display feed content anywhere.
No comments:
Post a Comment
Thank you for your Comment....