Author: duncan
Date: Tue Sep 11 16:29:50 2007
New Revision: 9868

Log:
Added globalweather which is another soap service but only provides current 
information


Added:
   branches/rel-1/testing/Duncan/weather/globalweather/
   branches/rel-1/testing/Duncan/weather/globalweather/GlobalWeather_client.py
   branches/rel-1/testing/Duncan/weather/globalweather/GlobalWeather_server.py
   branches/rel-1/testing/Duncan/weather/globalweather/GlobalWeather_types.py
   branches/rel-1/testing/Duncan/weather/globalweather/globalweather.py   
(contents, props changed)
   branches/rel-1/testing/Duncan/weather/globalweather/globalweather.wsdl
   branches/rel-1/testing/Duncan/weather/yahoo/[EMAIL PROTECTED]
   branches/rel-1/testing/Duncan/weather/yahoo/[EMAIL PROTECTED]
Modified:
   branches/rel-1/testing/Duncan/weather/1click/parse.py

Modified: branches/rel-1/testing/Duncan/weather/1click/parse.py
==============================================================================
--- branches/rel-1/testing/Duncan/weather/1click/parse.py       (original)
+++ branches/rel-1/testing/Duncan/weather/1click/parse.py       Tue Sep 11 
16:29:50 2007
@@ -74,6 +74,14 @@
         for child in parent:
             yield parent, child
 
+import time
+lsup = '9/11/07 7:20 AM Local Time'
+value = lsup.replace(' Local Time', '')
+updatedat = time.strptime(value, "%m/%d/%y %H:%M %p")
+updatedatf = time.mktime(updatedat)
+print time.strftime("%c %Z", time.localtime(updatedatf))
+print time.strftime("%c %Z", time.gmtime(updatedatf))
+
 #for parent, child in iterparent(tree):
 #    #print './%s/%s' % (parent.tag, child.tag), 't:%r' % child.text, 'i:', 
child.items()
 

Added: 
branches/rel-1/testing/Duncan/weather/globalweather/GlobalWeather_client.py
==============================================================================
--- (empty file)
+++ branches/rel-1/testing/Duncan/weather/globalweather/GlobalWeather_client.py 
Tue Sep 11 16:29:50 2007
@@ -0,0 +1,59 @@
+##################################################
+# file: GlobalWeather_client.py
+# 
+# client stubs generated by "ZSI.generate.wsdl2python.WriteServiceModule"
+#     /usr/bin/wsdl2py --simple-naming globalweather.wsdl
+# 
+##################################################
+
+from GlobalWeather_types import *
+import urlparse, types
+from ZSI.TCcompound import ComplexType, Struct
+from ZSI import client
+from ZSI.schema import GED, GTD
+import ZSI
+
+# Locator
+class GlobalWeatherLocator:
+    GlobalWeatherSoap_address = "http://www.webservicex.net/globalweather.asmx";
+    def getGlobalWeatherSoapAddress(self):
+        return GlobalWeatherLocator.GlobalWeatherSoap_address
+    def getGlobalWeatherSoap(self, url=None, **kw):
+        return GlobalWeatherSoapSOAP(url or 
GlobalWeatherLocator.GlobalWeatherSoap_address, **kw)
+
+# Methods
+class GlobalWeatherSoapSOAP:
+    def __init__(self, url, **kw):
+        kw.setdefault("readerclass", None)
+        kw.setdefault("writerclass", None)
+        # no resource properties
+        self.binding = client.Binding(url=url, **kw)
+        # no ws-addressing
+
+    # op: GetWeather
+    def GetWeather(self, request, **kw):
+        if isinstance(request, GetWeatherSoapIn) is False:
+            raise TypeError, "%s incorrect request type" % (request.__class__)
+        # no input wsaction
+        self.binding.Send(None, None, request, 
soapaction="http://www.webserviceX.NET/GetWeather";, **kw)
+        # no output wsaction
+        response = self.binding.Receive(GetWeatherSoapOut.typecode)
+        return response
+
+    # op: GetCitiesByCountry
+    def GetCitiesByCountry(self, request, **kw):
+        if isinstance(request, GetCitiesByCountrySoapIn) is False:
+            raise TypeError, "%s incorrect request type" % (request.__class__)
+        # no input wsaction
+        self.binding.Send(None, None, request, 
soapaction="http://www.webserviceX.NET/GetCitiesByCountry";, **kw)
+        # no output wsaction
+        response = self.binding.Receive(GetCitiesByCountrySoapOut.typecode)
+        return response
+
+GetWeatherSoapIn = GED("http://www.webserviceX.NET";, "GetWeather").pyclass
+
+GetWeatherSoapOut = GED("http://www.webserviceX.NET";, 
"GetWeatherResponse").pyclass
+
+GetCitiesByCountrySoapIn = GED("http://www.webserviceX.NET";, 
"GetCitiesByCountry").pyclass
+
+GetCitiesByCountrySoapOut = GED("http://www.webserviceX.NET";, 
"GetCitiesByCountryResponse").pyclass

Added: 
branches/rel-1/testing/Duncan/weather/globalweather/GlobalWeather_server.py
==============================================================================
--- (empty file)
+++ branches/rel-1/testing/Duncan/weather/globalweather/GlobalWeather_server.py 
Tue Sep 11 16:29:50 2007
@@ -0,0 +1,45 @@
+##################################################
+# file: GlobalWeather_server.py
+#
+# skeleton generated by "ZSI.generate.wsdl2dispatch.ServiceModuleWriter"
+#      /usr/bin/wsdl2py --simple-naming globalweather.wsdl
+#
+##################################################
+
+from ZSI.schema import GED, GTD
+from ZSI.TCcompound import ComplexType, Struct
+from GlobalWeather_types import *
+from ZSI.ServiceContainer import ServiceSOAPBinding
+
+# Messages  
+GetWeatherSoapIn = GED("http://www.webserviceX.NET";, "GetWeather").pyclass
+
+GetWeatherSoapOut = GED("http://www.webserviceX.NET";, 
"GetWeatherResponse").pyclass
+
+GetCitiesByCountrySoapIn = GED("http://www.webserviceX.NET";, 
"GetCitiesByCountry").pyclass
+
+GetCitiesByCountrySoapOut = GED("http://www.webserviceX.NET";, 
"GetCitiesByCountryResponse").pyclass
+
+
+# Service Skeletons
+class GlobalWeather(ServiceSOAPBinding):
+    soapAction = {}
+    root = {}
+
+    def __init__(self, post='/globalweather.asmx', **kw):
+        ServiceSOAPBinding.__init__(self, post)
+
+    def soap_GetWeather(self, ps, **kw):
+        request = ps.Parse(GetWeatherSoapIn.typecode)
+        return request,GetWeatherSoapOut()
+
+    soapAction['http://www.webserviceX.NET/GetWeather'] = 'soap_GetWeather'
+    root[(GetWeatherSoapIn.typecode.nspname,GetWeatherSoapIn.typecode.pname)] 
= 'soap_GetWeather'
+
+    def soap_GetCitiesByCountry(self, ps, **kw):
+        request = ps.Parse(GetCitiesByCountrySoapIn.typecode)
+        return request,GetCitiesByCountrySoapOut()
+
+    soapAction['http://www.webserviceX.NET/GetCitiesByCountry'] = 
'soap_GetCitiesByCountry'
+    
root[(GetCitiesByCountrySoapIn.typecode.nspname,GetCitiesByCountrySoapIn.typecode.pname)]
 = 'soap_GetCitiesByCountry'
+

