<!--
Author : Valacar
Date   : December 10th, 2006
Usage  : Go to www.weather.com/weather/local/xxxxx where xxxxxx is your postal code (like 90210), and hit ctrl-D to bookmark it and use the Name drop down box to change to the Live Title.
Note   : This is my very first Live Title, so it may have problems...I just wanted to see if I could get one working.
Credit : Most of the credit for this now goes to Zoolcar9 (aka LouCypher).  He fixed my horrible XPath selector, and added the location's name, as well as what kind of day it is (e.g. Sunny).
--><generator name='Local Temperature on Weather.com' xmlns='http://www.mozilla.org/microsummaries/0.1'>

	<template>
		<transform version='1.0' xmlns='http://www.w3.org/1999/XSL/Transform'>
			<output method='text'/>
			<template match='/'>
				<!-- Location's name -->
				<value-of select='substring-before(//table[@class=&apos;module&apos;]//td[@width=&apos;290&apos;]/h2/text(), &apos; (&apos;)'/>
				<text>: </text>

				<!-- Temperature -->
				<value-of select='//table[@class=&apos;Basic2&apos;]//table[@class=&apos;Basic2&apos;]//td[1]//b[@class=&apos;obsTextA&apos;]/text()'/>
				<text>, </text>

				<!-- Type of day (e.g. Sunny) -->
				<value-of select='//table[@class=&apos;Basic2&apos;]//table[@class=&apos;Basic2&apos;]//td[last()]//b[@class=&apos;obsTempTextA&apos;]/text()'/>
			</template>
		</transform>
	</template>

	<pages>
		<include>http://www\.weather\.com/weather/local/*</include>
	</pages>

	<!-- Update every 10 minutes -->
	<update interval='10'/>

</generator>