Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Webpart to read text

  Asked By: Kari Stone         Date: Apr 23, 2006      Category: Sharepoint      Views: 246
 

I am looking for a web part that can read a text from a web page. What I mean is I am trying to get my Company’s Stock Quote from yahoo. I am able to download the price..It looks like this:

"504067.BO",222.25,"5/19/2006","5:58am",-15.85,240.00,248.80,216.00,19355

I want to take the Price from it.

Tagged:        

 

4 Answers Found

 
Answer #1       Answered By: Annie Norris          Answered On: Apr 23, 2006       

Can you develop your own webparts, or are you looking for a way to
do it within an already built webpart? I see you already have a
chunk of info coming back, but it doesn't look very useful.

There are some webserivces our there that can pull stock  info for
you (formatted in xml)... http://ws.invesbot.com/stockquotes.asmx is
a good one. You can create an webpage (asp, aspx, etc) that calls
this webservice, then use the page  viewer web  part to display the
webpage on your sharepoint page. You can set the size and shape of
the page viewer part  so it will only display what you want.

You could also create your own ticker web part, which is a little
more involved, but is a nicer looking solution.

 
Answer #2       Answered By: Chadd Hahn          Answered On: Apr 23, 2006       

When ever I try to add reference to a web  service I get the following
error:

The underlying connection was closed: The proxy name could not be
resolved, verify correct proxy configuration. I did check my proxy
configuration but not able to establish whatz making the problem. Can
you provide little instruction...

 
Answer #3       Answered By: Cheryl Kelley          Answered On: Apr 23, 2006       

Since you are getting the data from Yahoo (a URL accessible resource),
why not use a Data View Web Part?

Ask more questions if that doesn't get you going in the right direction.

 
Answer #4       Answered By: Sharonda Mcfarland          Answered On: Apr 23, 2006       

I tried putting in Page Viewer web  part but the context prompts with the
option to Save or Open or cancel dialog box. I am not able to show it on
the dashboard. The file is in CSV extension. Here it is.... I just want
to load this url and take the price of the quote.

http://finance.yahoo.com/d/quotes.csv?s=" +504067.BO+ "&f=sl1d1t1c1ohgv

I am not able to load this web site through a Code. I get a runtime
error stating the Underlying Connection is closed. I tried a lot to fix
it but no help.

 
Didn't find what you were looking for? Find more on Webpart to read text Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].