UK Weather Observations plugin for WordPress
My UK Weather Observations plugin for WordPress displays recent local UK weather observations based on RSS feeds published by the BBC. I wrote the plugin for one of the other web sites that I look after, but because we English are obsessed with our weather, I thought that I would make it generally available under the GNU General Public License.
Features
- Displays local weather information, updated regularly during daylight hours;
- Weather information is sourced from the BBC;
- Weather information is updated automatically;
- Admin interface to select locality and customize settings;
- WordPress Widget enabled;
- Written specifically for WordPress 2.7;
- No PHP skills or file changes are required;
- And more!
Pricing and Licensing
The plugin is free! I have released it under the GNU General Public License so you can use it free of charge on your blog. You can also change (improve) it if you wish – if you do, please email the improvements to clive@clive-publishing.com so that I can consider them for incorporation into a future version.
Please note that the BBC impose some restrictions on the use of their feeds – see www.bbc.co.uk/weather/bbcweather/features/RSS_termsandconditions.shtml for more information.
Download
The plugin is kindly hosted by WordPress. The direct download link is:
uk-weather-observations.1.0.zip
Installation
Download the ‘UK Weather Observations’ .zip archive and extract the directory/files into your wp‑content/plugins/ directory. Then go to your WordPress administration page, click on Plugins and activate it. See the Plugins section of the WordPress Codex for more information.
You will then have a new sub-menu item called “UK Weather Observations” under the “Settings” menu. You can enter your BBC location code there. If you don’t enter a code, weather observations for Marazion, Cornwall (the home of Clive Publishing) will be displayed.
To find your BBC location code, go to www.bbc.co.uk/weather/5day.shtml and search for your nearest town or large village. If the search is successful, your BBC location code is the 4 digit number at the end of the URL. For example, if you search for ‘Marazion’, the search result URL is http://www.bbc.co.uk/weather/5day.shtml?id=3737 - the BBC location code is 3737. If the search is not successful, you are given the option of a post code search, which will give similar results, but does not always seem to choose the closest weather observation.
To display your weather information in a post or on a page simply type [ uk-wobs ] (no spaces) where you would like the information to appear.
If you would like to display the information in the sidebar you can use the plugin’s Widget.
If you wish to change the style of the information displayed, this can be done by making the relevant changes to your WordPress theme stylesheet; no changes to the code of the plugin are required.
Support
If you have comments, problems or suggestions or see something in the code which is not compliant with the WordPress Plugin Codex, please add a comment to this page, create a post at the WordPress support forum (tag it with “uk-weather-observations”) or send an email to clive@clive-publishing.com.
If you think you’ve found a bug, please send an email to clive@clive-publishing.com and I will do my best to fix it.
Donate
If you enjoy the plugin, you can thank me and leave a small donation for the time I’ve spent writing and supporting it.
Thank you for your support.
Supported by backstage.bbc.co.uk.





















