Re: Bug 1852: support creation of xmpp: field types in OGo
Adam Williams <[email protected]> Sun, 25 Mar 2007 12:55:03 -0400
| Newsgroups | gmane.comp.cms.opengroupware.discuss.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, 2007-03-25 at 18:58 +0200, Helge Hess wrote: > On Mar 25, 2007, at 18:34, Adam Williams wrote: > > but, again, what > > about cases where the URL looks like: aim:goim?screenname=notarealuser > > Here the UI would ave to see the "aim:" and take out all the text > > after > > the "=". > Exactly. So what? :-) Just turn the String object into a URL object > and display the necessary parts. Doh! Of course that works, need more coffee. In .NET Uri(value) blows a UriFormatException if you pass it something that is crap, so you know it isn't a URL, otherwise it is a link to something. Simple enough. > By using different type's for URIs, you just replicate typing > functionality already contained in the URI. What is harder, letting > all clients know about all types we invent or just use the already > available parsers and documented URI scheme? ;-) -- OpenGroupware.org Discussion [email protected] http://mail.opengroupware.org/mailman/listinfo/discuss