Skip to content

Hypermedia weatherapp

darrelmiller edited this page Sep 14, 2012 · 1 revision

Windows 8 Weather app

<tile>
  <visual lang="en" branding="name">
	<binding template="TileWideSmallImageAndText02">
	  <image id="1" src="ms-appx:///images/skycodes/89x89/31b.png"/>
	  <text id="1">21°</text>
	  <text id="2">Dollard-des Ormeaux</text>
	  <text id="3">ms-resource:Clear</text>
	  <text id="4">25°/12°</text>
	</binding>
	<binding template="TileSquareText01">
	  <text id="1">21°</text>
	  <text id="2">Dollard-des Ormeaux</text>
	  <text id="3">ms-resource:Clear</text>
	  <text id="4">25°/12°</text>
	</binding>
  </visual>
</tile>

This is an example of resource hypermedia that uses a custom protocol. This could easily be replaced by HTTP.

Clone this wiki locally