Added: 
branches/rel-1/testing/Duncan/weather/globalweather/GlobalWeather_types.py
==============================================================================
--- (empty file)
+++ branches/rel-1/testing/Duncan/weather/globalweather/GlobalWeather_types.py  
Tue Sep 11 16:29:50 2007
@@ -0,0 +1,109 @@
+##################################################
+# file: GlobalWeather_types.py
+#
+# schema types generated by "ZSI.generate.wsdl2python.WriteServiceModule"
+#    /usr/bin/wsdl2py --simple-naming globalweather.wsdl
+#
+##################################################
+
+import ZSI
+import ZSI.TCcompound
+from ZSI.schema import LocalElementDeclaration, ElementDeclaration, 
TypeDefinition, GTD, GED
+
+##############################
+# targetNamespace
+# http://www.webserviceX.NET
+##############################
+
+class www_webserviceX_NET:
+    targetNamespace = "http://www.webserviceX.NET";
+
+    class GetWeather(ZSI.TCcompound.ComplexType, ElementDeclaration):
+        literal = "GetWeather"
+        schema = "http://www.webserviceX.NET";
+        def __init__(self, **kw):
+            ns = www_webserviceX_NET.GetWeather.schema
+            TClist = [ZSI.TC.String(pname=(ns,"CityName"), aname="CityName", 
minOccurs=0, maxOccurs=1, nillable=False, typed=False, 
encoded=kw.get("encoded")), ZSI.TC.String(pname=(ns,"CountryName"), 
aname="CountryName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, 
encoded=kw.get("encoded"))]
+            kw["pname"] = ("http://www.webserviceX.NET","GetWeather";)
+            kw["aname"] = "GetWeather"
+            self.attribute_typecode_dict = {}
+            
ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
+            class Holder:
+                typecode = self
+                def __init__(self):
+                    # pyclass
+                    self.CityName = None
+                    self.CountryName = None
+                    return
+            Holder.__name__ = "GetWeather_Holder"
+            self.pyclass = Holder
+
+    class GetWeatherResponse(ZSI.TCcompound.ComplexType, ElementDeclaration):
+        literal = "GetWeatherResponse"
+        schema = "http://www.webserviceX.NET";
+        def __init__(self, **kw):
+            ns = www_webserviceX_NET.GetWeatherResponse.schema
+            TClist = [ZSI.TC.String(pname=(ns,"GetWeatherResult"), 
aname="GetWeatherResult", minOccurs=0, maxOccurs=1, nillable=False, 
typed=False, encoded=kw.get("encoded"))]
+            kw["pname"] = ("http://www.webserviceX.NET","GetWeatherResponse";)
+            kw["aname"] = "GetWeatherResponse"
+            self.attribute_typecode_dict = {}
+            
ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
+            class Holder:
+                typecode = self
+                def __init__(self):
+                    # pyclass
+                    self.GetWeatherResult = None
+                    return
+            Holder.__name__ = "GetWeatherResponse_Holder"
+            self.pyclass = Holder
+
+    class GetCitiesByCountry(ZSI.TCcompound.ComplexType, ElementDeclaration):
+        literal = "GetCitiesByCountry"
+        schema = "http://www.webserviceX.NET";
+        def __init__(self, **kw):
+            ns = www_webserviceX_NET.GetCitiesByCountry.schema
+            TClist = [ZSI.TC.String(pname=(ns,"CountryName"), 
aname="CountryName", minOccurs=0, maxOccurs=1, nillable=False, typed=False, 
encoded=kw.get("encoded"))]
+            kw["pname"] = ("http://www.webserviceX.NET","GetCitiesByCountry";)
+            kw["aname"] = "GetCitiesByCountry"
+            self.attribute_typecode_dict = {}
+            
ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
+            class Holder:
+                typecode = self
+                def __init__(self):
+                    # pyclass
+                    self.CountryName = None
+                    return
+            Holder.__name__ = "GetCitiesByCountry_Holder"
+            self.pyclass = Holder
+
+    class GetCitiesByCountryResponse(ZSI.TCcompound.ComplexType, 
ElementDeclaration):
+        literal = "GetCitiesByCountryResponse"
+        schema = "http://www.webserviceX.NET";
+        def __init__(self, **kw):
+            ns = www_webserviceX_NET.GetCitiesByCountryResponse.schema
+            TClist = [ZSI.TC.String(pname=(ns,"GetCitiesByCountryResult"), 
aname="GetCitiesByCountryResult", minOccurs=0, maxOccurs=1, nillable=False, 
typed=False, encoded=kw.get("encoded"))]
+            kw["pname"] = 
("http://www.webserviceX.NET","GetCitiesByCountryResponse";)
+            kw["aname"] = "GetCitiesByCountryResponse"
+            self.attribute_typecode_dict = {}
+            
ZSI.TCcompound.ComplexType.__init__(self,None,TClist,inorder=0,**kw)
+            class Holder:
+                typecode = self
+                def __init__(self):
+                    # pyclass
+                    self.GetCitiesByCountryResult = None
+                    return
+            Holder.__name__ = "GetCitiesByCountryResponse_Holder"
+            self.pyclass = Holder
+
+    class string(ZSI.TC.String, ElementDeclaration):
+        literal = "string"
+        schema = "http://www.webserviceX.NET";
+        def __init__(self, **kw):
+            kw["pname"] = ("http://www.webserviceX.NET","string";)
+            kw["aname"] = "string"
+            class IHolder(str): typecode=self
+            kw["pyclass"] = IHolder
+            IHolder.__name__ = "string_immutable_holder"
+            ZSI.TC.String.__init__(self, **kw)
+
+# end class www_webserviceX_NET (tns: http://www.webserviceX.NET)

