Re: [WebDNA] bitly url shortener integration

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112979
interpreted = N
texte = 566 You're right, that did it, thanks Tom. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 09/12/2016 10:03 AM, Tom Duke wrote: > Ken, > > Hi - I don't have any code for this, but looks to me like you > could easily use [shell]curl [/shell] to send your long URL to > their API and get a shortened URL back. > > https://dev.bitly.com/links.html#v3_shorten > > add '&format=txt' to the request and you don't even have to parse > the JSON. > > - Tom > > > > > > > ============================================== > Digital Revolutionaries > 1st Floor, Castleriver House > 14-15 Parliament Street > Temple Bar,Dublin 2 > Ireland > ---------------------------------------------- > [t]: + 353 1 4403907 > [e]: > > [w]: > ============================================== > > On 12 September 2016 at 15:42, Kenneth Grome > > wrote: > > Does anyone have code they can share that sends a dynamically > WebDNA-generated URL to bitly, and then waits for bitly to return > the corresponding shortened URL ... to be used in a [sendmail] > message or stored in a database or something simmilar? > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Administration > > > --------------------------------------------------------- > 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 > > Bug Reporting: support@webdna.us > > > --------------------------------------------------------- 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 Bug Reporting: > support@webdna.us --------------------------------------------------------- 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 Bug Reporting: support@webdna.us . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] bitly url shortener integration (Kenneth Grome 2016)
  2. Re: [WebDNA] bitly url shortener integration (Tom Duke 2016)
  3. [WebDNA] bitly url shortener integration (Kenneth Grome 2016)
566 You're right, that did it, thanks Tom. Regards, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com Web Database Systems and Linux Server Administration On 09/12/2016 10:03 AM, Tom Duke wrote: > Ken, > > Hi - I don't have any code for this, but looks to me like you > could easily use [shell]curl [/shell] to send your long URL to > their API and get a shortened URL back. > > https://dev.bitly.com/links.html#v3_shorten > > add '&format=txt' to the request and you don't even have to parse > the JSON. > > - Tom > > > > > > > ============================================== > Digital Revolutionaries > 1st Floor, Castleriver House > 14-15 Parliament Street > Temple Bar,Dublin 2 > Ireland > ---------------------------------------------- > [t]: + 353 1 4403907 > [e]: > > [w]: > ============================================== > > On 12 September 2016 at 15:42, Kenneth Grome > > wrote: > > Does anyone have code they can share that sends a dynamically > WebDNA-generated URL to bitly, and then waits for bitly to return > the corresponding shortened URL ... to be used in a [sendmail] > message or stored in a database or something simmilar? > > Regards, > Kenneth Grome > WebDNA Solutions > http://www.webdnasolutions.com > Web Database Systems and Linux Server Administration > > > --------------------------------------------------------- > 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 > > Bug Reporting: support@webdna.us > > > --------------------------------------------------------- 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 Bug Reporting: > support@webdna.us --------------------------------------------------------- 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 Bug Reporting: support@webdna.us . Kenneth Grome

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:

Help name our technology! (1997) Upload to LINUX always breaks my sites - why? (2004) Sorting a Search... (1998) Include a big block of text (1997) Search wbrk word break param (1998) Help name our technology! I found it (1997) Three new problems, maybe a fourth (1997) PSC recommends what date format yr 2000??? (1997) [WebDNA] Searching for encrypted values (2014) Problem 2: Prefs file... (1997) Signal Raised (1997) Limit to Field Length in DB (1998) bannerads example idiot (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) [WebDNA] DNA suffix (2008) suffix mapping for NT? (1997) [referrer] tag (1997) textarea text truncated by browser (2000) [WebDNA] Fwd: TCPConnect DATA= REQUEST_DENIED You must use an API key to (2019) no global [username] or [password] displayed ... (1997)