Hi, Nice Post. Your post is unique and people certainly want to know more about internet marketing. Your post can benefit beginners.
Hi, I applaud your blog for informing people, its just sometimes people seem to get themselves tied up in unnecessary knots over something that’s very simple.
I’m trying to get this widget to work, but whatever location code I put in (and there seem to be a few for Edinburgh) all I’m getting is “No current observations available” even though the BBC site is displaying the weather for each of these locations.
Hi bandicoot,
Does it work if you do not put any location code in? If so, what location codes are you trying to use?
Cheers,
Clive
[...] displays recent local UK weather observations based on RSS feeds published by the BBC… …..read more Download Plugin! Plugin Owner: Authors: Clive Goodhead, Clive Publishing Homepage: Visit [...]
I too am having the problem of just getting “No current observations available”. Regardless of what code I use, or if I use no code.
I’d like to use code 2268.
I have tried using cets_EmbedRSS and taken the feed from… feeds.bbc.co.uk/weather/feeds/rss/obs/world/4275.xml
[cetsEmbedRSS id='feeds.bbc.co.uk/weather/feeds/rss/obs/world/4275.xml' itemcount='5' itemauthor='1' itemdate='1' itemcontent='1']
Which works in a post, but I’d like to get it in the sidebar.
Any ideas why it isn’t working?
D.
Hi David,
I’ve never used cets_EmbedRSS, but I have tested my plugin using code 2268 (Fochabers) and it works as expected in the sidebar.
Cheers,
Clive
Hello!
Very Interesting post! Thank you for such interesting resource!
PS: Sorry for my bad english, I’v just started to learn this language
See you!
Your, Raiul Baztepo
Hi !!
My name is Piter Kokoniz. oOnly want to tell, that I’v found your blog very interesting
And want to ask you: is this blog your hobby?
Sorry for my bad english:)
Thank you:)
Piter Kokoniz, from Latvia
Hi Piter,
Thank you for your interest in my blog.
I make some of my income from internet marketing and this blog helps me with that so it is more than a hobby.
Much of the code behind the UK Weather Observation plugin for WordPress was written as a hobby, but the final plugin I regarded as work.
Kind regards,
Clive
I’m new to this blog.
Thanks
I’ve been reading your post and found it interesting! Internet Marketing these days is spread almost everywhere in the IT world. I run a blog on Internet Marketing so I can use something from your blog as well.
Struggling to get this working on a site I’m working on, I have no idea what I’m doing wrong. I’ve tried it in the sidebar and within a post and I just get “No current observations available”.
The site url is http://www.lakelandbelvedere.com/
Tried it with and without a code, but to no avail
Can anyone who has managed to get it to work help?
If you install the plugin as instructed but get the output “No current observations available” it is likely that your PHP installation is blocking access to the BBC data. Recently identified causes of this include safe mode being on – solution is to turn it off – and allow_url_fopen set to Off – solution is to set it to On.
Leanda solved her problem by installing a local copy of php.ini with appropriate settings.
I enjoyed reading your post. Internet marketing is growing very fast in the IT industry. Internet marketing is now becoming a part-time business for many individuals.
Hi Clive
Having lots of trouble with the plugin, it’s now completely broken in WordPress 2.8. If I go to the settings and hit save the plugin displays the weather info for a little while and then shortly reverts to ‘No Observations Available’. Prior to 2.8 it was displaying the weather data, but I was having to again go into the plugin settings to manually refresh the feed.
The site url is http://www.lakelandbelvedere.com/
Any ideas? Might have to look at another way of displaying the weather info
Hi Leanda,
Sorry you could not get the plugin working. I have now checked it under WordPress 2.8 and it seems to work and I have had reports from others that it works too. I will be updating it soon so that it will use Curl if it is available, which will hopefully get around the ‘No observations available’ problem.
Cheers,
Clive
Hi Clive,
Thank you for taking the time to put this useful contribution together.
I seem to be having a few problems too with wordpress 2.8 compatability,
The feed doesnt seem to update everyday?
http://www.bedfordgardeners.org.uk
The codes on the bbc weather website seem to be different now, I can only get a 3 digit code for Bedford from the website source.
Any pointers would be great, thanks
Clive
The BBC uses a 3 digit code for Oxford, this does not work when I type that into the settings for this plugin.
Any ideas?
Do I have to leave it on and wait for an update on BBC end for the location to change in my sidebar?
Sorry its a 2 digit code for Oxford (25)
Hi Kev,
The BBC have changed the URL and the codes again. I have written an updated plugin which I am currently testing. When it is released (a couple of days I hope) the code for Oxford should be entered as ’0025′. The new plugin not only deals with the changes in URL and codes but also provides for the use of Curl to download BBC files which should fix many of the ‘No current observations available’ errors that people have been seeing.
In the meantime you should be able to use the old code ’2935′ with the existing plugin, but the observations seem to update only once per day.
Cheers,
Clive
Version 2.0 of the WordPress UK Weather Observations plugin has now been released. See the announcement and plugin page for more information.
Awesome post, didn’t thought reading this would be so cool when I saw your title!
Good dispatch and this fill someone in on helped me alot in my college assignement. Thanks you seeking your information.
Hey.
How Is the the weather forecast today?
introduces readers to various types of weather that occur during each season.
The text discusses typical activities and clothing for each type of weather.
Supportive illustrations accompany the text. You can find out here..
Bye
http://www.ile-maurice.com/forum/members/weather-today.html
Hey. Super site weather condition today
http://www.medicalschoolforum.com/forums/members/weather-today.html
I have found it on this website called tip swift. You can find it there.
cheers
edit: wrong thread,
Come on guys post some comments this is a good article! Where is everybody?
Good dispatch and this enter helped me alot in my college assignement. Thanks you seeking your information.
I am the kind of guy who passions to seek brand-new things. Presently I am manufacturing my private photovoltaic panels. I’m doing it all alone without the help of my men. I am using the net as the only way to acheive that. I came across a truly amazing website which explains how to build pv panels and so on. The internet site explains all the steps needed for solar panel construction.
I am not exactly sure bout how precise the data given there is. If some people over here who had experience with these things can have a see and give your feedback in the page it would be great and I would extremely value it, cauze I extremely take an interest in solar panel construction.
Thanks for reading this. U people are great.
well hey there guys, i’ve been looking all over the internet for a GOOD black hat SEO forum.. I was looking for some suggestions
from you guys to point me in the right direction.
Thanks a bunch, this place is great btw.
Your site was extremely interesting, especially since I was searching for thoughts on this subject last Thursday.
Hello. And Bye.
i truly love all your posting way, very useful,
don’t quit as well as keep writing mainly because it simply very well worth to read it,
looking forward to read a whole lot more of your current content articles, thankx
Hey, just want to say hi. I’m new here.
This is a great plugin… thanks a lot for sharing.
After reading you site, Your site is very useful for me .I bookmarked your site!
Saw your site bookmarked on Reddit.I love your site and marketing strategy.Your site is very useful for me .I bookmarked your site!
Saw your site bookmarked on Reddit.I love your site and marketing strategy.Your site is very useful for me .I bookmarked your site!
My Home account money
account money
After reading you site, Your site is very useful for me .I bookmarked your site!
I am been engaged 10 years on the finance personal software If you have some questions, please get in touch with me.
My Home finance personal software
Hey very nice blog!!….I’m an instant fan, I have bookmarked you and I’ll be checking back on a regular….See ya
hmmm…, nice plugin for uk users and uk related sites..,
Making money on the internet is easy in the hush-hush world of blackhat backlinks, It’s not a big surprise if you haven’t heard of it before. Blackhat marketing uses alternative or not-so-known avenues to generate an income online.
It isn’t hard at all to start making money online in the hush-hush world of blackhat software, You are far from alone if you haven’t heard of it before. Blackhat marketing uses little-known or misunderstood ways to generate an income online.
Interesting post you got here. I’d like to read something more about this theme. Thanks for posting that material.
Pretty interesting site you’ve got here. Thanx for it. I like such themes and everything connected to them. I would like to read more soon.
Truly yours
This blog is great. How did you come up witht he idea?
Thanks for letting us know about this. I appreciate your effort a lot.
I usually don’t usually post on many Blogs,but I love your blog, I often read here, still I just has to say thank you… keep up the amazing work.
Amiable post and this enter helped me alot in my college assignement. Thank you on your information.
Hello everybody !
I am Alvin.Adkins from St Louis.
I am 55.
I’m working in Customer
and i m very happy.
I’m married with 1 children.
My hobbies are :
- Fishing, hunting
- Cycling
I often come here to read some news, i find them very interesting.
Regards,
Hey very nice blog!!….I’m an instant fan, I have bookmarked you and I’ll be checking back on a regular….See ya
- existing franchises for sale
hello there, nice web site
the simple way to create blog posts who smash in your readers:
http://tinyurl.com/ygoucz2
I love coming here and reading about all the intresting things on this site everyday. There is nothing better than learning how to make money online and coming here really helps. Another place I go to that teaches me how to make money online through many different verticals like Blackhat seo , Blackhat, SEO , WhiteHat, Internet Marketing , affiliate marketing, blackhat money maker, the list goes on with this site but one thing for sure ever since the econmoy has gotten so bad and the recession has set in with out your site here and this site.
[URL=”http://www.moneymakerdiscussion.com/forum/” – BlackHatMoney[/URL – There is nothing better than learning how to make money online and coming here really helps. Another place I go to that teaches me how to make money online through many different verticals like Blackhat seo , Blackhat, SEO , WhiteHat, Internet Marketing , affiliate marketing, blackhat money maker, the list goes on with this site but one thing for sure ever since the econmoy has gotten so bad and the recession has set in with out your site here and this site. If your truly needing to make some extra cash these sites can help you better than any other online.
Nice fill someone in on and this post helped me alot in my college assignement. Thank you seeking your information.
Hello people!
I just wanted to say hi to everyone
Bye!
[URL=http://www.vpnmaster.com – [IMG – http://openvpn.net/archive/openvpn-users/2005-05/pngd55nFojmJX.png/IMG – [/URL -
Thanks a lot for the post!
Good share,you article very great, very usefull for us…thank you
It is extremely interesting for me to read that blog. Thanx for it. I like such themes and anything that is connected to them. I definitely want to read more soon. By the way, pretty nice design your site has, but what do you think about changing it once in a few months?
Kate Swift
paper towel holder
After reading you site, Your site is very useful for me .I bookmarked your site!
Good share,you article very great, very usefull for us…thank you
Nice Information.. Thx for sharing this
information
Thanks for making my morning a little bit better with this great article!!
Thanks for good information that comes out to
read.
Indeed nice article as for me. It would be great to read something more concerning this topic. Thanx for giving such material.
Charlotte RICHARDSON
rent to buy
Thank you for Posting & I got to read nice information on your site.
I bookmarked this link . Thank you for good job !
Really good sharing this.
One again, your articles is very good.thank you!very much.
One again, your article is very nice
very well
information you write it very clean. I’m very lucky to get this information from you.
Thanks for good news!
Nice post…Thank you for sharing some good things!!
great information you write it very clean. I’m very lucky to get
this details from you.
Artistically done is better than well said.
Splendidly done is well-advised b wealthier than comfortably said.
Lovingly done is well-advised b wealthier than extravagantly said.
When reading a few of your other posts I enjoyed them. I will bookmark the site and be back.
Post very nicely written, and it contains useful facts. I am happy to find your distinguished way of writing the post. Now you make it easy for me to understand and implement. Thanks for sharing with us.
thats perfect info! will share with my friends and keep it to use it in the future.
Have you considered the fact that this might work another way? I am wondering if anyone else has come across something
similar in the past? Let me know your thoughts…
Already been reading your blogposts for few days. Only want to drop a line to say I absolutely enjoy your blog. Thx!
helpful info! many thanks!
Hello, I enjoy your blog. This is a cool site and I wanted to post a comment to let you know, good job!
Best wishes,
Sue
Hello,
I have a inquiry for the webmaster/admin here at http://www.clive-publishing.com.
May I use some of the information from this post above if I provide a link back to your site?
Thanks,
Alex
Clive cheers for the plugin ..
hopefully I can get it to work, I am looking to put a welly weather watch on my site. the tool looks awesome in your sidebar here off to install and have a play around. Many thanks for your hard work with this … people seriously under estimate the sheer hard work that goes into coding up wordpress plugins.
Thanks again .. Wellie weather watch
Am i allowed to make a suggestion? I believe you have had something great here. However imagine if you also offered a couple links towards a site that backs up what you said? Or simply you might give us some extra information to look at, something that would certainly associate what exactly you are talking about, sth more concrete?
Always glad to follow a different website. Thank you for the input . Of course, apart from the content , the design of your site is really beautiful . Bravo .
Hey – great blog, just looking around some blogs, seems a really nice platform you are using. I’m currently using WordPress for a few of my blogs but looking to change one of them over to a platform similar to yours as a trial run. Anything in particular you would recommend about it?
Great site! I have enjoyed reading your posts. Take care
Always glad to read an original blog . Thanks for the input . Except for the content , the design of your blog looks really beautiful . Cheers.
Good stuff, thanks for posting. I was actually looking for something else and this site came up lol. Oh well, 2 minutes of my life gone! Totally worth it though!
I like your theme. Will be checking it out to see if I can use the same for my site. Very interesting site as well you have here.
Nice blog. I love the work you put into your site.
Hey man whats up with your rss feed
Useful post can i have your permision to translate into German for my blogs subscribers? Thanks
I found your blog on google. I think it’s pretty good.
I love your article. It is very good.
I have built a blog and I am trying to find a new template.Yours looks pretty decent! You could visit my website and tell me your opinion!
how are you!This was a really terrific Topics!
I come from itlay, I was fortunate to come cross your Topics in yahoo
Also I get much in your theme really thank your very much i will come later
Your website is great! This post really caught my eye when I was searching around. Thanks for sharing it.
Hello me and my husband real1y enj0y y0ur amazing website
Great publishing. I thought it was quite useful and am glad you spent the time to produce it. It would be excellent if everybody published just like this.
Thanks for sharing, I like this blog!
Can’t wait to come back. I’ve added this to feedburner so I can check out more.
Great stuff from you, man. Ive read your stuff before and youre just too awesome. I love what youve got here, love what youre saying and the way you say it. You make it entertaining and you still manage to keep it smart. I cant wait to read more from you. This is really a great blog.
This is my first time i visit here. I found so many information stuff in your blog, especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! Keep up the good work.
This is such a incredible resource that you’re providing and you give it away for free. I definitely seeing websites that understand the value of providing a top quality resource for free. It?s the old what goes around comes around routine. Did you acquired lots of links and I see lots of trackbacks??
I’m adding your blog’s rss feed so that i can see your new posts. Keep up the good work!
Superb website, I like how your page looks! The layout is amazing!…
I don’t usually comment but I gotta tell thanks for the post on this one : D
Hey, Great blog you have here. I found this post really interesting. Thanks
Amazingly webpage, I like how your website looks! The layout is amazing!…
Just wanted to say, it’s all good really.
Awesome blog. Maybe i can help you in writing fresh content, are you interested ?
Very Nice website. I just finished mine and i was looking for some design ideas and your website gave me some. The website was developed by you?
Thanks
What a good read. I have bookmarked your blog.
Excellent post this will really help me.
hi I was luck to discover your blog in google
your topic is fine
I learn much in your website really thank your very much
btw the theme of you website is really fabulous
where can find it
“Hey – awesome website. Just checking out some weblogs, seems a fairly nice platform you might be utilizing. I am presently utilizing WordPress for a few my weblogs but I am not pleased with it so far. I am wanting to change one of them more than to a system equivalent to yours (BlogEngine) like a trial run. Anything in specific you’d suggest about it?”
I have developed a blog and and i want to change the theme.Yours looks pretty decent! You could visit my website and tell me your opinion!
Hi, i think that i saw you visited my blog so i came to “return the favour”.I am trying to find things to improve my blog!Is it ok if i use some of the things i saw here?!
Ty for the read I enjoyed it.
I really like the layout of your site.
Greetings, I was just browsing some sites and I found your homepage from bing. I read a couple of your articles and think they are nicely written. Thanks, I’ll visit your homepage soon.
Just want to say your article is astounding. The clarity in your post is simply spectacular and i can assume you are an expert on this field. Well with your permission allow me to grab your rss feed to keep up to date with incoming post. Thanks a million and please keep up the fabulous work.
I have been reading a lot on here the topic UK Weather Observations plugin for WordPress | Clive's Internet Marketing blog inspired me, i have picked up some great ideas. Thanks and i hope to see more soon.
Hi!, I am visiting your site yet again to see more of your updates. I found this which I have thought about and simply had to comment a little thank you for all your effort. Please keep up the great work your doing!
Wow! Thank you! I constantly wanted to write on my site something like that. Can I implement a part of your post to my website?
Hey, what blog theme are you guys using? It looks perfect!
I know this is really boring and you are skipping to the next comment, but I just wanted to throw you a big thanks – you cleared up some things for me!
Great post, thanks! I really love it.
It is good too read your website again!, i see some interesting updates here..
Thank you very much for the great read, I am certain I will come back and visit this blog again some time.
Very interesting post! Keep writing buddy !!