Get lists of sites within a specific category ordered by traffic rank, or create a browseable directory of websites The CategoryBrowse action provide a directory service based on the Open Directory, www.dmoz.org, and enhanced with Alexa traffic data.
Func _AWIS_CategoryBrowse( $Count, $ResponseGroup, $Start, $Path, $Descriptions = True, $XMLResponse = False )
The CategoryListings action is a directory service based on the Open Directory, www.dmoz.org.
Func _AWIS_CategoryListings( $Count, $ResponseGroup, $Start, $Path, $SortBy = "Popularity", $Recursive = False, $Descriptions = True, $XMLResponse = False )
The URL Information Action provides information about websites.
Func _AWIS_GetURLInfo( $Count, $ResponseGroup, $Start, $Url, $XMLResponse = False )
The Sites Linking In action returns a list of web sites linking to a given web site.
Func _AWIS_SitesLinkingIn( $Count, $Start, $Url, $XMLResponse = False )
The TopSites action provides lists of web sites ordered by Alexa Traffic Rank.
Func _AWIS_TopSites( $Count, $ResponseGroup, $Start, $CountryCode, $XMLResponse = False )
The TrafficHistory action returns the daily Alexa Traffic Rank, Reach per Million Users, and Unique Page Views per Million Users for each day since June 2007.
Func _AWIS_TrafficHistory( $Count, $Url, $Start, $Range = 3, $XMLResponse = False )
Builds the url for the request to ATS The url will be urlencoded as per RFC 3986 and the uri params will be in alphabetical order
Func _buildQueryParams( $oParameters )
COM error hanlder
Func _ErrFunc( $oError )
Generates an HMAC signature per RFC 2104.
Func _generateSignature( $sUrlParams, $sHost )
Returns an XMLHTTP object
Func _GetXMLHTTP()
Logging utility that you can use to output messages.
Func _Log( $sText, $iStyle )
Makes request to AWIS
Func _makeRequest( $sURL )
Parses XML response from AWIS for CategoryBrowse action.
Func _parseResponseCategoryBrowse( $sResponse )
Parses XML response from AWIS for CategoryListings action.
Func _parseResponseCategoryListings( $sResponse )
Parses XML response from AWIS for SitesLinkingIn action.
Func _parseResponseSitesLinkingIn( $sResponse )
Parses XML response from AWIS for TopSites action.
Func _parseResponseTopSites( $sResponse )
Parses XML response from AWIS for SitesLinkingIn action.
Func _parseResponseTrafficHistory( $sResponse )
Parses XML response from AWIS for UrlInfo action.
Func _parseResponseUrlInfo( $sResponse )
Decodes URL-encoded string
Func _URIDecode( $sData )
URL-encodes string
Func _URIEncode( $sData )
Generate a keyed hash value using the HMAC method
Func hmac( $key, $message, $hash = "md5" )
Calculate the md5 hash of a string
Func md5( $message )
Calculate the sha1 hash of a string
Func sha1( $message )