Web Development Tools that Enlighten
Processing XML/RSS Data with PHP
In the beginning, the Internet was a simple mechanism for exchanging text data. Various markup tags were devised to represent various levels of text headings, paragraphs, lists, etc. At that time, those tags were sufficient to represent the data being exchanged. Now, more types of data are being represented and that data is being displayed on a variety of devices, not just visual web browsers. The problem was how to represent that data so that it could be displayed in some coherent fashion.
XML (eXtensible Markup Language) has great prospects for making data universally available in any number of formats. XML allows data providers to define their own markup tags so that data is defined more by what it is instead of the limited number of markup tags included in the HTML specifications.
Unfortunately, it may be years before browser support is adequate to take full advantage of the possibilities XML offers. However, server side scripting languages, such as PHP, implement XML parsing functionalities that can allow you to use XML today. Instead of sending XML to browser, you can parse and format it on the server, then send the resulting HTML to the browser, which knows perfectly well what to do with that.
- Displaying at RSS feed
- This is a page that will teach you how, using some free code, to display an RSS feed in your site.
- Here is some Syndicated News (RSS Feeds).
Perhaps we'll get into some more tutorials or examples later.