News Feed
Sections




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

Tech.pro:
How to Create an RSS Feed Using PHP and PDO
December 04, 2013 @ 11:52:53

On the tech.pro site there's a recent tutorial posted showing you a basic way to create an RSS feed using data coming from a database accessed via PDO.

Using an RSS feed on your website is a great way of letting your visitors, search engines or directories get a hand on your content. RSS feeds are common practice on most blog and CMS platforms including Wordpress, Joomla and evenly the newly released Ghost. If you're using a CMS or similar platform, the likelihood is that you don't need to implement an RSS feed yourself. [...] Below you've got the step-by-step process to create anything from the simple, standard-compliant RSS feed - up to the more advanced.

The tutorial shows you how to pull the data from a simple database table (SQL not provided, but pretty easy to figure out(, including example PDO connections for several database types. This data is then manually appended into an XML string to build out the RSS feed correctly. They also talk about implementing the Dublin Core metadata as a way for providing more information about the feed and its contents (including an image and category details).

0 comments voice your opinion now!
rss feed introduction tutorial pdo xml dublincore

Link: http://tech.pro/tutorial/1722/how-to-create-an-rss-feed-using-php-and-pdo

blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso's Blog: Real time monitoring PHP applications with websockets and node.js

Lorna Mitchell: Using Composer in an Existing Project

NetTuts.com: Creating a Flat-File Blog Engine Using Slim

SmashinGeeks.com: Display the Number of Retweets for a Post Using PHP

IBM developerWorks: Devise Web 2.0 applications with PHP and DHTML (Part 1)


Community Events





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


podcast language community list conference unittest opinion composer threedevsandamaybe interview release configure api voicesoftheelephpant laravel symfony series introduction version framework

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