Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Build an RSS 2.0 Feed with CodeIgniter
Nov 19, 2009 @ 07:59:33

New on NETTUTS.com today there's a tutorial about building a simple RSS feed for your CodeIgniter application based on the contents of a MySQL database and a standard MVC setup of files to handle the request.

In this tutorial, we will build a RSS 2.0 Feed with the PHP framework CodeIgniter. After this tutorial, you will be able to build a feed for any custom website in no time at all.

The process (like the CodeIgniter framework) is a pretty simple one. He helps you set up the MySQL database and tables via phpMyAdmin and creates a simple model, view and controller to handle a "yourdomain.com/feed" request with an RSS document. All sample code is included, ready for you to cut and paste.

tagged: rss feed codeigniter framework tutorial