• Designs Photo
  • Fantasy Photo
  • Code Photo
  • Silhouette Photo

Creative, Modern, Professional Designs

For the last 6 years, I have been creating innovative websites to capture attention and inspire the mind, balancing user experience with an attractive website interface. By the use of AJAX and CSS, websites become more interactive, and with Search Engine Optimization, they are easily found through Google, Yahoo and Bing.

Designs Photo
Fantasy Photo

Everything you see here is Original Work

Besides the jQuery library and syntax highlighting, this whole website has been created from scratch; No pre built frameworks or content management systems have been used.

This demonstrates dedication, personalization and skill, and is reflected in all of the work I produce.

Programming is a Passion

As you get to know me, you'll start to see that I've tried my hands at just about everything, ranging from the basics to the more advanced and finer points in programming.

That means you'll probably find lots of hints and tips here for many different languages, as well as anything that I find relatively interesting!

HTML Code Photo
Silhouette Photo

Inspiring Designs with Limitless Possibilities

Every website created here is a unique one, with limiting boundaries out of the questions.

Programming is always evolving and so I'm always improving my game to keep up with the changes. You'll be able to see this reflected in the high quality work that I produce.

Anuj Nair's Blog » Search: Mysql »

Creating a Custom RSS Feed using PHP and MySQL

How to create a custom RSS feed using PHP and MySQL to display the data that you want your subscribers to have quick access to at the click of a button

Posted: 25 May 2010 - Written by Anuj Nair
Many sites offer you the chance to subscribe to their site through the use of a web feed, namely RSS ( Really Simple Syndication), for quick and easy automatic updates to the sites you love. If you're a web developer who updates his site frequently and wants to offer the same service to your subscribers, you'll find that it's actually quite easy to create.

RSS : The Need-To-Know


When you check a RSS feed, you see lots of information: information about the site you're receiving the feed from, and more importantly, the blog posts which have been posted on the site. Keep all of this in mind: you'll need it when you create your own custom RSS feed.

RSS has a strict format which you need to follow in order for it to validate and work with all different RSS programs. You can use RSS Validators to check what you have coded is valid. It has a XML structure, detailing all of the different parts of the feed and is case sensitive! This is very important.
Tags: PHP, MySQL, RSS