Create RSS Feed
- Started
- Last post
- 12 Responses
- mg33
I'm looking around for some info and coming up a bit short. I want to know how I can take simple news posts on a site that I run and treat them as RSS so that they show up in a reader. I don't want to use Wordpress for anything like this, just want the headline and contents to be read by a reader.
Any tips on this or examples? Everything I find in google is about adding an RSS feed to a site where it populates a section with other feeds. I just want to turn something of my own into a feed.
Thanks.
- acescence0
you basically need to take your content and parse it into a valid XML RSS doc
- mg330
Cool, thanks alot. Great to learn this stuff.
- acescence0
oh, and add a link tag to your site so the feed is "discoverable":
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="http://path/to/feed" />
- mg330
How much more complicated do you think this would be to build into a Flash site?
- acescence0
display the feed on a flash site? or get the content from a flash site?
- BattleAxe0
not too bad, the real trick is creating a vaild XML doc ,
how are the headline being created and stored?
- acescence0
if you have your data in a db and you're just trying to display it in flash, something like amfphp would be easier IMO, since you'd be dealing with native data objects on both ends, no parsing to/from XML involved.
- mg330
I've not started anything yet. For example, the news posts here: www.theatlanticdivide.com I just want to feed the headline and the post into a reader so people can subscribe to it.
- mg330
and on our new site I'm going to hopefully do it in Flash, and would want those posts to be available in a reader.
- acescence0
yeah, there are a ton of flash RSS reader tuts out there, it's pretty easy
- BattleAxe0
is the news being stored in a database , or is it just a static page that you add the news into