Re: [WebDNA] MailChimp

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109164
interpreted = N
texte = This is from a project I did a few months ago. I only touched it up = briefly before posting, so let me know if anything is unclear. [!]***ADD TO MAILCHIMP ***[/!] [text]crlf=3D[unurl]%0D%0A[/unurl][/text] [text]connectHost=3Dus1.api.mailchimp.com[/text] [text]useSSL=3DF[/text] [text]scopeURI=3D1.3/[/text] [text]_fname=3D[word][/text] [text]_lname=3D[word][/text] = [text]params=3Doutput=3Dxml&method=3DlistSubscribe&apikey=3D[api_key]&id=3D= [mailchimp_id]&email_address=3D[email]&merge_vars[FNAME]=3D[_fname]&merge_= vars[LNAME]=3D[_lname]&merge_vars[MMERGE4]=3D[Format Days_To_Date = %m/%d][math]{[birthdate]}[/math][/format]&double_optin=3D0[/text] [text]call_response=3D[!]  [/!][TCPconnect host=3D[connectHost][showif = [useSSL]=3DT]&SSL=3DT&port=3D443[/showif]][!]  [/!][TCPsend skipheader=3DT]POST = /[scopeURI]?[params] HTTP/1.0[crlf][!]=09  [/!]Host: [connectHost][crlf][!]  [/!]Content-Length: = [countchars][params][/countChars][crlf][!]  [/!]USER-AGENT: Mozilla/4.0 (compatible; = MSIE 5.01; Windows NT 5.0)[crlf][!]  [/!][crlf][!]  [/!][params][crlf][!]  [/!][/TCPSend][!]  [/!][/TCPconnect][/text] On Jun 7, 2012, at 11:10 AM, Philip Edell wrote: > Hi Stuart, >=20 > To pick up an old thread of yours from a couple of weeks ago... maybe = you got it working? >=20 > I'm failing to make this work and just posted on the MailChimp = group... >=20 > Any ideas? >=20 >=20 > All the best, >=20 > Phil. >=20 > I am using WebDNA to send the request to MAilChimp API but its not = working as expected.... >=20 > The URL when entered into browser works fine and returns "true", the = address is added. >=20 > When sending via WebDNA I get an error 404. It doenst seem to like my = GET /1.3/ >=20 > = https://us2.api.mailchimp.com/1.3/?output=3Djson&method=3DlistSubscribe&ap= ikey=3DREDACTED-us2&id=3DREDACTED&email_address=3DREDACTED&email_type=3Dht= ml&double_optin=3Dfalse&update_existing=3Dfalse&replace_interests=3Dfalse&= send_welcome=3Dfalse >=20 > FYI the WebDNA code is: >=20 > [text]mailchimp_API_key=3D...-us2[/text] > [text]mailchimp_API_endpoint=3Dus2.api.mailchimp.com[/text] > [text]mailchimp_API_version=3D1.3[/text] > [text]mailchimp_API_list_id=3D...[/text] > [text]CRLF=3D[unurl]%0D%0A[/unurl][/text] >=20 >=20 > [TEXT]content=3D[!] > [/!]?output=3D[URL]json[/URL][!] > [/!]&method=3D[URL]listSubscribe[/URL][!] > [/!]&apikey=3D[URL][mailchimp_API_key][/URL][!] > [/!]&id=3D[URL][mailchimp_API_list_id][/URL][!] >=20 > [/!]&email_address=3D[URL][email][/URL][!] =20 >=20 > [/!]&email_type=3D[URL]html[/URL][!] > [/!]&double_optin=3D[URL]false[/URL][!] > [/!]&update_existing=3D[URL]false[/URL][!] > [/!]&replace_interests=3D[URL]false[/URL][!] > [/!]&send_welcome=3D[URL]false[/URL][!] > [/!][/TEXT] >=20 >=20 > [text]reply=3D[!] > [/!][tcpconnect host=3D[mailchimp_API_endpoint]&port=3D443&SSL=3DT][!] > [/!][tcpsend skipheader=3Df]GET /1.3/ HTTP/1.0[CRLF][!] > [/!]User-Agent: Mozilla/4.0[CRLF][!] > [/!]Content-type: text/namevalue[CRLF][!] > [/!]Content-Length: [countchars][content][/CountChars][CRLF][!] > [/!][CRLF][!] > [/!][content][CRLF][!] > [/!][/tcpsend][!] > [/!][/tcpconnect][/text] >=20 > [reply] >=20 > On 10 May 2012, at 07:30, Stuart Tremain wrote: >=20 >> Has anyone done a MailChimp integration they would like to share ? >>=20 >> Regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> 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 >=20 > --------------------------------------------------------- > 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] MailChimp (Stuart Tremain 2012)
  2. Re: [WebDNA] MailChimp (Philip Edell 2012)
  3. Re: [WebDNA] MailChimp (Philip Edell 2012)
  4. Re: [WebDNA] MailChimp (Philip Edell 2012)
  5. Re: [WebDNA] MailChimp (aaronmichaelmusic@gmail.com 2012)
  6. Re: [WebDNA] MailChimp (Philip Edell 2012)
  7. [WebDNA] MailChimp (Stuart Tremain 2012)
This is from a project I did a few months ago. I only touched it up = briefly before posting, so let me know if anything is unclear. [!]***ADD TO MAILCHIMP ***[/!] [text]crlf=3D[unurl]%0D%0A[/unurl][/text] [text]connectHost=3Dus1.api.mailchimp.com[/text] [text]useSSL=3DF[/text] [text]scopeURI=3D1.3/[/text] [text]_fname=3D[word][/text] [text]_lname=3D[word][/text] = [text]params=3Doutput=3Dxml&method=3DlistSubscribe&apikey=3D[api_key]&id=3D= [mailchimp_id]&email_address=3D[email]&merge_vars[FNAME]=3D[_fname]&merge_= vars[LNAME]=3D[_lname]&merge_vars[MMERGE4]=3D[Format Days_To_Date = %m/%d][math]{[birthdate]}[/math][/format]&double_optin=3D0[/text] [text]call_response=3D[!]  [/!][TCPconnect host=3D[connectHost][showif = [useSSL]=3DT]&SSL=3DT&port=3D443[/showif]][!]  [/!][TCPsend skipheader=3DT]POST = /[scopeURI]?[params] HTTP/1.0[crlf][!]=09  [/!]Host: [connectHost][crlf][!]  [/!]Content-Length: = [countchars][params][/countChars][crlf][!]  [/!]USER-AGENT: Mozilla/4.0 (compatible; = MSIE 5.01; Windows NT 5.0)[crlf][!]  [/!][crlf][!]  [/!][params][crlf][!]  [/!][/TCPSend][!]  [/!][/TCPconnect][/text] On Jun 7, 2012, at 11:10 AM, Philip Edell wrote: > Hi Stuart, >=20 > To pick up an old thread of yours from a couple of weeks ago... maybe = you got it working? >=20 > I'm failing to make this work and just posted on the MailChimp = group... >=20 > Any ideas? >=20 >=20 > All the best, >=20 > Phil. >=20 > I am using WebDNA to send the request to MAilChimp API but its not = working as expected.... >=20 > The URL when entered into browser works fine and returns "true", the = address is added. >=20 > When sending via WebDNA I get an error 404. It doenst seem to like my = GET /1.3/ >=20 > = https://us2.api.mailchimp.com/1.3/?output=3Djson&method=3DlistSubscribe&ap= ikey=3DREDACTED-us2&id=3DREDACTED&email_address=3DREDACTED&email_type=3Dht= ml&double_optin=3Dfalse&update_existing=3Dfalse&replace_interests=3Dfalse&= send_welcome=3Dfalse >=20 > FYI the WebDNA code is: >=20 > [text]mailchimp_API_key=3D...-us2[/text] > [text]mailchimp_API_endpoint=3Dus2.api.mailchimp.com[/text] > [text]mailchimp_API_version=3D1.3[/text] > [text]mailchimp_API_list_id=3D...[/text] > [text]CRLF=3D[unurl]%0D%0A[/unurl][/text] >=20 >=20 > [text]content=3D[!] > [/!]?output=3D[url]json[/URL][!] > [/!]&method=3D[url]listSubscribe[/URL][!] > [/!]&apikey=3D[url][mailchimp_API_key][/URL][!] > [/!]&id=3D[url][mailchimp_API_list_id][/URL][!] >=20 > [/!]&email_address=3D[url][email][/URL][!] =20 >=20 > [/!]&email_type=3D[url]html[/URL][!] > [/!]&double_optin=3D[url]false[/URL][!] > [/!]&update_existing=3D[url]false[/URL][!] > [/!]&replace_interests=3D[url]false[/URL][!] > [/!]&send_welcome=3D[url]false[/URL][!] > [/!][/TEXT] >=20 >=20 > [text]reply=3D[!] > [/!][tcpconnect host=3D[mailchimp_API_endpoint]&port=3D443&SSL=3DT][!] > [/!][tcpsend skipheader=3Df]GET /1.3/ HTTP/1.0[CRLF][!] > [/!]User-Agent: Mozilla/4.0[CRLF][!] > [/!]Content-type: text/namevalue[CRLF][!] > [/!]Content-Length: [countchars][content][/CountChars][CRLF][!] > [/!][CRLF][!] > [/!][content][CRLF][!] > [/!][/tcpsend][!] > [/!][/tcpconnect][/text] >=20 > [reply] >=20 > On 10 May 2012, at 07:30, Stuart Tremain wrote: >=20 >> Has anyone done a MailChimp integration they would like to share ? >>=20 >> Regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- >> 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 >=20 > --------------------------------------------------------- > 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 aaronmichaelmusic@gmail.com

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:

WebCatalog can't find database (1997) authenticating a second user, the sequel (1997) Detecting SSL or port (2005) Sorting Problems (2004) Date Time Oddness (1999) [BoldWords] WebCat.acgib15Mac (1997) trouble updating records in database (1998) Credit Card Checksum (1997) Here is the code: (2000) LOOP and IF statements (1997) Re1000001: Setting up shop (1997) Initiating NewCart (1997) Multi-Row Tables from a search. (1997) Re:Dumb Question about Docs (1997) Not really WebCat (1997) Authenticate (1999) WebCatalog for guestbook ? (1997) WebDNA made easier? (1998) Re[2]: 2nd WebCatalog2 Feature Request (1996) Fwd: Emailer Error code 530? SMITHMICRO (2002)