<?xml version="1.0" encoding="UTF-8"?>

<!--
Author : Valacar, Zoolcar9 (aka LouCypher)
Date   : December 10th, 2006
Update : December 8, 2008 (protejohnny)
Usage  : Go to http://www.weather.com/outlook/travel/businesstraveler/local/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(//h2[@class='moduleTitleBar']/text(), ' (')" />
				<text>: </text>

				<!-- Temperature -->
				<value-of select="//strong[@class='obsTempTextA']/text()" />
				<text>, </text>

				<!-- Type of day (e.g. Sunny) -->
				<value-of select="//strong[@class='obsTextA']/text()" />
			</template>
		</transform>

	</template>

	<pages>
		<include>http://www\.weather\.com/weather/local/*</include>
		<include>http://www\.weather\.com/outlook/travel/businesstraveler/local/*</include>
	</pages>

	<!-- Update every 10 minutes -->
	<update interval="10" />

</generator>