Added: branches/rel-1/testing/Duncan/weather/globalweather/globalweather.py
==============================================================================
--- (empty file)
+++ branches/rel-1/testing/Duncan/weather/globalweather/globalweather.py        
Tue Sep 11 16:29:50 2007
@@ -0,0 +1,28 @@
+#!/usr/bin/env python
+
+from GlobalWeather_client import *
+
+# get a port proxy instance
+loc = GlobalWeatherLocator()
+port = loc.getGlobalWeatherSoap()
+
+# create a new request
+req = GetCitiesByCountrySoapIn()
+req.CountryName = 'Switzerland'
+
+# call the remote method
+resp = port.GetCitiesByCountry(req)
+
+# print results
+print resp.GetCitiesByCountryResult
+
+# create a new request
+req = GetWeatherSoapIn()
+req.CountryName = 'Switzerland'
+req.CityName = 'Zurich-Kloten'
+
+# call the remote method
+resp = port.GetWeather(req)
+
+# print results
+print resp.GetWeatherResult

Added: branches/rel-1/testing/Duncan/weather/globalweather/globalweather.wsdl
==============================================================================
--- (empty file)
+++ branches/rel-1/testing/Duncan/weather/globalweather/globalweather.wsdl      
Tue Sep 11 16:29:50 2007
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="utf-8"?>
+<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; 
xmlns:s="http://www.w3.org/2001/XMLSchema"; 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:tns="http://www.webserviceX.NET"; 
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"; 
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; 
targetNamespace="http://www.webserviceX.NET"; 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
+  <wsdl:types>
+    <s:schema elementFormDefault="qualified" 
targetNamespace="http://www.webserviceX.NET";>
+      <s:element name="GetWeather">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="CityName" 
type="s:string" />
+            <s:element minOccurs="0" maxOccurs="1" name="CountryName" 
type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetWeatherResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="GetWeatherResult" 
type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetCitiesByCountry">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" name="CountryName" 
type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="GetCitiesByCountryResponse">
+        <s:complexType>
+          <s:sequence>
+            <s:element minOccurs="0" maxOccurs="1" 
name="GetCitiesByCountryResult" type="s:string" />
+          </s:sequence>
+        </s:complexType>
+      </s:element>
+      <s:element name="string" nillable="true" type="s:string" />
+    </s:schema>
+  </wsdl:types>
+  <wsdl:message name="GetWeatherSoapIn">
+    <wsdl:part name="parameters" element="tns:GetWeather" />
+  </wsdl:message>
+  <wsdl:message name="GetWeatherSoapOut">
+    <wsdl:part name="parameters" element="tns:GetWeatherResponse" />
+  </wsdl:message>
+  <wsdl:message name="GetCitiesByCountrySoapIn">
+    <wsdl:part name="parameters" element="tns:GetCitiesByCountry" />
+  </wsdl:message>
+  <wsdl:message name="GetCitiesByCountrySoapOut">
+    <wsdl:part name="parameters" element="tns:GetCitiesByCountryResponse" />
+  </wsdl:message>
+  <wsdl:message name="GetWeatherHttpGetIn">
+    <wsdl:part name="CityName" type="s:string" />
+    <wsdl:part name="CountryName" type="s:string" />
+  </wsdl:message>
+  <wsdl:message name="GetWeatherHttpGetOut">
+    <wsdl:part name="Body" element="tns:string" />
+  </wsdl:message>
+  <wsdl:message name="GetCitiesByCountryHttpGetIn">
+    <wsdl:part name="CountryName" type="s:string" />
+  </wsdl:message>
+  <wsdl:message name="GetCitiesByCountryHttpGetOut">
+    <wsdl:part name="Body" element="tns:string" />
+  </wsdl:message>
+  <wsdl:message name="GetWeatherHttpPostIn">
+    <wsdl:part name="CityName" type="s:string" />
+    <wsdl:part name="CountryName" type="s:string" />
+  </wsdl:message>
+  <wsdl:message name="GetWeatherHttpPostOut">
+    <wsdl:part name="Body" element="tns:string" />
+  </wsdl:message>
+  <wsdl:message name="GetCitiesByCountryHttpPostIn">
+    <wsdl:part name="CountryName" type="s:string" />
+  </wsdl:message>
+  <wsdl:message name="GetCitiesByCountryHttpPostOut">
+    <wsdl:part name="Body" element="tns:string" />
+  </wsdl:message>
+  <wsdl:portType name="GlobalWeatherSoap">
+    <wsdl:operation name="GetWeather">
+      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Get weather 
report for all major cities around the world.</documentation>
+      <wsdl:input message="tns:GetWeatherSoapIn" />
+      <wsdl:output message="tns:GetWeatherSoapOut" />
+    </wsdl:operation>
+    <wsdl:operation name="GetCitiesByCountry">
+      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Get all major 
cities by country name(full / part).</documentation>
+      <wsdl:input message="tns:GetCitiesByCountrySoapIn" />
+      <wsdl:output message="tns:GetCitiesByCountrySoapOut" />
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:portType name="GlobalWeatherHttpGet">
+    <wsdl:operation name="GetWeather">
+      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Get weather 
report for all major cities around the world.</documentation>
+      <wsdl:input message="tns:GetWeatherHttpGetIn" />
+      <wsdl:output message="tns:GetWeatherHttpGetOut" />
+    </wsdl:operation>
+    <wsdl:operation name="GetCitiesByCountry">
+      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Get all major 
cities by country name(full / part).</documentation>
+      <wsdl:input message="tns:GetCitiesByCountryHttpGetIn" />
+      <wsdl:output message="tns:GetCitiesByCountryHttpGetOut" />
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:portType name="GlobalWeatherHttpPost">
+    <wsdl:operation name="GetWeather">
+      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Get weather 
report for all major cities around the world.</documentation>
+      <wsdl:input message="tns:GetWeatherHttpPostIn" />
+      <wsdl:output message="tns:GetWeatherHttpPostOut" />
+    </wsdl:operation>
+    <wsdl:operation name="GetCitiesByCountry">
+      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/";>Get all major 
cities by country name(full / part).</documentation>
+      <wsdl:input message="tns:GetCitiesByCountryHttpPostIn" />
+      <wsdl:output message="tns:GetCitiesByCountryHttpPostOut" />
+    </wsdl:operation>
+  </wsdl:portType>
+  <wsdl:binding name="GlobalWeatherSoap" type="tns:GlobalWeatherSoap">
+    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; 
style="document" />
+    <wsdl:operation name="GetWeather">
+      <soap:operation soapAction="http://www.webserviceX.NET/GetWeather"; 
style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetCitiesByCountry">
+      <soap:operation 
soapAction="http://www.webserviceX.NET/GetCitiesByCountry"; style="document" />
+      <wsdl:input>
+        <soap:body use="literal" />
+      </wsdl:input>
+      <wsdl:output>
+        <soap:body use="literal" />
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:binding name="GlobalWeatherHttpGet" type="tns:GlobalWeatherHttpGet">
+    <http:binding verb="GET" />
+    <wsdl:operation name="GetWeather">
+      <http:operation location="/GetWeather" />
+      <wsdl:input>
+        <http:urlEncoded />
+      </wsdl:input>
+      <wsdl:output>
+        <mime:mimeXml part="Body" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetCitiesByCountry">
+      <http:operation location="/GetCitiesByCountry" />
+      <wsdl:input>
+        <http:urlEncoded />
+      </wsdl:input>
+      <wsdl:output>
+        <mime:mimeXml part="Body" />
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:binding name="GlobalWeatherHttpPost" type="tns:GlobalWeatherHttpPost">
+    <http:binding verb="POST" />
+    <wsdl:operation name="GetWeather">
+      <http:operation location="/GetWeather" />
+      <wsdl:input>
+        <mime:content type="application/x-www-form-urlencoded" />
+      </wsdl:input>
+      <wsdl:output>
+        <mime:mimeXml part="Body" />
+      </wsdl:output>
+    </wsdl:operation>
+    <wsdl:operation name="GetCitiesByCountry">
+      <http:operation location="/GetCitiesByCountry" />
+      <wsdl:input>
+        <mime:content type="application/x-www-form-urlencoded" />
+      </wsdl:input>
+      <wsdl:output>
+        <mime:mimeXml part="Body" />
+      </wsdl:output>
+    </wsdl:operation>
+  </wsdl:binding>
+  <wsdl:service name="GlobalWeather">
+    <wsdl:port name="GlobalWeatherSoap" binding="tns:GlobalWeatherSoap">
+      <soap:address location="http://www.webservicex.net/globalweather.asmx"; />
+    </wsdl:port>
+    <wsdl:port name="GlobalWeatherHttpGet" binding="tns:GlobalWeatherHttpGet">
+      <http:address location="http://www.webservicex.net/globalweather.asmx"; />
+    </wsdl:port>
+    <wsdl:port name="GlobalWeatherHttpPost" 
binding="tns:GlobalWeatherHttpPost">
+      <http:address location="http://www.webservicex.net/globalweather.asmx"; />
+    </wsdl:port>
+  </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

