Today I am going to tell u how to create a simple RSS feed with Php and MySql. This blog is for those who want to add their website or blog to Google feed burner.

About Google Feed burner :

Google Feed burner is one of the best place to promote your blog mainly. It will help you to reach your goal. It help your user to get your latest news feed you created. You don?t need to add single link one by one it will automatically access your newly created blog. You simply just create XML file that contains your all news feed links of your blog.

Simple Xml File Structure :

First create a table in your database

Xmlfeed.sql

Now we write code in Php and simply fetch the data from feed table and insert into XML layout. I hope you have basic knowledge of Php and Mysql.

Feed.php

 

And Final Output

This XML file does not appear to have any style information associated with it. The document tree is shown below.

 

 

 

Posted in: php