I'm looking for a Sharepoint Webpart that can query a list for an RSS feed URL, then display it

Basically what I have a List that will be maintained by the user that has a field that contains a link to an RSS feed.

I tried using the OOTB RSS and it's great, but you have to specify the feed URL and I need that to be based on user selection. For example, the user will select from a list a feed they want to view and this should take them to the feed reader page which will use their selection to get the feed URL and display this on the page.

-------------Problems Reply------------

An alternative which is not a general Sharepoint solution is to use jquery.

Is the list visible on the page or is it "just" a list in Sharepoint?

Of course you might need some kind of proxy to do this in order to call the rss-feeds if they are placed on another server. But you will send the performance to the client instead of the server which is a plus..

My solution was to use the WebPartPages Web Service (SaveWebPart) to change the definition of the web part to use the new feed URL whenever a feed is clicked on.

I created a javascript function the will accept the feed URL and proceed to the page where the feed is displayed. The new feed will not be loaded until the next time you visit the page, therefore if you are already on it you will need to reload, thus the redirect.

For more information on the format of the request and the web part XML format see the following page. http://msdn.microsoft.com/en-us/library/ms774839%28v=office.12%29.aspx

function SetFeed(feedURL){

var webPartGUID = $("#<WebPartID>").attr('webpartid');

// This is where you set the page URL, Full Web Part XML (including path to FEED),
// storageKey (webPart GUID), and storage type (none, personal, shared)
var soapEnv = "<FULL SOAP XML>";

url: "http://<SITE PATH>/_vti_bin/WebPartPages.asmx",
type: "POST",
dataType: "xml",
data: soapEnv,
beforeSend: function(xhr) {
complete: function(xData, status){
window.location='REDIRECT TO FEED PAGE';
contentType: "text/xml;charset='utf-8'"

Category:sharepoint Views:4 Time:2011-11-23

Related post

  • Sharepoint webpart for conditional formatting? 2010-02-23

    Does anyone know of a Sharepoint webpart that provides conditional formatting? For example, if I am displaying a table, I would like to be able to change the backcolor of a row if a specific numeric cell exceeds a certain value. Of course this could

  • Sharepoint-This page contains both secure and nonsecure items" Error with RSS feeds 2010-04-03

    I have a shared site in sharepoint and have some RSS feed webpart in it so now everytime my site opens up it shows this popup. I know I can remove the popup by going to IE options and stuff but my question is if there is any way that i can remove it

  • Sharepoint WebPart with AjaxToolkit's Accordion control 2008-09-23

    Do you guys have any resources on creating a Sharepoint webpart that uses the AjaxToolkit controls? I need to create a webpart that uses the Accordion control and I can't find any complete tutorial or walkthrough. I prefer a tutorial/article that doe

  • Hyperlinks In Sharepoint Webpart 2008-10-29

    I've been working on a SharePoint project and I have gone the route of loading User Controls through a custom web part. I have several web controls where I need to dynamically generate hyperlinks (in a loop from a database) that will call certain fun

  • SharePoint WebPart Packages and dlls 2009-01-13

    I have a SharePoint WebPart project in visual studio. As part of the project I am referencing the interop.ActiveDS.dll. I can compile the project successfully and add/deploy the solution to SharePoint. When I try to run the WebPart in SharePoint I ge

  • Client ID of a Silverlight Control in A Sharepoint WebPart 2009-03-11

    Background: I have a Silverlight Control in a sharepoint webpart that exposes some scriptable methods. I use those methods to call a webservice and get an array of menu options. These menu options are then injected into Sharepoint ECB menu which appe

  • .NET One Hop Rule and SharePoint Webparts 2009-03-17

    Hi I have a SharePoint webpart which is compiled as a DLL and placed in the BIN folder of my SP site. My webpart works on my local machine, but when I put it on production it fails with a (401) Unauthorized. After doing some research I came acrooss w

  • Adding a required field validator to a SharePoint webpart 2009-03-24

    I am writing a webpart for MOSS 2007. I need to validate a text field in that webpart, or which I am using th required field validator. I am creating the required field validator as follows: vldProjectError = new RequiredFieldValidator(); vldProjectE

  • PHP equivalent to ASP.NET / SharePoint Webparts? 2009-05-24

    Is there a PHP equivalent to Webparts? I'm looking for an alternative to the user-pluggable, connectable, customisable application building blocks that are part of SharePoint. --------------Solutions------------- The modules in phpNuke act a lot like

  • sharepoint webpart with caml and xslt 2009-06-17

    How can i create a sharepoint webpart that accesses a List, and that can have CAML applied to it. The CAML is needed to display return only list items that have the field with "Position" > 0 i also need the webpart to have xslt applied to that. --

  • Visual Studio 2008 SharePoint WebPart Deploy Problem - "The HTTP request is unauthorized-'Negotiate,NTLM'" 2009-09-17

    I am trying develop a SharePoint WebPart with "Visual Studio 2008 Extensions, Version 1.3". When I try deploy or quick deploy or package or anything about deployment for my WebPart I am getting this message: The HTTP request is unauthorized with clie

  • Converting a JSP to a SharePoint webpart 2009-10-27

    We have a large number of Java based servlets/portlets running in a BEA portal that we want to convert into SharePoint 2007 webparts. Many of the portlets use user preferences but the implementations are split between preferences being handled by the

  • Popularity of MVP for SharePoint WebParts 2009-11-03

    Is it a popular techinque to use the Model View Presenter (MVP) design pattern when creating Web Parts for SharePoint? It seems (to me) that this pattern is applied more often in the custom application space. So, if you have any thoughts on this, ple

  • Sharepoint WebPart, include additional assembly in wsp package 2009-12-08

    I created a utility library for my Sharepoint WebParts. Now when I reference this library from my WebPart project, it compiles fine, but the library is not included in the .wsp package. This means the library assembly is not deployed to the target sy

  • Making use of a Sharepoint Webpart within a non Sharepoint CMS? 2009-12-20

    I am creating a new CMS for a customer using ASP.NET 3.5, SQL2008 and Windows Server 2008. The customer has some webparts that he uses in his current Sharepoint implementation and would like to have their functionality in the new CMS. I can install W

  • dynamic treeview population in a sharepoint webpart 2010-01-14

    I am trying to dynamically populate a treeview object on a sharepoint webpart. For some reason, the node population is triggered automatically and without user input. Below is a sample of how I set up the tree and webpart. Any suggestions on how to p

  • Store per user data in sharepoint webpart 2010-01-20

    I got to store some user specific data (string) in my sharepoint webpart.I guess hidden webpart properties should do the trick. Tried with the following attributes on webpart property: [WebBrowsable(false)] [Bindable(true)] [WebPartStorage(Storage.Pe

  • Asp.Net tree view in SharePoint webpart- Input string error 2010-01-20

    I am facing a very strange issue. I have a SharePoint webpart that displays an asp.net tree view. It takes tree depth from a drop down. To improve performance of the tree view, i am setting the PopulateOnDemand property to true for the last level of

  • SharePoint Webpart and ASP.NET User Control 2010-05-06

    I am developing SharePoint Web Parts for MOSS 2007 on Visual Studio 2008. Up until now, I've been adding all my controls by hand to the code behind... but an earlier post suggested I could use the designer to create an ASP.NET User Control, then add

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.227 (s). 11 q(s)