This is a sample to illustrate how one can use PHP and cURL to access an existing XML feed for US weather. It grabs both current conditions and a nine day future forecast based on the zipcode that one enters. Unlike a lot of other PHP weather tools, this one doesn't screen scrape from yahoo or pirate MSNBC's feed... so, while it can only do US weather, you can do it with a bit of peace of mind.
Pull a List of RSS feed addresses out of a mysql database. Perform responsiveness check with socket connection, compare poll results to database of headlines, if unique, add. Also formats template for display.
This script will allow you to add multiple live XML news feeds to your site. You can choose any of the feeds available at Moreover and the script will display a short listing in a box that you can place anywhere on your site. The box also gives the option to show all the news that is available for the catagory on a different page. This is a nice, easy way to add dynamic content to your site.
This PHP class reads an XML file and stores the data for retrieval in your program. Originally designed for reading config files. Uses PHP.XPath class found at http://www.carrubbers.org/scripts/php/xpath/
The Voice XML PHP class allows you to easily generate VXML documents on the fly based on the W3C Working Draft, 23 October 2001 (VoiceXML) Version 2.0.
This script will parse and process RDF/XML feeds, using PHP. Simply change the required variables in the code below and publish to a suitable web server. Then, preview the page(s) in your browser.
MiniXML provides a 100% PHP API to parse and generate XML. It is comprised of a set of PHP classes that allow you to access XML data and create valid XML output with a tree-based hierarchy of elements. MiniXML does not require any external libraries or modules.
The Incutio XML-RPC library is designed primarily for ease of use. It incorporates both client and server classes, and is designed to hide as much of the workings of XML-RPC from the user as possible. A key feature of the library is automatic type conversion from PHP types to XML-RPC types and vice versa. This should enable developers to write web services with very little knowledge of the underlying XML-RPC standard.
CaféRSS is a simple RSS aggregator written in PHP that is easy to integrate into your pages. It supports RSS 0.9, 0.91, and 0.92 feeds. It can cache RSS feeds and renders them using templates.