RE: [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 = 102775
interpreted = N
texte = It comes out as www.ka nuhawaii.org/today/article/?id=1205835406429523 Which doesn't work. I tried to modify to account for other ending chars like ) but when I add a . it breaks down completely. -----Original Message----- From: Donovan Brooke [mailto:dbrooke@webdna.us] Sent: Monday, June 22, 2009 9:39 AM To: talk@webdna.us Subject: Re: [WebDNA] anyone know how to enable URLs in plain text to links? Olin Lagon wrote: > 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 That link worked in my email client. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us old archives: http://dev.webdna.us/TalkListArchive/ 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)
It comes out as www.ka nuhawaii.org/today/article/?id=1205835406429523 Which doesn't work. I tried to modify to account for other ending chars like ) but when I add a . it breaks down completely. -----Original Message----- From: Donovan Brooke [mailto:dbrooke@webdna.us] Sent: Monday, June 22, 2009 9:39 AM To: talk@webdna.us Subject: Re: [WebDNA] anyone know how to enable URLs in plain text to links? Olin Lagon wrote: > 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 That link worked in my email client. Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us old archives: http://dev.webdna.us/TalkListArchive/ "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:

Windows-based Code Editor (2002) I'm new be kind (1997) Emailer (1997) RE: Answer: WebDelivery downloads alias, not original ? (1997) [WebDNA] Encode cookies ONLY via "method=Base64" (2008) WebCatalog2 Feature Feedback (1996) question... no field names? (2002) WebCatalog for guestbook ? (1997) PIXO support (1997) Re2: frames & carts (1997) [HIDEIF] inside [FOUNDITEM] (1997) Webstar 1.3.1 PPC (1997) WebDNA & HTML Problems (2003) Quiz question: Return all green and blank records? (2001) Running 2 two WebCatalog.acgi's (1996) Encrypt/Decrypt (2007) FlushDatabase Suggestion (1998) A Global Variable (1997) Re:no [search] with NT (1997) [OT] Form POSTing with LONG variable (2007)