Revision history for WeatherComReport
Revision [18606]
Last edited on 2008-01-28 00:12:17 by ArslaA [Modified links pointing to docs server]No Differences
Additions:
==Usage:==
==Example:==
==Example:==
Deletions:
Example:
Additions:
[[http://arsla.epn.ba/weatherIcons Icons readme.txt]]
Deletions:
Additions:
[[http://arsla.epn.ba/weatherIcons Icons readem.txt]]
Additions:
Example:
http://arsla.epn.ba/WeatherComReportInfo
http://arsla.epn.ba/WeatherComReportInfo
Additions:
=====WeatherComReport Action=====
Deletions:
Additions:
# WeatherComReport.php, by Aid Arslanagic
# http://xoap.weather.com/search/search?where=sarajevo # replace "sarajevo" with your city and pass as "code"
# http://xoap.weather.com/search/search?where=sarajevo # replace "sarajevo" with your city and pass as "code"
Deletions:
# http://xoap.weather.com/search/search?where=sarajevo # replace "sarajevo" with
# your city and pass as "code"
Additions:
# Weather report WeatherComReport.php, by Aid Arslanagic, version 1.2
Deletions:
Additions:
%%{{action_name [param="xxx"]}}%%
Deletions:
Deletions:
Additions:
=====WeatherComReport Action Documentation=====
===Documentation===
==Short description==
Displays weather.com's forecasts
==Parameters==
""<table cellspacing="0" cellpadding="2" border="1">
<thead>
<tr><th scope="col">name</th><th scope="col">type</th><th scope="col">required?</th><th scope="col">default</th><th scope="col">description</th></tr>
</thead>
<tbody>
<tr><td>code</td><td>string</td><td>YES</td><td>BKXX0004</td><td>City code</td></tr>
</tbody>
</table>""
==Long description==
Displays weather.com's forecasts for a given city code.
Weather icons should be placed to 'images/wricons' folder (download from http://arsla.epn.ba)
Usage:
Find your code at http://xoap.weather.com/search/search?where=your_city
%%{{action_name [code="xxx"]}}%%
{{WeatherComReport code="BKXX0004"}}
==Author==
Aid Arslanagic
==Code==
===Documentation===
==Short description==
Displays weather.com's forecasts
==Parameters==
""<table cellspacing="0" cellpadding="2" border="1">
<thead>
<tr><th scope="col">name</th><th scope="col">type</th><th scope="col">required?</th><th scope="col">default</th><th scope="col">description</th></tr>
</thead>
<tbody>
<tr><td>code</td><td>string</td><td>YES</td><td>BKXX0004</td><td>City code</td></tr>
</tbody>
</table>""
==Long description==
Displays weather.com's forecasts for a given city code.
Weather icons should be placed to 'images/wricons' folder (download from http://arsla.epn.ba)
Usage:
Find your code at http://xoap.weather.com/search/search?where=your_city
%%{{action_name [code="xxx"]}}%%
{{WeatherComReport code="BKXX0004"}}
==Author==
Aid Arslanagic
==Code==
Additions:
CategoryUserContributions
Additions:
# Weather report phpwr.php, by Aid Arslanagic, version 1.2
# your city and pass as "code"
# Sarajevo code = "BKXX0004";
$code=$this->ReturnSafeHTML($code);
if ($code == "") {
$code = "BKXX0004";
echo "<IMG src=\"".$this->config['base_url']."images/wricons/" . $data[weather][dayf][day][9][part][0][icon] . ".png\">" . "<br />";
# your city and pass as "code"
# Sarajevo code = "BKXX0004";
$code=$this->ReturnSafeHTML($code);
if ($code == "") {
$code = "BKXX0004";
echo "<IMG src=\"".$this->config['base_url']."images/wricons/" . $data[weather][dayf][day][9][part][0][icon] . ".png\">" . "<br />";
Deletions:
# your city and enter your location here:
$code = "BKXX0004";
echo "<IMG src=\"".$this->config['base_url']."images/wricons/" . $data[weather][dayf][day][3][part][0][icon] . ".png\">" . "<br />";