News Feed
Sections




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

WebReference.com:
Creating a Custom RSS Feed with PHP and MySQL
October 25, 2006 @ 09:56:00

The WebReference.com site has a new tutorial posted today - a look at the creation of a custom RSS feed with the help of a a dash of both PHP and MySQL.

You'll learn how to syndicate your own custom RSS feeds using PHP and MySQL. We'll first learn how to create two database tables and then how to retrieve data from them which will be formatted into an RSS feed.

They start from scratch instead of trying to integrate with your pre-existing database schema. They choose to go with a news system that includes the contents of the post, an image associated with it, and a link back to it. They create a class to make the RSS that contains methods like GetFeed, getDetails, and getItems to help build the RSS output. It's all done by appending the tags and information togethter, so don't look for any XML handling here.

0 comments voice your opinion now!
rss feed mysql tutorial class schema custom database rss feed mysql tutorial class schema custom database


blog comments powered by Disqus

Similar Posts

Ian Christian's Blog: Handling Uploaded file in symfony’s admin generator

Johannes Schlüter's Blog: MySQL Query Analyzer and PHP

Fabien Potencier's Blog: Create your own framework...on top of the Symfony2 Components (parts 3 & 4)

ThinkPHP Blog: Creating press-ready PDF documents on the fly including individual barcodes

Zend Developer Zone: 30 Minutes with Chris Hartjes


Community Events

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


performance release community library series introduction example conference extension symfony2 framework api opinion application interview podcast php7 laravel voicesoftheelephpant version

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