Added: branches/rel-1/testing/Duncan/weather/yahoo/[EMAIL PROTECTED]
==============================================================================
--- (empty file)
+++ branches/rel-1/testing/Duncan/weather/yahoo/[EMAIL PROTECTED]       Tue Sep 
11 16:29:50 2007
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<rss version="2.0" xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0"; 
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#";>
+ <channel>
+ <title>Yahoo! Weather - Zurich, SZ</title>
+ 
<link>http://us.rd.yahoo.com/dailynews/rss/weather/Zurich__SZ/*http://weather.yahoo.com/forecast/SZXX0033_c.html</link>
+ <description>Yahoo! Weather for Zurich, SZ</description>
+ <language>en-us</language>
+ <lastBuildDate>Mon, 10 Sep 2007 2:50 pm CEST</lastBuildDate>
+ <ttl>60</ttl>
+ <yweather:location city="Zurich" region="" country="SZ" />
+ <yweather:units temperature="C" distance="km" pressure="mb" speed="kph" />
+ <yweather:wind chill="18" direction="290" speed="23" />
+ <yweather:atmosphere humidity="59" visibility="999" pressure="0" rising="0" />
+  <yweather:astronomy sunrise="6:56 am" sunset="7:49 pm" />
+  <image>
+ <title>Yahoo! Weather</title>
+ <width>142</width>
+ <height>18</height>
+ <link>http://weather.yahoo.com/</link>
+ <url>http://l.yimg.com/us.yimg.com/i/us/nws/th/main_142b.gif</url>
+ </image>
+ <item>
+ <title>Conditions for Zurich, SZ at 2:50 pm CEST</title>
+  <geo:lat>47.38</geo:lat>
+ <geo:long>8.54</geo:long>
+  
<link>http://us.rd.yahoo.com/dailynews/rss/weather/Zurich__SZ/*http://weather.yahoo.com/forecast/SZXX0033_c.html</link>
+ <pubDate>Mon, 10 Sep 2007 2:50 pm CEST</pubDate>
+ <yweather:condition text="Mostly Cloudy" code="28" temp="18" date="Mon, 10 
Sep 2007 2:50 pm CEST" />
+ <description><![CDATA[
+<img src="http://l.yimg.com/us.yimg.com/i/us/we/52/28.gif"; /><br />
+ <b>Current Conditions:</b><br />
+ Mostly Cloudy, 18 C<BR /><BR />
+ <b>Forecast:</b><BR />
+  Mon - Showers Late. High: 20 Low: 8<br />
+  Tue - AM Fog/PM Clouds. High: 16 Low: 6<br />
+ <br />
+<a 
href="http://us.rd.yahoo.com/dailynews/rss/weather/Zurich__SZ/*http://weather.yahoo.com/forecast/SZXX0033_c.html";>Full
 Forecast at Yahoo! Weather</a><BR/>
+ (provided by The Weather Channel)<br/>
+ ]]></description>
+ <yweather:forecast day="Mon" date="10 Sep 2007" low="8" high="20" 
text="Showers Late" code="45" />
+<yweather:forecast day="Tue" date="11 Sep 2007" low="6" high="16" text="AM 
Fog/PM Clouds" code="20" />
+  <guid isPermaLink="false">SZXX0033_2007_09_10_14_50_CEST</guid>
+ </item>
+</channel>
+</rss><!-- p6.weather.re3.yahoo.com uncompressed Mon Sep 10 06:23:13 PDT 2007 
-->

Added: branches/rel-1/testing/Duncan/weather/yahoo/[EMAIL PROTECTED]
==============================================================================
--- (empty file)
+++ branches/rel-1/testing/Duncan/weather/yahoo/[EMAIL PROTECTED]       Tue Sep 
11 16:29:50 2007
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<rss version="2.0" xmlns:yweather="http://xml.weather.yahoo.com/ns/rss/1.0"; 
xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#";>
+ <channel>
+ <title>Yahoo! Weather - Zurich, SZ</title>
+ 
<link>http://us.rd.yahoo.com/dailynews/rss/weather/Zurich__SZ/*http://weather.yahoo.com/forecast/SZXX0033_f.html</link>
+ <description>Yahoo! Weather for Zurich, SZ</description>
+ <language>en-us</language>
+ <lastBuildDate>Mon, 10 Sep 2007 2:50 pm CEST</lastBuildDate>
+ <ttl>60</ttl>
+ <yweather:location city="Zurich" region="" country="SZ" />
+ <yweather:units temperature="F" distance="mi" pressure="in" speed="mph" />
+ <yweather:wind chill="64" direction="290" speed="14" />
+ <yweather:atmosphere humidity="59" visibility="999" pressure="30.03" 
rising="0" />
+  <yweather:astronomy sunrise="6:56 am" sunset="7:49 pm" />
+  <image>
+ <title>Yahoo! Weather</title>
+ <width>142</width>
+ <height>18</height>
+ <link>http://weather.yahoo.com/</link>
+ <url>http://l.yimg.com/us.yimg.com/i/us/nws/th/main_142b.gif</url>
+ </image>
+ <item>
+ <title>Conditions for Zurich, SZ at 2:50 pm CEST</title>
+  <geo:lat>47.38</geo:lat>
+ <geo:long>8.54</geo:long>
+  
<link>http://us.rd.yahoo.com/dailynews/rss/weather/Zurich__SZ/*http://weather.yahoo.com/forecast/SZXX0033_f.html</link>
+ <pubDate>Mon, 10 Sep 2007 2:50 pm CEST</pubDate>
+ <yweather:condition text="Mostly Cloudy" code="28" temp="64" date="Mon, 10 
Sep 2007 2:50 pm CEST" />
+ <description><![CDATA[
+<img src="http://l.yimg.com/us.yimg.com/i/us/we/52/28.gif"; /><br />
+ <b>Current Conditions:</b><br />
+ Mostly Cloudy, 64 F<BR /><BR />
+ <b>Forecast:</b><BR />
+  Mon - Showers Late. High: 69 Low: 48<br />
+  Tue - AM Fog/PM Clouds. High: 61 Low: 44<br />
+ <br />
+<a 
href="http://us.rd.yahoo.com/dailynews/rss/weather/Zurich__SZ/*http://weather.yahoo.com/forecast/SZXX0033_f.html";>Full
 Forecast at Yahoo! Weather</a><BR/>
+ (provided by The Weather Channel)<br/>
+ ]]></description>
+ <yweather:forecast day="Mon" date="10 Sep 2007" low="48" high="69" 
text="Showers Late" code="45" />
+<yweather:forecast day="Tue" date="11 Sep 2007" low="44" high="61" text="AM 
Fog/PM Clouds" code="20" />
+  <guid isPermaLink="false">SZXX0033_2007_09_10_14_50_CEST</guid>
+ </item>
+</channel>
+</rss><!-- p4.weather.dcn.yahoo.com uncompressed Mon Sep 10 06:27:29 PDT 2007 
-->

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to