Comments
litl_phil wrote: While it's nice that Google and Acer share the vision of cloud-based computing, it's also worth noting that we at litl already have a webbook on the market (available at litl.com) that runs our own cloud-based OS. Unlike Chrome, litlOS is focused on creating a new and better web experience for the home, so we don't have the usual browser interface, we have our own innovative UI. In conjunction with easel mode (litl's inverted-V position) and our growing cohort of litl channels (special apps t...
Cloud Expo on Google News


2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
SYS-CON.TV
Top Links You Must Click On


Using an RSS Feed as a Content Service in ASP.NET
Bind Web pages to XML just as to databases

RSS is the technology driving the blogging craze that's sweeping the Internet, but it's far more than a blogging technology. It's a prime foundation on which to build "service-oriented" applications.

RSS was originally an acronym that stood for "RDF Site Summary" and it has a somewhat confusing version history. The roots of RSS date back nearly a decade to Ramanathan Guha's work at Apple in the mid 1990s on the Meta Content Framework (MCF).

MCF was not XML based, but around 1997 Guha joined Netscape, teamed up with Tim Bray, and began building on the ideas of MCF by developing an XML-based Resource Definition Framework (RDF).

At the same time, Microsoft released the "Channel Definition Format" (CDF) and introduced support for CDF into Internet Explorer 4.0 and the Windows Desktop.

The popularity of ActiveX channels grew rapidly and a thirst for content syndication was born as CDF channels started popping up all over the Web, but CDF was only the beginning for generalized content syndication. CDF was not without drawbacks. There existed the opinion that CDF was "over-engineered" for the average user and built primarily for the large content provider.

To make a long and convoluted story shorter, Dan Libby at Netscape built the "Site Preview Format," now commonly referred to as Open-SPF, which was immediately picked up and used by Dave Winer at Scripting News (Scripting.com).

Then things really started to pick up. On March 1, 1999, Dan Libby released the first formal specification as RDF-SPF version 0.9 that was later renamed RSS v0.9.

RSS 0.9 was a compromise. While it was RDF based, it was not fully RDF compliant. It was also not truly optimized for simplicity either. This directional ambivalence ultimately resulted in a three-way split in the "Syndication" community.

The infighting within the RSS specification collective ultimately resulted in the formation of a loosely organized working group, started by Sam Ruby, a programmer at IBM. Using a Wiki-based process, the group defined Pie, which was renamed Echo, which was then renamed Necho, and finally named ATOM.

The remaining RSS contingents also splintered and RSS 2.0 was born. RSS 2.0 was fully divergent from RSS 1.0. The two major versions are actually very different. RSS 1.0 is heavily RDF based, and so RSS version 1 offers a fully namespace-driven definition model for almost unlimited flexibility and extensibility at the expense of a significant step up in complexity for the developer or feed implementer.

RSS 2.0, however, forgoes this complexity in favor of a straightforward, easy-to-create and process schema. While not necessarily "better" than RSS 1.0 or ATOM, RSS 2 seems to be enjoying the widest use and remainder of this article will be based on RSS 2.0.

Since RSS 2.0 is not RDF based, the original acronym is no longer valid. When RSS 2.0 was first released it apparently didn't stand for anything in particular, though through common usage it has come to be accepted as an acronym for "Really Simple Syndication."

The basic idea behind RSS 2.0 is to provide a standard XML schema for XML files to be published that describes Web site content so that other applications, including other Web sites, can read that "RSS feed" and use the feed's content to build "previews" of the original content.

In this way blog entries, Web articles, press releases, or any Web-published content can be "previewed" by the item's title, a few lines of the content, and other data such as the date and time of posting. Also of significant importance in RSS 2.0 is support for "enclosures" that are used to reference audio and video media files that are described by the RSS Item content.

This makes RSS a solution that solves many different problems.

On the MSDN Events team at Microsoft, we spend most of our time working with development customers and one of our primarily vehicles for this interaction is our MSDNEvents.com events series.

Many of us around the country send regular updates out in e-mail to user group leaders, MVPs, partners, and developer friends to let them know about our upcoming events in the hopes that they will, in turn, let others know about our events.

This model of communication is less than optimal for several reasons:

  • The people we send this information to already get too much e-mail, and there is a tendency for these types of e-mails to get lost in the masses or even trapped by filters
  • We have to manage the list of folks we send to, wxhich changes often
  • Microsoft's strict compliance with federal anti-spamming regulations means we can only e-mail containing this type of info to folks who have explicitly requested it
  • Each month the folks who receive our e-mail and who want to help get the word out about our events have to make changes to the home page of their respective Web site(s) to reflect the ever-changing event dates that we send to them
Enter RSS and we have the ideal tool to solve this real-world business problem for my team.

First, RSS is created for consumption and can either exist as a statically generated XML file that is updated whenever the syndicated content changes or it can be dynamically generated programmatically. Most blogging software and content management or publishing systems have the capability to automatically create and update RSS files.

RSS is then "pulled" by any software that is configured to poll an RSS file. This eliminates all of the aforementioned "business" problems that concern e-mail. (Remember that the RSS "file" may be a static .xml file or it may be an XML stream generated at the time of a request for the feed.)

When solving my event notification problem, the really BIG gain is that I can use some simple ASP.NET code (that I could even encapsulate in a custom server control) that is parametrically configured to pull the events from a centrally provided, and always current, RSS feed.

Once my friends and partners include just a bit of ASP.NET code (or custom server control) on their Web site, the site will always show the latest upcoming MSDN Events and the Web site owner never has to edit the site's content for those events to stay current.

For example, The New York .NET Developers User Group can reuse my code on their Web site to show users the upcoming MSDN Events in New York state. The RSS file is updated to keep the list current. Listing 1 shows a simple example of an RSS feed. Note that the channel is described and then a number of items are listed.

About Joe Stagner
Joe Stagner joined Microsoft in 2001 as a technical evangelist and is now a Developer Community Champion with the Microsoft MSDN Team. Joe?s technical career began at age 14 with a part-time job as a robotics control programmer, and has visited virtually every genre of technical vocation from Device Driver Developer to President and CEO of a publicly traded New York City consulting firm. Joe?s development experiences have allowed him to create commercial software applications across a wide diversity of technical platforms, from Mainframes through UNIX and Linux, to Microsoft technologies on the Intel and Mobile computing platforms. While Joe is generally interested in all computing technology, in recent years he has been particularly focused on highly performant, geoscalable Web application architectures, multiplatform interoperability, and writing secure code. www.JoeOn.NET

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Enterprise Open Source Magazine Latest Stories . . .
Oracle seems to have divided the open source ranks over the MySQL delay it’s having closing its acquisition of Sun. Eben Moglin, the GPL’s most ardent defender and delineator, the lawyer who has worked hand in glove for years with the Free Software Foundation’s founder Richard Stallman...
Cloud computing is a game changer. The cloud is disrupting traditional software and hardware business models by disrupting how IT service gets delivered. Entrepreneurial opportunities abound as this classic disruptive technology begins to proliferate, so it is no surprise that SYS-CON'...
The irony is that Oracle has advanced MySQL, lost money in the process, and helped its competitors - all at the same time. When Oracle buys Sun and controls MySQL the gift (other than to Microsoft SQL Server) keeps on giving as the existential threat to RDBs is managed by Redwood Shore...
WSO2, the open source SOA company, today announced the launch of the WSO2 Cloud Platform. Available today, the new WSO2 Cloud Platform features a family of WSO2 Cloud Virtual Machines; WSO2 Cloud Connectors for enabling fast, secure cloud services; and the multi-tenant WSO2 Governance-...
Now, the open source Mozilla Thunderbird client software can be used with Open-Xchange collaboration software. The "Community OXtender for Thunderbird" software connector gives users full access to appointments and contacts stored in the Open-Xchange Server and enables them to use Thun...
Morph Labs, a leading provider of enterprise cloud computing technology, today announced an introductory trial of the Morph CloudServer, an open, standards-based server IT organizations can use to rapidly model and evaluate their cloud implementations. A miniature "Cloud Environment in...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON Featured Whitepapers
ADS BY GOOGLE