PDA

View Full Version : Create web pages from RSS feeds



u778877
14 Nov 2009, 06:07 PM
Question:

How do I create, or automate a process of creating web pages from one or more RSS feed(s)?

What I want to accomplish:

1. I have a web site, for example, www.MySite.com

2. I want to post RSS feed(s) to MySite.com, for example, a feed from NBA (http://www.nba.com/rss/nba_rss.xml)

3. I want to make it so each feed has its own unique web page URL, most likely a sentence of the feed it self. For example,
www.MySite.com/2009/10/feed_from_nba_001:whatever_the_story_is /
www.MySite.com/2009/10/feed_from_nba_002:whatever_the_story_is /
www.MySite.com/2009/10/feed_from_nba_003:whatever_the_story_is /
www.MySite.com/2009/10/feed_from_nba_004:whatever_the_story_is /
www.MySite.com/2009/10/feed_from_nba_005:whatever_the_story_is /
www.MySite.com/2009/10/feed_from_nba_006:whatever_the_story_is /
.
.
.
.
www.MySite.com/2009/11/feed_from_nba_001:whatever_the_story_is /
www.MySite.com/2009/11/feed_from_nba_002:whatever_the_story_is /
www.MySite.com/2009/11/feed_from_nba_003:whatever_the_story_is /
www.MySite.com/2009/11/feed_from_nba_004:whatever_the_story_is /
www.MySite.com/2009/11/feed_from_nba_005:whatever_the_story_is /
.
.
.
.
.

How would I accomplish this? And I will most likely do this on my WordPress blog page. Any help appreciated.

I know this is possible because it has been done, I would really want to learn how to do this as well.


Thank you very very much for help in advance

usedearplugs
14 Nov 2009, 11:38 PM
To clarify...
You want to DISPLAY the CONTENTS of someone else's RSS feed.
Is that correct?

If so, as long as it has the xml extension, as your example shows...
You can use javascript/AJAX. You would use the xmlhttp object, and then you would have to parse it using the XML DOM.
You would need to learn both of those.
http://w3schools.com has good tutorials on both.

I learned it there and did it on a website I designed, except it was my own RSS feed not an external one... now that I think about it... that may present problems (having it on a different server).

But that's my two cents. You can research it and try it out.