« Comparison between Wordpress and MovableType | Home | What do i think about html5? »

June 12, 2009

Get Google PageRank from Flash

I just added a PageRank ActionScript class to the inca library. You now can get a website's pagerank via flash.

import inca.api.PageRank;
import inca.utils.PendingCall;
import flash.events.Event;

var pc:PendingCall = PageRank.query("blog.funciton.com");
pc.addEventListener(Event.COMPLETE, handleResult, false, 0, true);

function handleResult(e:Event):void{
trace ("PageRank is:", (e.target as PendingCall).data);
}

I'll work on updating the YFinance class. Didn't know the query format was documented.

Hope you guys like this class.

--fernando

About this Entry

This page contains a single entry by fernando published on June 12, 2009 6:39 AM.

Comparison between Wordpress and MovableType was the previous entry in this blog.

What do i think about html5? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.