Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /home/seopher/seopher.com/how-to-write-rss-generator3.php on line 40


Tutorials: How to write a PHP & MySQL RSS Feed Generator


Your feed is done now, time to validate it.

Enter the URL to the PHP file we've just written into FeedValidator.org and that will highlight any errors you have so far.

If that comes out all OK, your feed is done - you just need to get it published.


Publishing your Feed
While i'm sure there are numerous services that do this for you, the best I've found is FeedBurner.com.

If you go there, all you need to do is subscribe and point them at the URL to the PHP file we have made (the generator). Feedburner will:
–  Give you a URL you can point people to to "subscribe to my RSS feed"
–  Ping your generator every 30mins or so, so that all the people subscribed to your feed through them will receive updates within 30mins of you posting a new blog/article
–  Tell you how many subscribers you have
–  Allow you to track RSS activity etc.


All done!
And that's it done, your generator is able to generate valid RSS feeds, Feedburner will ping it for you to allow your subscribers to receive your latest posts/articles. Now you can expand yourself into the world of RSS =)