[WebDNA] anyone know how to enable URLs in plain text to links?

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102773
interpreted = N
texte = Aloha, I saw the snippet from Tom to use grep to turn plain text URLs into links [grep search=http://([^ ]*)&replace=\1][grep search=http://([^%0A]*)&replace=http://\1 ] http://www.url1.com/ http://www.url2.com/test/test?test=test$ http://www.url3.co.uk [/grep][/grep] But it doesn't work for all URL cases. For instance, the URL in this paragraph In Hawaii, we unfortunately are the solid waste champs. We produce more than 10 pounds per person, per day. On a per-resident basis, we produce about twice the waste of the average American, and three times more than the average European (see www.kanuhawaii.org/today/article/?id=1205835406429523). Over the past decade, our family has been moving slowly towards reducing our solid waste by making changes, some easy and some hard. We are down to about 1 to 2 pounds per person per day, but I know we can do better. Get's converted to: http://www.kanuhawaii.org/today/article/?id=1205835406429523). Anyone have other suggestions for converting plain text URLs to links? Thanks! Olin Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] anyone know how to enable URLs in plain text to links? ("Olin Lagon" 2009)
  2. Re: [WebDNA] anyone know how to enable URLs in plain text to links? (Donovan Brooke 2009)
  3. RE: [WebDNA] anyone know how to enable URLs in plain text to links? ("Olin Lagon" 2009)
  4. Re: [WebDNA] anyone know how to enable URLs in plain text to links? (Donovan Brooke 2009)
  5. [WebDNA] anyone know how to enable URLs in plain text to links? ("Olin Lagon" 2009)
Aloha, I saw the snippet from Tom to use grep to turn plain text URLs into links [grep search=http://([^ ]*)&replace=\1][grep search=http://([^%0A]*)&replace=http://\1 ] http://www.url1.com/ http://www.url2.com/test/test?test=test$ http://www.url3.co.uk [/grep][/grep] But it doesn't work for all URL cases. For instance, the URL in this paragraph In Hawaii, we unfortunately are the solid waste champs. We produce more than 10 pounds per person, per day. On a per-resident basis, we produce about twice the waste of the average American, and three times more than the average European (see www.kanuhawaii.org/today/article/?id=1205835406429523). Over the past decade, our family has been moving slowly towards reducing our solid waste by making changes, some easy and some hard. We are down to about 1 to 2 pounds per person per day, but I know we can do better. Get's converted to: http://www.kanuhawaii.org/today/article/?id=1205835406429523). Anyone have other suggestions for converting plain text URLs to links? Thanks! Olin "Olin Lagon"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Bug or syntax error on my part? (1997) TCPconnect to DNS (2000) Speed Test Results Dell 2650 Xeon 2.4ghz (2002) searching multiple databases (1997) shipcost (1997) SiteEditPro (1996) UK credit card info follow-up (1997) Writing a Protect Tag (1999) [WebDNA] The Single-Vendor Commercial Open Source Business Model (2012) SERIAL NUMBER BEING LOST AGAIN!!! (1999) cart ID (1998) Tech support (2000) WebDNA dying or ... ? (2005) File dates in WebCatalog .tmpl/.inc (1997) Num Sort Descending (2004) Bugs in IE 6.0 ? (2003) too many nested tags ... (1997) Random ads (1998) creator code (1997) For those of you not on the WebCatalog Beta... (1997)