PDA

View Full Version : RSS News System


Cecchi
09-23-07, 11:55 PM
Okay, I have a feeling I have gotten myself into a project way beyond my level, but people keep telling me that "RSS is easy, don't worry". Well, I'm worrying.

Heres what I am attempting (Please keep in mind that all I know is JS and HTML):

- There is one main RSS feed, that I need to update fairly often. It contains many many stories, which are displayed on the main page of the site.
- Then, I have separate pages, about specific topics, and I need to have the relevant news stories displayed on those pages.

For example, lets say I am running a sports site. There is the main page that shows all my sports stories, and then there are subsections. On the soccer page all the sports stories related to soccer would be displayed. Therefore, I need to be able to 'tag' the stories so that the soccer page can tell which articles are soccer related or not.

So these are my questions:

A) How do I go about creating the main RSS feed, and making it display nicely, as well as being easy to edit/add new stories to.
B) How do I make it so I can 'tag' the articles so that they can be categorized
C) Is there a cool web app or desktop app that would make all of this much easier?
D) Should I just give up now, if I only know HTML and Javascript

Please, when you answer this post, put it in as simple language as possible, because otherwise I won't understand what you are saying. I know nothing about RSS or XML :(


Edit: Maybe I shoulda put this in the XML forum...

Christian
09-24-07, 05:31 PM
Moved to Web Services and XML.

bizzar528
09-27-07, 11:13 AM
How are the stories stored? In a database? In html files?

I've been tinkering with rss a lot lately and found it is fairly easy, but I've added php in the mix to help make the feeds dynamic. Maybe it can be done in javascript too, but that's beyond me. I'll explain how i do it in php and maybe that'll help...

I use something like the following:

feed.php?tags=soccer

Then, the feed.php would pull all the topics with soccer and display them in an rss format. Then I use additional php for parsing and displaying. But all my data either comes from rss feeds or a database, thus the reason I ask how your data is stored.