Home arrow PHP arrow Page 3 - Rockiní RSS with PHP on your HTML

How--and why--to get started - PHP

An RSS feed lets webmasters tease visitors into returning to their websites again and again to check out new content. Danny Wall explains how to set up this simple, automated, spamless way of getting Web surfers to come back for more.

TABLE OF CONTENTS:
  1. Rockiní RSS with PHP on your HTML
  2. An idea that's catching on
  3. How--and why--to get started
  4. Starting with the header
  5. Adding content
  6. Tease the reader
By: Danny Wall
Rating: starstarstarstarstar / 42
November 23, 2004

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

You should know that there are a lot of tutorials and the like on how to add RSS content to your own site.  An excellent one can be found at: http://www.devshed.com/c/a/PHP/Plugging-RDF-Content-Into-Your-Web-Site-With-PHP.

Additionally, there are a wide range of tools to make adding RSS to your site easy with hardly writing any code of you own. I personally use the MagpieRSS toolset created in PHP which can be found at http://magpierss.sourceforge.net. So instead of covering how to get RSS added to your site, what Iíd like to do is talk about how you can build your own RSS feed.

Some webmasters that I know groan over the thought of RSS. Itís yet another new technology to learn, another new thing to add to their site and manage. The thing is, RSS is really nothing more than an XML application, and if done right, it doesnít need any management.  Everything can be (indeed, should be) automated. 

In fact, RSS it is the first widespread use of XML. It is the first time XML is being used to do something useful for the average Web surfer AND for the average webmaster.

To start with, the easiest thing to do will be to take a look at what an RSS file looks like. You can see an example RSS file at: http://www.wolfdatasystems.com/rss.xml

To anyone with any knowledge of HTML it isnít really hard to figure out what is going on.  There isnít anything strange or scary, there isnít anything to make you cringe.



 
 
>>> More PHP Articles          >>> More By Danny Wall
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: