 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
IBM developerWorks: Process and integrate Google Notebook data with PHP
by Chris Cornutt May 27, 2008 @ 12:05:23
A new tutorial over on the IBM developerWorks site (from Vikram Vaswani) shows how to pull data from the Google Notebook service into your script via the service's REST API.
Google Notebook is a free service that allows users to save and share notes and Web clippings in an online journal. A REST-based API allows developers to build customized PHP applications around this service using SimpleXML. In this article, you learn how to use the API, with examples of reading notebooks and notebook contents using PHP.
His method grabs the contents of the REST request and drops them into a SimpleXML object for easy manipulation. Different kinds of requests are included - getting the list of notebooks, getting the notebook's contents and how to add on extra parameters to the REST call to get more information in the responses.
voice your opinion now!
tutorial google notebook rest simplexml api
IBM developerWorks: Use the YouTube API with PHP
by Chris Cornutt April 16, 2008 @ 22:42:36
In this new tutorial on the IBM developerWorks website, they show you how - with a little simple HTML and PHP - to integrate functionality from the YouTube API into your site.
The YouTube video sharing site allows Web application developers to access public content through its REST-based developer API. [...] This article introduces the YouTube Data API, demonstrates how you can use it to browse user-generated video content; access video metadata, comments and responses; and perform keyword searches.
They help you get started by outlining the format that the YouTube messages use (Atom feeds) and how to run a query against the API and return back the custom data for things like video categories, popularity and the results of keyword searches.
voice your opinion now!
youtube api tutorial category keyword search atom feed
DeveloperTutorials.com: PHP Site Search Made Easy
by Chris Cornutt March 31, 2008 @ 12:35:52
On the Developer Tutorials site today, Akash Mehta has posted his look at having search functionality on your website.
Today's websites have a lot of content. [...] Needless to say, effectively searching all that data can be a real challenge, and chances are at the end of the day you'll still be stuck with a slow and ineffective search system. [...] Implementing effective search doesn't have to be hard. In this tutorial, I'll show you how to build a basic site-specific web search in just five lines of code, using the Yahoo! APIs.
He includes a (very) brief look at the search API Yahoo! offers followed by examples of queries and then on to the real deal, a search system that takes in a user query and asks the Yahoo! API for results matching it. The results are outputted below the box.
voice your opinion now!
search engine yahoo api simple tutorial
Greg Beaver's Blog: behold pecl/phar and mighty PHP 5.3, also php|arch and php|tek
by Chris Cornutt March 27, 2008 @ 13:49:44
In a new post, Greg Beaver talks about a few things, the main one being a new release of the phar extension he's made - phar version 2.0.0a1 - a reworking of the previous functionality with loads of new features including:
- Phar now supports tar and zip archives with the same API that is supports phar archives.
- Phar has a front controller for web applications that fully handles MIME types, supports mod_rewrite-like functionality with far more flexibility
- Phar supports phar:// stream wrappers in include_path for PHP 5.2+
- Phar supports creation and modification of data-only tar and zip archives (no executable phar stub) via the PharData class.
There've also been updates to the manual for the project to reflect this new version of its API. You can download this latest version here: source or Windows DLL.
voice your opinion now!
pecl phar extension php5 api manual upgrade
Hasin Hayder's Blog: WorldTimeEngine - How about making your own in PHP?
by Chris Cornutt March 10, 2008 @ 11:17:00
Hasin Hayder has posted an example of a "world time search" he's worked up that uses the geonames.org and Yahoo! developer APIs to pin down the time at any given location.
I recently came by this site WorldTimeEngine where users can search the local time of any place using the name, street address or just latitude and longitude. Since that time I was thinking how easily you can make your own. As long there are some good people over there (For Geocoding API) - its a not a big deal, you know?
His script pulls the location of the place (latitude/longitude) from the Yahoo! geocoding API and passes that back into the geonames web service to get the local time. The result is an array with the lat/long, address you submitted and the time output in a standard string.
voice your opinion now!
world time engine example yahoo api webservice geonames
|
Community Events
Don't see your event here? Let us know!
|