Page 1 of 1

How to add an RSS feature to a page?

Posted: Mon Apr 13, 2009 4:26 pm
by WithHisStripes
Heya,
So I built this website: http://www.marketingyourtruth.com and hand wrote the code for a content manager with the ability to create blogs. It's super simple, just a PHP form that inserts the data the user enters into SQL and then pulls it back out to display it record by record on the blog page.

The client requested I implement an RSS feature but I realize I've never done that before and I'm not really sure where to begin. I was hoping for some leads to good tutorials? Thanks!

Re: How to add an RSS feature to a page?

Posted: Mon Apr 13, 2009 5:04 pm
by webgrrl
Really alot simpler than it may seem at first, but since it involves several different files I'll just direct you to a place that has a great example.

http://ajaxphp.packtpub.com/chapter9.htm

This is a book I read a couple years back and you can download the ebook and the example fits your case perfectly. Since the ebook is also copy paste enabled you don't have to retype all of the code either :lol:

Re: How to add an RSS feature to a page?

Posted: Mon Apr 13, 2009 5:11 pm
by WithHisStripes
Haha, awesome!

Thanks for that, I'm going to try that tutorial. In the mean time I found this pre-built script that works real well. Although, I want to write my own code. But it's lightweight.

http://www.ajaxray.com/blog/2008/03/08/ ... -and-atom/

Re: How to add an RSS feature to a page?

Posted: Mon Apr 13, 2009 11:08 pm
by webgrrl
Writing your own code is over rated!

Understanding what other people are writing and why they wrote it that way is most important. Let someone else type faster, I'll type smarter :wink: