Primär geht es um dies:
Code:
<div id="schedule" class="hslice">
<h2 class="entry-title">My Conference Agenda</h2>
der Inhalt hier
<abbr class="endtime" title="2008-04-29T17:50:00-08:00"></abbr>
<p style="font-size:xx-small">Updated every <span class="ttl">60</span> minutes.</p>
<a rel="feedurl" href="http://localhost/webslice/weather.xml" style="display:none;"></a>
Die Id muss einzigartig sein, könnte also die content oder Module oder Menü Id sein.
endtime spezifiziert das ablaufdatum. Könnte aus dem Ablaufdatum des Contents kommen. Bei Modulen halt einstellbar im Plugin zb. Tage Gültig
ttl spezifiziert die Aktualisierungsgeschwindigkeit
feedurl: es können auch rss2 feeds angezeigt werden 
Code:
<!-- Add button anywhere inside the right column container -->
<input type="button" value="Add Ticket Auction Web Slice" class="addButton"
onclick='window.external.AddToFavoritesBar(
"http://localhost/webslice/webslice.html#auction",
"Developers, Developers, Developers", "slice");' />
Und zuguterletzt ein Knopf zum speichern des Webslices im IE8
Beispiel:
Code:
<!-- Add Web Slice here... -->
<div id="weather" class="hslice">
<h3><span class="entry-title">Las Vegas</span>, NV (89044) Weather</h3>
<img src="images/sunny.png" id="image" alt="Sunny" height="128" width="128" />
<div class="entry-title" style="font-size:2.5em;margin-top:24px;font-weight:bold;">70° F</div>
<p class="entry-title" style="font-weight:bold;font-size:1.5em">Sunny</p>
<p><i>All fictional, of course!</i></p>
<p>Current conditions as of 4:56 PM</p>
</div>
<!-- ...and here -->
<div id="auction" class="hslice">
<h3>Ticket Auction</h3>
<p class="title"><span class="entry-title">Developers, Developers, Developers</span>: The Musical</p>
<img src="images/Theatre.jpg" alt="Theatre" id="theatre" height="130" width="130" />
<p>Current Bid: <span style="font-size:26px;line-height:32px;font-weight:bold;">$60</span></p>
<p>A Musical on a pre-Broadway release tour. Featuring the
up and coming actor/singer Foo Barret as the venerable Steve Ballmer.
Come catch the excitement!</p>
</div>
Dieses Tutorial ist auf http://msdn.microsoft.com/en-us/libr...58(VS.85).aspx
Lesezeichen