大家有什么好的思路吗?我只需要在我的网页一个角落上显示天气预报就可以了!

解决方案 »

  1.   


    調用其它網站的webservice
      

  2.   

    调用WebService...多得是,google一下...google就有提供的...
      

  3.   


    示天气预报http://www.webxml.com.cn/zh_cn/web_services_item.aspx?id=494536374B66307964534D3D
      

  4.   

    调用其他  webservice 试试这个 直接放到页面里 就可以了
    <IFRAME border=0 name=play  marginWidth=0 marginHeight=0 src=http://www.7stk.com/1/6/weather.htm frameBorder=0 width=168 scrolling=no height=52></IFRAME>
      

  5.   

    网上提供好多iframe可嵌入网页!
    我可以使用webservice
    我有的是提供接口。
    反正很多。http://malaohu.pyteam.net/Example/Tianqi/Tianqi.aspx
      

  6.   

    要是想用的话,直接调用外部 的就好了
    比如这个网址
    http://www.tianqi123.com/
    http://www.tianqi123.com/
    就可以调用的
    如果是自己想学习的话
    可以参考一些开源项目。
      

  7.   

    http://www.google.com/ig/api?weather=beijing&hl=zh-cn
      

  8.   

    调用yahoo天气预报的api塞
    http://developer.yahoo.com/weather/
    这里有实例
    http://kb.cnblogs.com/page/42993/
      

  9.   

    调用其他  webservice 
    楼上已经有好多连接啦
      

  10.   

    还是直接放个IFRAME吧。
    <IFRAME border=0 name=play  marginWidth=0 marginHeight=0 src=http://www.7stk.com/1/6/weather.htm frameBorder=0 width=168 scrolling=no height=52> </IFRAME>网上那些天气预报的webservice,免费的基本上不能用或者不满意。收费的咱有不想给钱。
      

  11.   

    网上有免费的webservice,你可以下载下来调用。
      

  12.   

    http://www.webxml.com.cn/WebServices/WeatherWebService.asmx
    http://topic.csdn.net/u/20090109/11/86d790f6-1093-426b-ae48-92ccd98dcd15.html
      

  13.   

    调用其他  webservice 
      

  14.   

     <iframe src="http://weather.qq.com/inc/ss150.htm"   width="210"   height="225" frameborder="0"> 
        </iframe>
      

  15.   

    <iframe id="I1" border="0" frameborder="0" marginheight="0" marginwidth="0" name="I1"
                                                                scrolling="no" src="http://www.7stk.com/1/6/weather.htm" style="width: 187px;
                                                                height: 70px"></iframe>