forked from phergie/phergie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
108 additions
and
0 deletions.
There are no files selected for viewing
72 changes: 72 additions & 0 deletions
72
Tests/Phergie/Plugin/Weather/_files/silverSpring/conditions.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- This document is intended only for use by authorized licensees of The --> | ||
<!-- Weather Channel. Unauthorized use is prohibited. Copyright 1995-2011, --> | ||
<!-- The Weather Channel Interactive, Inc. All Rights Reserved. --> | ||
<weather ver="2.0"> | ||
<head> | ||
<locale>en_US</locale> | ||
<form>MEDIUM</form> | ||
<ut>F</ut> | ||
<ud>mi</ud> | ||
<us>mph</us> | ||
<up>in</up> | ||
<ur>in</ur> | ||
</head> | ||
<loc id="20904"> | ||
<dnam>Silver Spring, MD (20904)</dnam> | ||
<tm>6:37 PM</tm> | ||
<lat>39.07</lat> | ||
<lon>-76.98</lon> | ||
<sunr>6:03 AM</sunr> | ||
<suns>8:25 PM</suns> | ||
<zone>-4</zone> | ||
</loc> | ||
<lnks type="prmo"> | ||
<link pos="1"> | ||
<l>http://www.weather.com/allergies?par=xoap&site=textlink&cm_ven=XOAP&cm_cat=TextLink&cm_pla=Link1&cm_ite=Allergies</l> | ||
<t>Local Pollen Reports</t> | ||
</link> | ||
<link pos="2"> | ||
<l>http://www.weather.com/flights?par=xoap&site=textlink&cm_ven=XOAP&cm_cat=TextLink&cm_pla=Link2&cm_ite=BusinessTraveler</l> | ||
<t>Airport Conditions</t> | ||
</link> | ||
<link pos="3"> | ||
<l>http://www.weather.com/garden?par=xoap&site=textlink&cm_ven=XOAP&cm_cat=TextLink&cm_pla=Link3&cm_ite=Garden</l> | ||
<t>Lawn and Garden Weather</t> | ||
</link> | ||
<link pos="4"> | ||
<l>http://www.weather.com/traffic?par=xoap&site=textlink&cm_ven=XOAP&cm_cat=TextLink&cm_pla=Link4&cm_ite=Traffic</l> | ||
<t>Rush Hour Traffic</t> | ||
</link> | ||
</lnks> | ||
<cc> | ||
<lsup>7/26/11 6:25 PM EDT</lsup> | ||
<obst>College Park, MD</obst> | ||
<tmp>95</tmp> | ||
<flik>93</flik> | ||
<t>Fair</t> | ||
<icon>34</icon> | ||
<bar> | ||
<r>29.71</r> | ||
<d>steady</d> | ||
</bar> | ||
<wind> | ||
<s>7</s> | ||
<gust>16</gust> | ||
<d>190</d> | ||
<t>S</t> | ||
</wind> | ||
<hmid>23</hmid> | ||
<vis>10.0</vis> | ||
<uv> | ||
<i>1</i> | ||
<t>Low</t> | ||
</uv> | ||
<dewp>52</dewp> | ||
<moon> | ||
<icon>25</icon> | ||
<t>Waning Crescent</t> | ||
</moon> | ||
</cc> | ||
</weather> | ||
|
21 changes: 21 additions & 0 deletions
21
Tests/Phergie/Plugin/Weather/_files/silverSpring/config.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
return array( | ||
'unit' => 'f', | ||
'temperature' => 35, | ||
'weatherReport' => | ||
'nick: Weather for Silver Spring, MD (20904) - ' | ||
. 'Temperature: 95F/35C, Humidity: 23%, Conditions: Fair, Updated: ' | ||
. '7/26/11 6:25 PM EDT [ http://weather.com/weather/today/20904 ]', | ||
'response' => array( | ||
array( | ||
'isError' => false, | ||
), | ||
array( | ||
'isError' => false, | ||
), | ||
array( | ||
'isError' => false, | ||
), | ||
), | ||
); |
8 changes: 8 additions & 0 deletions
8
Tests/Phergie/Plugin/Weather/_files/silverSpring/location1.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- This document is intended only for use by authorized licensees of The --> | ||
<!-- Weather Channel. Unauthorized use is prohibited. Copyright 1995-2011, --> | ||
<!-- The Weather Channel Interactive, Inc. All Rights Reserved. --> | ||
<search ver="3.0"> | ||
<loc id="20904" type="4">Silver Spring, MD (20904)</loc> | ||
</search> | ||
|
6 changes: 6 additions & 0 deletions
6
Tests/Phergie/Plugin/Weather/_files/silverSpring/location2.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- This document is intended only for use by authorized licensees of The --> | ||
<!-- Weather Channel. Unauthorized use is prohibited. Copyright 1995-2011, --> | ||
<!-- The Weather Channel Interactive, Inc. All Rights Reserved. --> | ||
<search ver="3.0" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters