Monday, May 28, 2007

RSS Feeds For Notes Documents

(Editor's Note: This tip was initially published on SearchDomino and was a Hall of Fame Tip of the Month winner. It was modified slightly to address new links, etc.)

Many Lotus Notes developers have started adding the construction of RSS feeds to their repertoire. There are already many great resources on how to do this available on the Internet, so that won't be covered here.

Using whatever method you choose to generate your RSS, you can present an RSS feed to documents stored in a Lotus Notes database. Usually, RSS feeds point to content that is accessed via a web browser. However, I had the need to pull up the documents in the Notes client instead. This is very easy to do, since you can use the Notes URI format in place of the standard HTTP URI.

Here is a snippet of XML code from a feed that demonstrates this:

<title>Spellcheck the Memo Body Only</title>
<pubDate>Thu, 24 Feb 2005 10:39:25 PM -0400</pubDate>
<description>I posted this R4.x tip to SearchDomino way back in 1999 and it was the winner for one month!</description>

Notice the <link> element references a Notes identifier rather than a URI using HTTP. When users view this feed in their RSS aggregator, it will open the proper document in your Notes client.

The <link> element of your feed can be constructed using the following formula (usually calculated in the document or in the view column):

"<link>notes:///" + @ReplaceSubstring(@ReplicaID; ":"; "") + "/AllDocuments/" +
@Text(@DocumentUniqueID) + "</link>"

You can replace "AllDocuments" with the name of your view or use its design ID.

For an "All Notes" experience, you can use a Notes-based aggregator such as Steve Castledine's ProjectDX Feed Reader or Studio Blog Reader from OpenNTF along with your feed.

This is a simple yet powerful way to increase the value of using RSS within your organization. I hope you find it useful.


permalink | leave a comment

Thursday, January 18, 2007

Bruce Elgort - We Knew Him When...

How cool...opened the latest print edition of eWeek that came yesterday and started reading the cover story on RSS in the enterprise. When I turned to the second page, I was greeted by a familiar face. Our very own Bruce Elgort is pictured in the article and is quoted a few times. Also very cool is that it mentions Bruce is co-founder of, "an open-source community for IBM's Lotus Notes and Domino developers." Sweet! Congrats Bruce...nice job! :-)

You can find the online version here.

Image Copyright 2007, Christopher Byrne. All Rights Reserved. Used with Permission.

Labels: , ,

permalink | leave a comment