WordPress.org

Plugin Directory

Changeset 621879


Ignore:
Timestamp:
11/07/12 00:00:51 (18 months ago)
Author:
knutsp
Message:

Doc fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • weather-forecast-shortcode/trunk/readme.txt

    r621877 r621879  
    1414 
    1515Weather forecasts from yr.no, delivered by the Norwegian Meteorological Institute (MI) and the Norwegian national public broadcasting company (NRK). 
    16 Registers a shortcode [yr] to display a weather forecast for a place (or city) as a table on any page or post, based on url found manually on <a href="http://om.yr.no/">yr.no</a>. 
     16Registers a shortcode `[yr]` to display a weather forecast for a place (or city) as a table on any page or post, based on url found manually on <a href="http://om.yr.no/">yr.no</a>. 
    1717It covers more than <strong>9 million</strong> places all over the world, including about 900 000 places in Norway alone. Specific resorts and hotels included. 
    18 This plugin is enturely based on free and public weather data, but follows the terms and conditions required by <a href="http://om.yr.no/verdata/free-weather-data/">yr.no</a>. 
     18This plugin is enturely based on free and public weather data, but follows the terms and conditions required by <a href="http://om.yr.no/verdata/free-weather-data/">`yr.no`</a>. 
    1919 
    2020It uses an updated edition of the original script <a href="http://www.yr.no/contentfile/file/1.5542944!php-varsel_versjon_2-5.zip">`yr.php`</a> v 2.6 
     
    3131= Upgrade = 
    3232 
    33 IMPORTANT: If upgrade to new version from 1.2 or eaelier fails, rename the folder `wp-content/plugins/weather-forecast-shortcode` to something else and reinstall the plugin. 
     33<strong>IMPORTANT:</strong> If upgrade to new version from 1.2 or eaelier fails, rename the folder `wp-content/plugins/weather-forecast-shortcode` to something else and reinstall the plugin. 
    3434This problem should never happen again. Then try setting permission for the old `cache` subfolder to 755 and delete it through FTP. Otherwise shell access or support may delete it. 
    3535 
     
    3838= Usage examples = 
    3939 
    40 Visit <a href="http://www.yr.no/">yr.no</a>, select your language and <em>search for the desired place</em>. Copy the url. In your post/page type 
    41 [yr url="paste the url here" name="Optional display name of the place"]. Like this: 
     40Visit <a href="http://www.yr.no/">`yr.no`</a>, select your language and <em>search for the desired place</em>. Copy the url. In your post/page type 
     41`[yr url="paste the url here" name="Optional display name of the place"]`. Like this: 
    4242 
    43 * [yr url="http://www.yr.no/place/Norway/Oslo/Oslo/Oslo"] 
    44 * [yr url="http://www.yr.no/place/United_States/New_York/Times_Square~5141023" name="Times Square"] 
    45 * [yr name="Ao Nang" url="http://www.yr.no/sted/Thailand/Krabi/Ao_Nang"] 
     43* `[yr url="http://www.yr.no/place/Norway/Oslo/Oslo/Oslo"]` 
     44* `[yr url="http://www.yr.no/place/United_States/New_York/Times_Square~5141023" name="Times Square"]` 
     45* `[yr name="Ao Nang" url="http://www.yr.no/sted/Thailand/Krabi/Ao_Nang"]` 
    4646 
    4747= Other parameters to include in [yr] when needed: = 
     
    5454* `timeout` (max seconds to wait for yr.no, defaults to 10) 
    5555 
    56 Example: [yr url="http://www.yr.no/place/Norway/Akershus/B%C3%A6rum/Sandvika" links="1" table="0" maxage="2" banner="1"] 
     56Example: `[yr url="http://www.yr.no/place/Norway/Akershus/B%C3%A6rum/Sandvika" links="1" table="0" maxage="2" banner="1"]` 
    5757 
    5858The only necessary parameter is `url` (but defaults to Oslo). If `name` is omitted it defaults to the last part of the url, like Sandvika in the above example. 
     
    6060= Languages fully supported = 
    6161 
    62 * English [en_US] 
    63 * Norwegian (bokmål) [nb_NO] 
     62* English [`en_US`] 
     63* Norwegian (bokmål) [`nb_NO`] 
    6464 
    65 Other languages available on yr.no will work, somewhat mixed with English text 
     65Other languages available on `yr.no` will work, somewhat mixed with English text. 
    6666 
    6767= Caching = 
    6868 
    69 This plugin will create a subdirectory in the plugin folder named `cache` to store files between retrieves from yr.no 
     69This plugin will create a subdirectory in the plugin folder named `cache` to store files between retrieves from yr.no.  
    7070 
    7171== Screenshots == 
    7272 
    73 1. English text (shown when the url is retrieved from the English edition at yr.no) 
    74 2. Norsk tekst (vises nå url er funnet på den norske utgaven av yr.no) 
     731. English text (shown when the url is retrieved from the English edition at `yr.no`) 
     742. Norsk tekst (vises nå url er funnet på den norske utgaven av `yr.no`) 
    7575 
    7676== Changelog == 
     
    9090* Improved character set handling and conversion for UTF-8 versus ISO-8859-1. 
    9191* Added a non-breaking space between: 
    92     * rain value and mm unit 
    93     * wind value and m/s unit 
    94     * temeprature value and degrees unit sign 
     92    * rain value and `mm` unit 
     93    * wind value and `m/s` unit 
     94    * temeprature value and `&deg;C` unit sign 
    9595 
    9696= 1.0 = 
Note: See TracChangeset for help on using the changeset viewer.