Самопальный гаджет погоды
Gadget.xml
<?xml version="1.0" encoding="utf-8" ?>
<gadget>
<name>Погода в Москве</name>
<author>The Microsoft Scripting Guys</author>
<copyright>2006 Microsoft Corporation</copyright>
<description>Sample gadget that returns the name of the installed operating system.</description>
<icons>
<icon>icon.png</icon>
</icons>
<version value="1.0.0.0" MinPlatformVersion="0.1">
</version>
<sidebar>
<type>html</type>
<permissions>full</permissions>
<code>test.htm</code>
<website>www.microsoft.com/technet/scriptcenter</website>
</sidebar>
</gadget>
t;[/code]
Test.htm
[code]<html><meta http-equiv="Refresh" content="30"><head><title>Погода в Москве</title><style>
body{width:120;height:120"}
</style>
</head><a href="http://www.gismeteo.ru/towns/27612.htm"><img src="http://informer.gismeteo.ru/27612-7.GIF" border="0" /></a> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"></body></html>[/code]
Вопрос а <meta http-equiv="Refresh" content="30"> вообще работает? - что у меня есть подозрения что нет
ну кто нибудь, слепите уже этот гаджет, хочется погоду с гиметео получать, а не с забугорных серверов...
GunHunter, ну так подскажи чем заменить <meta http-equiv="Refresh" content="30"> можно тогда сделаю - с этом вся загвостка а так готовый код