WordPress.org

Ready to get started?Download WordPress

Plugin Directory

uk-tides

Tide heights and times for UK ports and harbours

uk-tides displays tide times and heights for a particular location in the UK. The information that is displayed is obtained from the RSS feed for tidetimes.org.uk (e.g. http://www.tidetimes.org.uk/chichester-harbour-entrance-tide-times.rss ). The data is cached until midnight. This plugin implements a lazy smart shortcode using the API provided by the oik plugin.

You implement this on your website using the [bw_tides] shortcode.

The syntax is:

[bw_tides tideurl="http://www.tidetimes.org.uk/chichester-harbour-entrance-tide-times.rss|other - RSS feed URL for location" store="1|store key - unique key for caching result"]

Examples: [bw_tides] with no parameters will display the tide times and heights for Chichester Harbour Entrance. The information will be cached in store=1 until midnight.

[bw_tides store=bw_tides_pompey tideurl="http://www.tidetimes.org.uk/portsmouth"] will display the tide times and heights obtained from http://www.tidetimes.org.uk/portsmouth-tide-times.rss and cache the result in a store named 'bw_tides_pompey'

Note: Using the store parameter allows you to display tide time and height information for more than one location.

Requires: 3.5 or higher
Compatible up to: 3.9.2
Last Updated: 2014-4-17
Downloads: 917

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

50,2,1
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1
100,1,1 100,1,1
100,1,1