NEWS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
Home / News / Microsoft / Tips & Tricks

Tips & Tricks


All You Need to Know About IE8 WebSlices - End Users vs. Developers

How to add IE8 WebSlices to a website

By Marius Oiaga, Technology News Editor

10th of March 2008, 17:15 GMT

Adjust text size:


Internet Explorer
Enlarge picture
Starting the past week, Microsoft made available for download the first public beta of Internet Explorer 8 (download here). The MIX08 release was preceded by a private Beta of the next iteration of Internet Explorer, and while Microsoft did emphasize that Beta 1 is a build aimed at developers, access is in no way restricted. Sure enough, there are features such as Activities and WebSlices offered with the browser, which do deliver a tad of a preview of what's coming down the IE8 pipe for the end users. But even those are aimed at getting developers to tailor their web content on IE8.

The developers' focus on IE8 Beta 1 is evident with Microsoft's move to permit
access to the OpenService Format and the WebSlice Format specifications Microsoft Open Specification Promise, with the first via the Creative Commons Attribution-Share Alike license and the latter through the Creative Commons Public Domain Dedication. As far as WebSlices are concerned, Microsoft indeed brings something new to the table.

WebSlices
Enlarge picture
WebSlices
Enlarge picture
The Redmond company's take on WebSlices is enabling the users to connect with just a portion of the content within a webpage. At the same time, developers have the possibility of permitting users to subscribe to just a limited area of a webpage and to focus on specific data. Rather than having to digest large quantities of materials just to filter down to the items that present interest, visitors can now streamline access to information via WebSlices.

Essentially, the feature comes to the table with the same familiar behavior as feed readers. Just like a feed reader can subscribe to a website and deliver content, updates and notifications, so will Internet Explorer 8 subscribe to an area of a website and let the end user know every time the data is updated. Once WebSlices have been added to a page, they can be easily identified in the browsing process and subscribed to. The WebSlice will subsequently appear in the Favorites bar, delivering immediate access to previews of the content without the user having to visit the website.

WebSlices
Enlarge picture
WebSlices
Enlarge picture
Those of you already running Internet Explorer 8 Beta 1 can see that WebSlices have been added to Softpedia. From a visitor's point of view, the process of subscribing to a new WebSlice involves simply clicking the subscription button in the top left hand side corner. From a developer's perspective, actually adding a WebSlice to a page is a straightforward process detailed bellow by our own Sorin Brabete, Technical Advisor.

Introduction - To add WebSlice support to a web page, developers should define one or more zones (slices) by using special HTML mark-up for specifying the WebSlice contents and parameters.

Webslices are defined using a slightly modified version of the hAtom microformat which, in turn, is itself a subset of the Atom standard. What this means is that a developer rarely needs to make significant changes to existing HTML code or even add new tags at all. In most cases, adding a few "class" attributes does the trick.

Webslice components

The components of a webslice are the webslice container itself (mandatory), the entry title (mandatory, possibly more than one) and the entry content (optional, possibly more than one). There are also several parameters a developer can set when creating a webslice.

The most important is arguably time to live (TTL), which specifies how often Internet Explorer 8 should check for updates for the webslice. For slices containing information with time-limited relevance, developers can use the end time parameter to point out the expiration time. IE8 will signal this by making the webslice's associated button glow 5 minutes before the expiration time and grayed-out afterwards.

If the web page containing your webslice is rather large and has quite a lot of webslice-unrelated data, you may choose to instruct IE8 to access another content source when checking for updates, such as an RSS feed.

Marking-up a webslice and its components

Webslice container: add class="hslice" id="x" to the (HTML-wise) element containing the webslice data. For example:

[CODE=0][CODE=1]


Entry title: add class="entry-title" to the element containing the data you'd like to display as a title for your webslice. For example:

[CODE=0]My Webslice Title[CODE=1]


Entry content: add class="entry-content" to the element containing the main data for your webslice. Remember, you may specify multiple such entries. For example:

[CODE=0]My first content entryMy second content entry[CODE=1]


Time to live: add class="ttl" to the element containing the minimum interval (in minutes) for checking for updates to the webslice data source (the original web page or alternate feed). If you do not wish to display the interval in your webpage, simply place the TTL into a span or div and make it invisible. For example:

[CODE=0]

TAGS:

IE8 | Internet Explorer 8 | Beta 1 | WebSlices


Rating:
Fair (2.0/5) 6 vote(s) so far    

Read by 1,649 user(s) | Add comment | Link to this article
Subscribe to news | Print article | Send to friend

© Copyright 2001-2008 Softpedia
Contact:

 

 

SEARCH THE NEWS ARCHIVE :




Today's News
| Yesterday's News | News Archive


MORE RELATED ARTICLES:


IE8 and Firefox 3.0 - the Beginning of the End for IE6

Internet Explorer 8 (IE8) Beta 1 Available for Download

Opera Says Internet Explorer 8 Still Has a Long Way to Go

IE8 Beta 1 Does Not Install on Pre-RTM Vista SP1

IE8 Beta 1 vs. Firefox 3.0 Beta 3 vs. Opera 9.5 Beta vs. Safari 3 Beta - the Future!

Download Free Windows Vista and Windows XP SP2 Straight from Microsoft

IE8 Beta 1 and Windows XP SP3

Forget about IE8 Beta 1 - Get Ready for Internet Explorer 8 Beta 2!

Uninstalling Internet Explorer 8 Beta 1

User opinions:


Comment #1 by: Kaolin Fire on 07 Jun 2008, 19:18 GMT reply to this comment

Very strange; thank you for the informative article. Nifty idea on Redmond's part. Just not sure how I feel about the specification. But I'll give it a shot anyway :)

Share your opinion:

Your Name:
Your Email Address:
(will not be used for commercial purposes)
Solve this to prove you're not a bot: =
Your review/opinion:

 






SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   ENTER NEWS SITE   |   ENGLISH BOARD   |   ROMANIAN FORUM