How to add an RSS feature to a page?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
WithHisStripes
Forum Contributor
Posts: 131
Joined: Tue Sep 13, 2005 7:48 pm

How to add an RSS feature to a page?

Post 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!
webgrrl
Forum Newbie
Posts: 8
Joined: Mon Apr 13, 2009 4:27 pm

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

Post 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:
WithHisStripes
Forum Contributor
Posts: 131
Joined: Tue Sep 13, 2005 7:48 pm

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

Post 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/
webgrrl
Forum Newbie
Posts: 8
Joined: Mon Apr 13, 2009 4:27 pm

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

Post 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:
Post Reply