See Apps in Action
Build Your Own Apps
Mashups and Microsoft SharePoint Part 2.1: Presto Consuming SharePoint ServicesThis is the sixth in a many-part series about Mashups and Microsoft SharePoint. You can read about the entire series at http://www.jackbe.com/enterprise-mashup/blog/mashing-sharepoint-introduction.
This article will focus on how SharePoint generated RSS can be consumed by Presto, other articles will look at SharePoint Web Service consumption and how SharePoint Services can be mashed using Presto.
Here are links to the other articles:
SharePoint 2007 has extensive support for publishing data using RSS, enabling users to subscribe to SharePoint data services such as Blogs, Task Lists, Discussions, Document Lists, Link Lists and Search Results.
The RSS Feeds can be consumed internally within the SharePoint Environment, they can also be consumed externally, with access protected by NTLM Authentication by default.
Presto Enterprise Mashup Server version 2.6.1 or later is able to consume NTLM protected Services.
The SharePoint Web Application Settings "RSS Settings" property must be enabled to allow users to subscribe to SharePoint List views in syndicated format. This option is enabled by default. The option can be checked via Central Administration, Web Application Management section, Web Application Settings.
Almost any list-based data service provided by SharePoint can be published in RSS form. The following are a selection of the SharePoint data services which can be RSS enabled:
RSS Feed URL General form is :
http://host/Site/_layouts/listfeed.aspx?List=Guid
SharePoint Search Results can be made available as an RSS feed. This may be a suitable for the case where the user wishes to periodically check search results for a give set of fixed search criteria.
SharePoint provides various Web Parts through which the user is able to customize the Search criteria and Search Results.
Customization of Search Criteria enable us to control details of the search query and the scope of the search. Customization of the Search Results enable us to control the content and structure of the Search Result which, in turn, will alter the content of the Search Result RSS feed.
Customization may take the form of:
The Search Actions Web Part must be configured to Display RSS, which can be performed by:
See Overview of SharePoint 2007 Search capabilities
Having retrieved a set fo search results, displayed in a search result list view, the search results can be viewed in RSS format by selecting "View RSS Feed" from the List Actions menus. SharePoint will redirect to a URL for the Search Results in RSS form. The URL will include an encoded reference to Search Result List from which the RSS Feed is derived.
The URL includes a single parameter which identifies the GUID of the List from which the Feed is derived.
As with all RSS feeds exposed by SharePoint access to the feed will be controlled by NTLM Authentication.
Having identified the SharePoint RSS Feed URL, we're able to publish the feed as a Presto Syndicated Service.
The following information is required to register a SharePoint RSS Feed as a Presto Syndication Service:
Optionally:
Password credentials are stored in encrypted form.
The full procedure for publishing a Syndicated Service to Presto is detailed here Service Explorer Publishing a Syndication (RSS/ATOM) Service
Having published and activated the service, the service is now mashable.
Mashing SharePoint RSS Feeds with Presto Wires (Coming soon) provides an example of Mashing a SharePoint RSS Feed with an external RSS Feed and publishing the resulting merged feed as a Mashlet.
This post is part of a many-part series about Mashups and Microsoft SharePoint. You can read about the entire series at http://www.jackbe.com/enterprise-mashup/blog/mashing-sharepoint-introduction.





