I think I have it figured out, but I am unable to limit the data extraction per day, it always trys to recursivly extract data for the forecast and not specifically for one day. here is what I have:
Outer:
Inner:
DayF:
<div class="weather_day">[+DAY.T+]
{{DAY->day}}
</div>
Day:
{{PART->part}}
<span class="wheather_hi">Hi</span> [+HI+]
<span class="wheather_lo">Lo</span> [+LOW+]
Part:
<img src="http://image.weather.com/web/common/wxicons/52/[+ICON+].gif" />
This is the output I am getting:
<div class="weather_day">Monday
<img src="http://image.weather.com/web/common/wxicons/52/44.gif" />
<img src="http://image.weather.com/web/common/wxicons/52/47.gif" />
<span class="wheather_hi">Hi</span> N/A
<span class="wheather_lo">Lo</span> 74<img src="http://image.weather.com/web/common/wxicons/52/38.gif" />
<img src="http://image.weather.com/web/common/wxicons/52/38.gif" />
<img src="http://image.weather.com/web/common/wxicons/52/47.gif" />
<img src="http://image.weather.com/web/common/wxicons/52/47.gif" />
<span class="wheather_hi">Hi</span> 89
<span class="wheather_lo">Lo</span> 74<img src="http://image.weather.com/web/common/wxicons/52/38.gif" />
<img src="http://image.weather.com/web/common/wxicons/52/38.gif" />
<img src="http://image.weather.com/web/common/wxicons/52/38.gif" />
<img src="http://image.weather.com/web/common/wxicons/52/47.gif" />
<img src="http://image.weather.com/web/common/wxicons/52/47.gif" />
<img src="http://image.weather.com/web/common/wxicons/52/47.gif" />
<span class="wheather_hi">Hi</span> 90
<span class="wheather_lo">Lo</span> 75
</div>
So, My problems are:
1.- How do I code it to get the data for a specific day so it doesn’t recursively output the following tags.
2.- Why are there so many images in the output? I though I would only get day and night, but I seem to get much more than that.
3.- How can I just chose one Image? Ideally, should be in order, so that if it is less than 2 P.M. (which is the limit time for the day image) it will pull the day image, if it is over 2 P.M. it will pull the night image.
I appreciate your help.
Regards,
Jose R. Lopez