Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Weather Web Part

  Asked By: Karen    Date: Jan 09    Category: Sharepoint    Views: 1934

We require authentication to access the Internet with HTTP behind our
corporate firewall. However, HTTPS is universally allowed. The MSNBC
Weather web part prompts for authentication when used on our portal
because it uses an HTTP URL. I tried editing the code to use HTTPS but
it didn't work. Can anyone suggest a weather web part that uses an
HTTPS URL or some other solution?



2 Answers Found

Answer #1    Answered By: Nina Banks     Answered On: Jan 09

You can get an XML feed from the weather  Channel by signing up here: http://www.weather.com/services/xmloap.html
Then you can create your own web  part that can pass through the proxy credentials that you need, and format it the way you'd like. Works great for us! Here's an example of what you can do (the forecast is available through a mouse-over). Sorry, I'm unable to share the full code  here..

Word of warning - follow their business rules and cache the data on an appropriate time-scale. This is important since you are hitting an external source for your data and don't want to take that performance hit every time your page loads.

Answer #2    Answered By: Renee Murray     Answered On: Jan 09

Except I don’t want to live where you do :-P I will take my sunny and 60 degrees.

Didn't find what you were looking for? Find more on Weather Web Part Or get search suggestion and latest updates.