1.5 (checked in on 2007/10/31 at 21:59:17 by alexb)
Gather information about URL from Alexa. Sponsored by Development Seed. Developed by Aron Novak <aaron at szentimre dot hu>
Requirements: php4-mhash package, exactly the mhash function
| Name | Description |
|---|---|
| ACCESS_KEY | |
| OPERATION | |
| RESPONSE_GROUP | |
| SECRET_ACCESS_KEY | |
| SERVICE |
| Name | Description |
|---|---|
| theme_url_profile_alexa | Return all the data fields |
| theme_url_profile_created | Show the creation time of the site |
| theme_url_profile_desc | Show the description of the site |
| theme_url_profile_rank | Show the rank of the site |
| theme_url_profile_thumbnail | Show the image of the site |
| theme_url_profile_title | Show the title of the site |
| url_profile_alexa_admin_settings | Administration settings for Alexa API access credentials |
| url_profile_alexa_cron | Own cron function to ensure update of alexa datas |
| url_profile_alexa_help | Implementation of hook_help(). |
| url_profile_alexa_menu | Implementation of hook_menu(). |
| url_profile_alexa_perm | Implements hook_permissions |
| url_profile_alexa_refresh_feed | Manually force to refresh a specific feed |
| url_profile_alexa_show_thumbnail | Retrieve and show the site thumbnail |
| url_profile_alexa_url_profile | Implementation of hook_url_profile(). |
| _url_profile_alexa_calculate_RFC2104HMAC | Calculate the SHA1 hash of gived data with the <var>$key</var> |
| _url_profile_alexa_generate_img_path | Return the url_profile's image path |
| _url_profile_alexa_generate_rest_url | Generate URL for alexa wis |
| _url_profile_alexa_generate_timestamp | Timestamp format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z' |
| _url_profile_alexa_get_from_cache | Check if the URL was downloaded previously and cached |
| _url_profile_alexa_get_info | Get informations of an URL with the aid of Alexa Web Information Service http://docs.amazonwebservices.com/AlexaWebInfoService/1-0/ |
| _url_profile_alexa_get_thumbnail | Get the image data with the help of Alexa API |
| _url_profile_alexa_is_in_cache | Check if a given profile's alexa data is cached or not |
| _url_profile_alexa_put_img | If run PHP4, need to define file_put_contents. In PHP5 this is native function |
| _url_profile_alexa_put_in_cache | Cache the retrieved fields into SQL table |
| _url_profile_alexa_search_field | Search in xml_parse_into_struct function result for a field |