<?xml version="1.0" encoding="UTF-8"?>
<!--
Author : Valacar, Zoolcar9 (aka LouCypher)
Date   : December 10th, 2006
Update : October 4, 2010 (protejohnny)
Usage  : Go to http://www.weather.com/weather/today/xxxxx
			where xxxxx is your postal code (like 90210)
		 Hit ctrl-D to bookmark it and use the Name drop down box to change to the Live Title.
-->
<generator xmlns="http://www.mozilla.org/microsummaries/0.1" name="Local Temperature on Weather.com">

	<template>
		<transform xmlns="http://www.w3.org/1999/XSL/Transform" version="1.0">
			<output method="text" />
			<template match="/">
				<!-- Location's name -->
				<value-of select="substring-before(//h1/text(), ',')" />

				<!-- Temperature -->
				<text>: </text>
				<value-of select="normalize-space(//td[@class='twc-col-1 twc-forecast-temperature']/strong/text())" />

				<!-- Type of day (e.g. Sunny) -->
				<text>, </text>
				<value-of select="//td[@class='twc-col-1 twc-animated-icon']/img/@alt" />
			</template>
		</transform>

	</template>

	<pages>
		<include>http://www\.weather\.com/weather/today/*</include>
	</pages>

	<!-- Update every 10 minutes -->
	<update interval="10" />

</generator>
