Display Blog as WebPart in Sharepoint 2010
I have a blog in a Sharepoint 2010 site (hosted by a 3rd party), and I need to display snippets (title) of last 5 blog posts in the home page of my SharePoint site as a web part.
I have tried to pull the RSS XML of the blog and transform it with XSL, but for that to work the site needs to have anonymous access, which unfortunatelty is out of my hand, that is I cannot 开发者_开发问答do that. I cannot upload a custom web part as well. I can create a Silverlight app, and host in the Silverlight web part, but for that I need to have cross-script enabaled in the Sharepoint, which is again cannot be done as the Sharepoint site is hosted by a 3rd party.
Can anyone please help me and let me know if there is any way, I can do that.
Thanks.
I have found three ways to displaying this:
1) I user use a Content Query Webpart to pull out the data from a Sharepoint Blog and make an setting to show only the top 5 items.
2) I could use XML Viewer webpart to pull the RSS feed of the blog and use a XSL Transformation to display the top 5 items.
3) I could use a Silverlight Webpart to host a Silverlight application which will read the RSS and display the data likewise.
So the limitation here is that you can't get anonymous access to the site - presumably you're using Basic or Forms authentication?
I think the way around then is either create your own RSS style web that can do authenticated access to the RSS XML feed using a service account - this then requires nothing to be installed or changed on the 'source' server.
精彩评论