Import a News Feed

By michal frackowiakmichal frackowiak

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

Going to the office . . . in Second Life

1257529750|%e %b %Y, %H:%M %Z|agohover

As recession-minded businesses cut back on travel for employees, online communities such as Second Life are filling the void. More than 1,400 companies and agencies now use Second Life avatars to hold virtual meetings and conduct training.

Q&A: How design can change the world

1257533500|%e %b %Y, %H:%M %Z|agohover

The title of Warren Berger's recently published book -- "Glimmer: How Design Can Transform Your Life and Maybe Even the World" -- is ambitious.

Google releases Dashboard tool

1257523583|%e %b %Y, %H:%M %Z|agohover

Ever wonder what information Google knows about you? With a click or two, now you can find out.

Google tries its hand at customer service

1257444865|%e %b %Y, %H:%M %Z|agohover

If you rely on a compelling service that happens to be free, what level of customer support are you entitled to receive?

Life-logging camera may help fight memory loss

1257437333|%e %b %Y, %H:%M %Z|agohover

A small, wearable camera that captures images automatically could change the way memory loss patients, in particular those with Alzheimer's, are treated, experts say.

Does China really want the iPhone?

1257436530|%e %b %Y, %H:%M %Z|agohover

Now that Apple's iPhone is officially for sale in China, the question is, will the country's 700 million mobile phone users want to buy it?

Cashmore: Curating news with Twitter 'lists'

1257370063|%e %b %Y, %H:%M %Z|agohover

The Twitter community is abuzz this week about the site's new "Lists" feature, which allows users to create collections of interesting people to follow on the micro-messaging service.

X-ray machine voted top scientific invention

1257371176|%e %b %Y, %H:%M %Z|agohover

The X-ray machine was Wednesday named the most important scientific invention, in a poll marking the centenary of the Science Museum in London.

Apps of the week: Games to entertain kids

1257346580|%e %b %Y, %H:%M %Z|agohover

Your kids may be too young for their own cell phones.

Do digital diaries mess up your brain?

1257286397|%e %b %Y, %H:%M %Z|agohover

The meal you ate the first day you started working. The first exam you aced in high school. The shoes you wore to the prom.

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: +4+x
Great Idea, help me?
HobStarCSHobStarCS 1241137439|%e %b %Y, %H:%M %Z|agohover

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:

http://hobstarcs.wikidot.com/feed/forum/t-152633.xml

… but it looks like it needs to be .rss

???

I found this code:

[[module Feed src="http://hobstarcs.wikidot.com/feed/forum/t-152633.xml" limit="10"]]
**%%linked_title%%**
posted %%date|%O ago%%, section: %%custom slash:section%%
[[/module]]

… but it does not display the content of the posts (which I DO want!!)

Help?

last edited on 1241137681|%e %b %Y, %H:%M %Z|agohover by HobStarCS + show more
unfold Great Idea, help me? by HobStarCSHobStarCS, 1241137439|%e %b %Y, %H:%M %Z|agohover
Re: Great Idea, help me?
HobStarCSHobStarCS 1241154164|%e %b %Y, %H:%M %Z|agohover

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

unfold Re: Great Idea, help me? by HobStarCSHobStarCS, 1241154164|%e %b %Y, %H:%M %Z|agohover
Add a new comment
Page tags: feed import rss
page_revision: 5, last_edited: 1245783968|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License