Saturday, June 09, 2007

TechEd - RSS Platform in Internet Explorer

The great thing about RSS Feeds is that it allows you to push content to users in a more desirable way than sending them spam. RSS feeds are subscribed to by the users so it lets them keep control. It also allows them to view content at their own discretion, even offline.


Much of the content below was taken from Eric Lawrence's presentation and his slides on the subject.


With the new Internet Explorer 7.0, you can now light up the RSS tool bar button. This allows the users to subscribe rather easily. You just need the following link:

<HTML>

<head>

<link rel="alternate" type="application/rss+xml" title="My RSS Feed" href="myrssfeed.xml" />

</head>

...

</HTML>

There are two types of RSS feeds (logs and lists)













Type LogList
ContainsRecent n itemsSnapshot of full list
Order ByPubDateItem position
Item RemovedNot segnificantSegnificant
Change of OrderNot segnificantSegnificant


Here is how you specify a list for Internet Explorer 7.0


<channel>

<cf:listinfo>

<cf:sort name="element" ns="namespace" data-type="datetextnumber">
User-readable name for the element

</cf:sort>

<cf:group name="element" ns="namespace">
User-readable name for the group
</cf:group>

</cf:listinfo>


cf: sort enables you to specify an element to sort on.

cf: group enables you to specify an element to group by.

The CF namespace is defined as an attribute of the RSS element.

xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005


With the above content and if a user is using IE 7.0 they can get a user friendly toolbox.


For more information on the subject check out the IE RSS 2.0 Blog.

http://blogs.msdn.com/rssteam/archive/2007/06/06/rss-2-0-best-practices-profile-draft-released.aspx

0 Comments:

Post a Comment

<< Home