| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 545 人关注过本帖
标题:高手来~共同探讨~
只看楼主 加入收藏
wlzn1989
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2011-8-19
结帖率:0
收藏
已结贴  问题点数:0 回复次数:3 
高手来~共同探讨~
这是一段天气软件的代码,怎样修改才能把天气源改成www.???小弟刚研究,万望高手帮忙,焦头烂额了。。。先谢谢大家了!!!!!!!// Use to find your weathercode
// For example searching for London, UK will get you this URL
// http://www.
// The last part UKXX0085 is the weathercode to use
var locale = "CHXX0313" //Zipcode, Postalcode, or Weathercode
var isCelsius = true //true or false
var useRealFeel = false
var updateInterval = 120  //Minutes
var showForecast = true
// If you would rather use your own Lockscreen Background
// set showBackground to true and overwrite the included
// LockBackground.png file
var showBackground = true
var showWeatherAni = true
搜索更多相关主题的帖子: 软件 怎样 searching example 天气 
2011-08-19 18:48
外部三电铃
Rank: 16Rank: 16Rank: 16Rank: 16
来 自:那一年
等 级:贵宾
威 望:57
帖 子:2012
专家分:7306
注 册:2007-12-17
收藏
得分:10 
这一小段代码说明不了任何问题,还是从整体上研究吧

那一年,苍井空还是处女
2011-08-19 19:14
wlzn1989
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2011-8-19
收藏
得分:0 
回复 2楼 外部三电铃
这段代码就是一个文件,修改城市的时候修改那个CHXX就行,但是雅虎天气没有我的城市,所以我想改成www.,这样改不了吗?谢谢~
2011-08-19 20:19
scilent
Rank: 9Rank: 9Rank: 9
等 级:蜘蛛侠
帖 子:285
专家分:1399
注 册:2011-8-9
收藏
得分:10 
以下是引用wlzn1989在2011-8-19 18:48:10的发言:

这是一段天气软件的代码,怎样修改才能把天气源改成www.???小弟刚研究,万望高手帮忙,焦头烂额了。。。先谢谢大家了!!!!!!!// Use to find your weathercode
// For example searching for London, UK will get you this URL
// http://www.
// The last part UKXX0085 is the weathercode to use
var locale = "CHXX0313" //Zipcode, Postalcode, or Weathercode
var isCelsius = true //true or false
var useRealFeel = false
var updateInterval = 120  //Minutes
var showForecast = true
// If you would rather use your own Lockscreen Background
// set showBackground to true and overwrite the included
// LockBackground.png file
var showBackground = true
var showWeatherAni = true
呵呵,这只不过定义了几个变量,改这里不行的
就像楼上所说的chxx0313是城市名
但不一样的网站,这部分都不一样的
你这样做是没有意义的

在没有路的地方走一条路,让别人有路可走
2011-08-20 18:29
快速回复:高手来~共同探讨~
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.014906 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved