Official Review
NULL
|
Other links at PHP > Scripts and Programs > XML and PHP |
| 1. |
Amazonlib -- API for Amazon.com's web services
|
|
|
AmazonLib is an API for Amazon.com's Web Services. It is written in PHP. Itsimplifies the process of writing applications using Amazon's Web Services. AmazonLib consists of four main components: 1) nurest.php -- a REST parser class which parses Amazon's XML responses into an associative array. 2) amazonrest.php -- a REST API class for all of the API calls in AWS 3.0. 3) amazonsoap.php -- a SOAP API like amazonrest.php. I use, and include, Dietrich Ayala's nusoap.php SOAP library. 4) amazonseller.php -- a beta API for amazon.com's seller interface.AmazonLib has a few nice features. It shouldrun on any PHP4 distribution and it will alsolog most error messages. Like nusoap, it'sdistributed under the GNU Lesser PublicLicense.
|
| 2. |
PHP-XML Weather
|
|
|
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.
|
| 3. |
Ah-ha.php
|
|
|
This script will parse ah-ha.com XML and display it. Very easy to customize and well documented.
|
| 4. |
PHPXconfig
|
|
|
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/
|
| 5. |
NOAA Weather Parser
|
|
|
Recently, the NWS has started offering RSS feeds of various weather forcasts. Here's a simple parser, done in php5, to display local weather, no more paying a subscription service to have weather on your site.
|
|
|