|
|
|
|
|
|
| |
Introduction
It seems that every site provides an RSS XML feed these days -– even we do. But what is an RSS XML feed, why would you want to create one, and how the heck do you create one?
Well, in this article I'll attempt to answer all 3 questions for you, the intermediate PHP developer. In this article you will learn what RSS XML is and how to generate your own RSS XML file from a class that we will build in PHP. This class will connect to a database, grab the appropriate fields, and split out a nice RSS compatible XML file that you can share.
To implement the class that we will create, you need at least PHP v4.1 installed. Note that you don't need any sort of XML support enabled -- we will simply be using mysql_xxx functions and joining some strings together.
You will also need access to a MySQL database, which is where we will get the content to build our RSS XML data. I will assume that you have an intermedia knowledge of PHP, basic knowledge of XML, and no knowledge of the RSS standard.
Read More... |
|
| |
| Data, its presentation and user interface forms Categories : PHP, XML, User Interface | | | Building XML Web Services with PHP NuSOAP Categories : PHP, NuSOAP, XML | | | PHP 101 Part 11 of 15 : Sinfully Simple Categories : PHP, SimpleXML, XML | | | Serializing XML With PHP Categories : PHP, XML, Serialize | | | Creating a Credit Card Validation Class With PHP Categories : PHP, Credit Cards, PHP Classes | | | PHP5: Designing And Using Interfaces Categories : PHP, Object Oriented, Interfaces, PHP Classes, Security | | | Parsing XML With DOMXML And PHP Categories : XML, PHP | | | More PHP, XML and XSL for Wireless Content Categories : PHP, XML, XSL, Wireless | | | Building An Extensible Menu Class Categories : PHP, PHP Classes, Object Oriented, Navigation | | | PHP 101 Part 7 of 15 : The Bear Necessities Categories : PHP, Beginner Guides, Object Oriented, PHP Classes | | | Injecting XML Content Into Page Templates With patXMLRenderer (part 1) Categories : PHP, XML, Templates | | | Build Your Own KlipFolio Klip With PHP Categories : XML, Content Management, PHP | | | Building XML Trees with PEAR's XML_Tree Class Categories : PHP, Pear, XML | | | PHP Classes And Objects: A Guide To Development Categories : PHP, PHP Classes, Object Oriented, Beginner Guides | | | Converting XML Into a PHP Data Structure Categories : PHP, XML | |
| |
|
|