Several elements are required to represent a Web Slice in code: Web Slices are enabled through simple annotation to an HTML file. Rather than clicking refresh on an auction page every few minutes, a user can subscribe to an auction and be visually alerted of changes to the auction automatically. Figure 3 shows an eBay Web Slice that allows users to track an auction. Once a Web Slice has been subscribed to it can be accessed through the Favorites bar. There are two ways for users to discover a Web Slice: in document by hovering over a Web Slice region on a page ( Figure 1), and through the feed discovery button on the command bar ( Figure 2). Display: The user can view the update to the Web Slice by clicking on the Web Slice on the Favorites bar.Notify: When the Web Slice changes, it is bolded on the Favorites bar.Update: Internet Explorer uses the Feed Download Engine to periodically check for changes to the Web Slice.Discovery: Users discover the Web Slice within a Web page and subscribe to it, adding the Web Slice to the Favorites bar.There are four main behaviors for a Web Slice: The Internet Explorer 8 Beta 2 Web Slice Style Guide provides best practices for the design of Web Slices. Updates to Web Slices are indicated visually in the item through bolded text. News, stock quotes, sports scores, exchange rates or even e-mail can be presented prominently in Internet Explorer as part of the Favorites bar. Any portion of a page that updates regularly is a reasonable candidate to become a Web Slice. Web Slices are a new concept that allows the user to subscribe to a portion of a page and monitor the updates on the status bar throughout their browsing experience. This article will explain how Web Slices work, why they are cool, and how you can start creating Web Slices of your own. Web Slices let users bring their favorite parts of the Web with them wherever they browse. Up and coming actor/singer Foo Barret as the venerable Steve Ballmer.Web Slices are a new Internet Explorer 8 Beta 2 feature that allow you to subscribe to parts of a Web page and view updates directly from the Internet Explorer Favorites bar. Original Source ListingĪt the beginning of Lesson 1, the source of the "My Fictional Agenda" Web page, with one simple Web Slice, appears as follows: ĭevelopers, Developers, Developers: The MusicalĪ Musical on a pre-Broadway release tour. This tutorial explains how to create a customized user experience for your site. LESSON 6: Using a custom button to install a Web Slice This tutorial explains how to create an alternate feed source for a Web Slice. LESSON 5: Getting Web Slice content from an RSS feed source This tutorial explains how to limit the frequency of Web Slice updates. LESSON 4: Setting a time-to-live (TTL) value This tutorial explains how to add an expiration time to a Web Slice. This tutorial explains how to add Web Slice content that appears in the preview window on the Favorites bar. LESSON 2: Adding visible content to your Web Slice This tutorial explains how to add Web Slices to Web pages. LESSON 1: Adding Web Slices to a Web page This page contains suggested answers to exercise questions. These tutorials were originally published as hands-on labs, available to attendees of MIX'08 and TechEd Orlando 2008.ĭownload the Web Slice tutorial files here Tutorials Initially, the page contains one simple Web Slice, but you will gradually implement additional functionality.įigure 1: Initial state of the example Web page. You start with a Web page that contains a fictitious conference schedule, a weather report, and ticket auction for a hit Broadway musical. In these short lessons, you will learn how to add Web Slices to an existing Web page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |