The Wayback Machine - http://web.archive.org/web/20150906232403/http://aws.amazon.com/code/JavaScript/1592

Image Ajax-Alexa-Thumbnails

Sample Code & Libraries>JavaScript>Ajax Alexa Thumbnails
Community Contributed Software

  • Amazon Web Services provides links to these packages as a convenience for our customers, but software not authored by an "@AWS" account has not been reviewed or screened by AWS.
  • Please review this software to ensure it meets your needs before using it.

A JavaScript module built on the Yahoo! User Interface library that allow asynchronous (Ajax) usage of Amazon's Alexa Site Thumbnail web service.

Details

Submitted By: Eric Ferraiuolo
AWS Products Used: Alexa Web Information Service
Language(s): JavaScript, PHP
License: GNU General Public License (GPL version 2)
Source Control Access: svn checkout http://ajax-alexa-thumbnails.googlecode.com/svn/trunk/ ajax-alexa-thumbnails-read-only
Created On: July 27, 2008 5:21 PM GMT
Last Updated: September 21, 2008 7:46 PM GMT
Download

A JavaScript module built on the Yahoo! User Interface library that allow asynchronous (Ajax) usage of Amazon's Alexa Site Thumbnail web service.

The project consists of a server-side component written in PHP which makes the cross-domain request to Amazon's Alexa Site Thumbnail web service, and a JavaScript component which makes Ajax requests to configured server-side component and caches the results.

Features

  • Uses YUI library and registers itself as a module
  • 1.4kb minified version
  • Caching to reduce number of server and web service requests
  • Ajax request queue to prevent multiple request for the same resource
  • Configurable (in JavaScript) for small/large thumbnails, and wrap with anchor (link)
  • YUI Logging support for development and testing

Examples

Requires

  • Amazon Web Services account
  • YAHOO! User Interface (YUI) 2.5.2
  • Running web server with PHP

It is required for you to have an Amazon Web Services account signed-up with the Alexa Site Thumbnail service. The AWS configuration resides in the alexa_service.php file; here is where your AWS Access Identifiers are set.

Comments

no working examples?
Hmm, impossible to review without working examples... :-/
Image
Evert Meulie on December 14, 2008 8:14 AM GMT
We are temporarily not accepting new comments.
©2015, Amazon Web Services, Inc. or its affiliates. All rights reserved.
Image