chinaweatherforecast A widget that display china's 320 cities weather forecast of 4 days

  1. Requirements
  2. Usage
  3. Resources

This widget get it's data from, and can both assign a city or auto detect city by client's ip address (base on QQWry.Dat, the download url will be listed after). It support china's 320 cities weather forecast of 4 days.


It's better that your php support curl extension. It must download data from remote server. AND the extension mb_string is REQUIRED.


Extract the files to exact directory the same in the zip file. and the directory "protected/data/" must be writtenable. And put the QQWry.Dat in this directory.

and then in your view file:



1 0
1 follower
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Tags: weather
Developed by: wangyong
Created on: Aug 26, 2011
Last updated: 11 years ago


show all

Related Extensions