Plugin Directory

Changeset 684262


Ignore:
Timestamp:
03/19/2013 03:18:02 PM (13 years ago)
Author:
bmsterling
Message:

Update README.txt with useful information

Location:
wurfl-capabilities/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wurfl-capabilities/trunk/README.txt

    r684254 r684262  
    11=== WURFL Capabilities ===
    22Contributors: bmsterling
    3 Donate link:
     3Donate link:http://benjaminsterling.com/donations/
    44Tags: wurfl, mobile, capabilites, theme
    55Requires at least: 3.5
    66Tested up to: 3.5.1
    7 Stable tag: 0.3
     7Stable tag: 0.3.1
     8License: GPLv3
     9License URI: http://www.gnu.org/licenses/gpl-3.0.html
    810
    911Using WURFL to expose capabilities of your users browser.
     
    1113== Description ==
    1214
    13 Using WURFL to expose capabilities of your users browser. See http://wurfl.sourceforge.net/help_doc.php for full list of capability checking.
     15Using WURFL to expose capabilities of your users browser. See <a href=\"http://wurfl.sourceforge.net/help\_doc.php\" target=\"\_blank\">http://wurfl.sourceforge.net/help_doc.php</a> for full list of capability checking.
    1416
    15 WURFL is the registered trademark of ScientiaMobile, Inc., Reston, VA, USA
     17Some initial methods that are exposed are:
     18
     19 
     20
     21*   is\_wireless\_device
     22*   is_tablet
     23*   is_touch
     24*   supports_borderradius
     25*   supports_gradients
     26*   pointing_method
     27*   getCapability (points to the WURFL API method of the same name, pass in the param of capability you\'d like to get.  See the help doc link for those param names)
     28
     29<div>
     30  <strong>Example usage</strong>
     31</div>
     32
     33<div>
     34  `$wurflcap->is_touch();`
     35</div>
     36
     37<div>
     38  <br />
     39</div>
     40
     41<div>
     42  Please be aware of the licensing at <a href=\"http://wurfl.sourceforge.net/license.php\" target=\"_blank\">http://wurfl.sourceforge.net/license.php</a>
     43</div>
     44
     45 
     46
     47*WURFL is the registered trademark of ScientiaMobile, Inc., Reston, VA, USA*
     48
     49 
    1650
    1751== Installation ==
    1852
    19 Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation and then activate the Plugin from Plugins page.  Initial activation will take a bit of time.  The WURFL zip file will be extracted and create cache files under wp-content/wurfl.
     53Installation is pretty straight forward, follow steps in order:
    2054
     551.  Download and extract the plugin to your plugins directory (wp-content/plugins)
     562.  Download the most recent WURFL database from <a href=\"http://sourceforge.net/projects/wurfl/files/WURFL/\" target=\"_blank\">http://sourceforge.net/projects/wurfl/files/WURFL/</a>
     573.  Place the downloaded zip file in the WURFL Capabilities plugin folder
     584.  Rename the zip file to **wurfl.zip**
     595.  Active the plugin.  Note: activation may, depending on your server, take about a minute, do not refresh or close your browser.  The WURFL API is caching the data based off the XML that is in zip file.
    2160== Frequently Asked Questions ==
    2261
    23 None yet.
     62= How do I update the database? =
    2463
    25 == Changelog ==
    26 0.3
    27 Remove XML
    28 
    29 0.2
    30 Remove ZIP file
    31 Add XML of WURFL database
    32 
    33 0.1 Initial development
     64Follow steps 2 to 4 of the installation steps, the WURFL API checkes the zip for last modifed and, if changed, will update the cache.  Again, be aware the initial change will probably take about a minute depending on your server.
  • wurfl-capabilities/trunk/wurfl-capabilities.php

    r684254 r684262  
    55    Plugin URI: https://github.com/bmsterling/WURFL-Capabilities
    66    Description: Using WURFL to expose capabilities of your users browser.
    7     Version: 0.3
     7    Version: 0.3.1
    88    Author: Benjamin Sterling
    99    Author URI: http://www.benjaminsterling.com
Note: See TracChangeset for help on using the changeset viewer.