News Feed
Sections




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

The Shadow Fox Network:
Building an RSS Feed From a Database
June 08, 2006 @ 06:59:07

Everyone and everything is connected these days, it seems like. One of the keys to these connections is the use of things like RSS (really simple syndication) feeds to share your site's contents with the world. Don't have one yet? No worries, this tutorial from The Shadow Fox Network can help you create one.

I've covered the basics of creating RSS in another article already, the My First RSS Feed article. But in this article, you're going to learn how to make and update the RSS feed automatically using PHP.

If you want to see the basic end result, you can check out the mock demo I made of it where you can add your own rows and it will create an RSS file from it named rss.xml.

It's a pretty simple script - pulls from the database, loops through the results, and formats it into the RSS standardized format. All of the PHP and XML formatting that you'll need is given.

0 comments voice your opinion now!
tutorial build rss feed database xml tutorial build rss feed database xml


blog comments powered by Disqus

Similar Posts

ProDevTips.com: Zend Amf and class mapping with Flash CS3 / AS3

Rob Allen's Blog: ZF2 Training at PHPNW 2011!

WebCheatSheet.com: Two New Tutorials - Database Export & Sending Email

HowTo Forge: Installing The PHP-MSSQL Module On CentOS 5.0

DevShed: Inserting Comments and Accessing Nodes with the DOM XML Extension in PHP 5


Community Events





Don't see your event here?
Let us know!


series voicesoftheelephpant podcast release opinion version interview library community symfony composer laravel application framework update security language package introduction tool

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework