Weather

Forum to ask for any help
Post Reply
dansonamission
Posts: 37
Joined: Mon Jul 16, 2012 3:35 pm
Location: UK
Contact:

Weather

Post by dansonamission » Fri Aug 31, 2012 11:48 pm

Does any know a way of displaying the current weather for a set location in demo pad??

Ive guessed its probably simple to do it with a web page, but its knowing which webpage use!

Thanks

dansonamission
Posts: 37
Joined: Mon Jul 16, 2012 3:35 pm
Location: UK
Contact:

Re: Weather

Post by dansonamission » Sat Sep 01, 2012 1:22 am

After trying about 100 web widgets I came across this great site!

http://www.weather-wherever.co.uk/widget/

Works a treat. If you make your web views height slightly smaller than the size it gives you, it will remove the small piece of text at the bottom of it.

symmoelectric
Posts: 4
Joined: Tue Aug 28, 2012 7:49 am

Re: Weather

Post by symmoelectric » Tue Sep 25, 2012 8:43 am

What part of code are you coping over on this? I'm struggling to get this working very well...

dansonamission
Posts: 37
Joined: Mon Jul 16, 2012 3:35 pm
Location: UK
Contact:

Re: Weather

Post by dansonamission » Tue Sep 25, 2012 11:04 am

You need to create a HTML file and host it on a website some where. The code is then copied into that HTML file.

How far have you got?

dansonamission
Posts: 37
Joined: Mon Jul 16, 2012 3:35 pm
Location: UK
Contact:

Re: Weather

Post by dansonamission » Tue Sep 25, 2012 11:16 am

This is the only code in one of my HTML files which is hosted on my server at home.

I created a blank image (png, jpg etc) of the size of the webview area needed. Drew a webview on the page, selected it along with the blank image and used the image resize toolbar to make them the same size. The blank image can now be deleted. Edit the webview properties to point to the html file where ever it might be hosted and your done.

If you need any more info, give me a shout.

The file is also attached.

Code: Select all

<style type="text/css">
body {
	background-color: #000;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
</style>
<div id="cont_MTEyMDd8NXwzfDR8MXxGRkZGRkZ8NnxGRkZGRkZ8Y3wx"><div id="spa_MTEyMDd8NXwzfDR8MXxGRkZGRkZ8NnxGRkZGRkZ8Y3wx"><a id="a_MTEyMDd8NXwzfDR8MXxGRkZGRkZ8NnxGRkZGRkZ8Y3wx" href="http://www.weather-wherever.co.uk/united-kingdom/london_v11207/" target="_blank" style="color:#000;text-decoration:none;">London Weather forecast</a></div><script type="text/javascript" src="http://widget.weather-wherever.co.uk/js/MTEyMDd8NXwzfDR8MXxGRkZGRkZ8NnxGRkZGRkZ8Y3wx"></script></div>
You do not have the required permissions to view the files attached to this post.

symmoelectric
Posts: 4
Joined: Tue Aug 28, 2012 7:49 am

Re: Weather

Post by symmoelectric » Tue Sep 25, 2012 11:45 am

Cheers peeps!!

Gotcha!! Spot on. Doesn't look too bad either....

Thanks for your help!

Post Reply