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
One in six teens engage in 'sexting'
1260898034|%e %b %Y, %H:%M %Z|agohover
Google ponders risky Android solo act
1260894377|%e %b %Y, %H:%M %Z|agohover
Boeing Dreamliner takes flight
1260908829|%e %b %Y, %H:%M %Z|agohover
The importance of Web accessibility
1260882488|%e %b %Y, %H:%M %Z|agohover
NASA launches telescope to scan sky
1260804495|%e %b %Y, %H:%M %Z|agohover
Koalas dying from AIDS, habitat loss
1260775393|%e %b %Y, %H:%M %Z|agohover
Supreme Court takes on messaging case
1260842957|%e %b %Y, %H:%M %Z|agohover
Cyber crime threatens e-commerce
1260895246|%e %b %Y, %H:%M %Z|agohover
Are tech firms afraid of the Middle East?
1260541698|%e %b %Y, %H:%M %Z|agohover
Artificial retina gives blind woman limited vision
1260522274|%e %b %Y, %H:%M %Z|agohover
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.






Hi, I want to do this but when I go to my forum (where I want my rss feed to come from) and lcik the [RSS] button I get this code to use:
… but it looks like it needs to be .rss
???
I found this code:
… but it does not display the content of the posts (which I DO want!!)
Help?
Ok, worked out that I was missing a 'talking marks' in my code. Doh!
But now it is showing the feed from oldest to newest, not newest to oldest. I want it to show the most recent ontop.
http://hobstarcs.wikidot.com/welcome