• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Suggestions?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Suggestions?


  • Subject: Re: Suggestions?
  • From: Michael Sitarzewski <email@hidden>
  • Date: Wed, 1 Aug 2001 09:52:51 -0600

Wow Andreas thanks! I believe that that is exactly what I was looking for! :)

On Wednesday, August 1, 2001, at 04:11 AM, Andreas Monitzer wrote:

On Wednesday, August 1, 2001, at 07:12 , Michael Sitarzewski wrote:

NSURL looks nice, but is it right for this?

NSURL *url = [NSURL URLWithString:@"http://finance.yahoo.com/q?s=AAPL&d=v1";
];

NSString *htmlString = [NSString stringWithContentsOfURL:url];

Cocoa rocks! You could write some handy parsing code and probably suck the relevant financial data right out of the page. If writing a parser in objective-c doesn't sound fun, you could probably even write a small parser in perl and call the perl script from your app to parse the page for you.

zerologic corporation http://www.zerologic.com/
email@hidden Phone/Fax: 303.827.2379 x2846


References: 
 >Re: Suggestions? (From: Andreas Monitzer <email@hidden>)

  • Prev by Date: Re: Suggestions?
  • Next by Date: sscanf replacement
  • Previous by thread: Re: Suggestions?
  • Next by thread: Re: Suggestions?
  • Index(es):
    • Date
    • Thread