Import a News Feed

Description

Importing news from other sites is really easy and you can also customize how the importer news feed will look like.
Let us say you want to import some news from CNN. First you have to locate the URL address of the feed(s) you want to import. On the http://www.cnn.com there is a link "Services » RSS" at the bottom. When you click this, a page which lists different RSS channels will appear.

Suppose you want to import "Technology" and "Science & Space". Locate URL addresses for these channels. When you have it — simply use the Feed module.

Code

[[module Feed src="http://rss.cnn.com/rss/cnn_tech.rss,http://rss.cnn.com/rss/cnn_space.rss" limit="10"]]

In action

Error processing the feed "http://rss.cnn.com/rss/cnn_tech.rss,http://rss.cnn.com/rss/cnn_space.rss". The feed can not be accessed or contains errors.

To learn how to customize the feed read the documentation of the Feed module. In particular it is very easy to customize how the news items are displayed.

Rate this solution

If you think this solution is useful — rate it up! Or dump it otherwise.

rating: +2+x
page tags: feed import rss
page_revision: 3, last_edited: 1217320129|%e %b %Y, %H:%M %Z (%O ago)
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License