Re: URL Parsing

2009-04-28 Thread Mike Abdullah
Also have a look at: http://trac.adiumx.com/wiki/AutoHyperlinksFramework On 28 Apr 2009, at 05:05, Mr. Gecko wrote: One thing I can try is to put every word in a array, go through them, see if they contain http or https in the beginning, if so add a href=URLURL/a to it. On Apr 27, 2009,

Re: URL Parsing

2009-04-28 Thread Mike Abdullah
Have a look at how it works; very simple to write your own version using their scanner that generates HTML. In fact I have a rough implementation as a patch sitting in their tracker system somewhere. On 28 Apr 2009, at 16:34, Mr. Gecko wrote: Can't really do that because I'm needing it to

URL Parsing

2009-04-27 Thread Mr. Gecko
Hello, I'm trying to parse out urls in a string and make them into html links so when I put the string into webview people can click them. Any help? Thanks, Mr. Gecko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Re: URL Parsing

2009-04-27 Thread Ken Thomases
On Apr 27, 2009, at 8:57 PM, Mr. Gecko wrote: Hello, I'm trying to parse out urls in a string and make them into html links so when I put the string into webview people can click them. Any help? I haven't done any work with WebKit, but NSTextView and NSAttributedString have facilities

Re: URL Parsing

2009-04-27 Thread Mr. Gecko
One thing I can try is to put every word in a array, go through them, see if they contain http or https in the beginning, if so add a href=URLURL/a to it. On Apr 27, 2009, at 10:01 PM, Ken Thomases wrote: On Apr 27, 2009, at 8:57 PM, Mr. Gecko wrote: Hello, I'm trying to parse out urls in

Re: URL Parsing

2009-01-29 Thread Jerry Krinock
On 2009 Jan 28, at 20:42, Seth Willits wrote: I can put together my own solution, but I'm *sure* there has to be some real way of doing this built-in *somewhere*, so I have to ask... 24 hours with no reply probably means that you haven't missed any built-in API. My app has a URL

Re: URL Parsing

2009-01-29 Thread Seth Willits
On Jan 29, 2009, at 9:08 PM, Jerry Krinock wrote: Well, once you start getting into all the encoding issues, it gets a little complicated. A couple months ago I collected all my methods related to this in a category on NSString. I've done some in-house testing on it, but there still may

URL Parsing

2009-01-28 Thread Seth Willits
I can put together my own solution, but I'm *sure* there has to be some real way of doing this built-in *somewhere*, so I have to ask... My app has a URL handler, and I want the user to be able to click a link to save some time to things. The URL would have the form: