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:

PCS Emailer's role ? (1997) the dreaded unitShipCost (2003) Search design (1997) RE: 2nd WebCatalog2 Feature Request (1996) Showing unopened cart (1997) Bug? (1997) shipping costs (1997) Internal server error (2004) Just Testing (1997) Shopping Cart ID (1998) form data submission gets truncated (1997) Fw: Linux w/ apache (2000) [WebDNA] Grep out square brackets? (2010) Variable prices and Formulas.db (1997) The Top Ten (2002) TABLE (2003) Single Link browsing (1997) dos performance (1998) WC2.0 Memory Requirements (1997) I'm tired of all this! (2000)