Re: [WebDNA] MailChimp

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109165
interpreted = N
texte = Thanks, thats really good of you. Ill try it and let you know. Cheers, Phil. On 7 Jun 2012, at 18:01, aaronmichaelmusic@gmail.com wrote: > 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=[unurl]%0D%0A[/unurl][/text] > [text]connectHost=us1.api.mailchimp.com[/text] > [text]useSSL=F[/text] > [text]scopeURI=1.3/[/text] > [text]_fname=[word][/text] > [text]_lname=[word][/text] > [text]params=output=xml&method=listSubscribe&apikey=[api_key]&id=[mailchimp_id]&email_address=[email]&merge_vars[FNAME]=[_fname]&merge_vars[LNAME]=[_lname]&merge_vars[MMERGE4]=[Format Days_To_Date %m/%d][math]{[birthdate]}[/math][/format]&double_optin=0[/text] > [text]call_response=[!] >  [/!][TCPconnect host=[connectHost][showif [useSSL]=T]&SSL=T&port=443[/showif]][!] >  [/!][TCPsend skipheader=T]POST /[scopeURI]?[params] HTTP/1.0[crlf][!] >  [/!]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, >> >> To pick up an old thread of yours from a couple of weeks ago... maybe you got it working? >> >> I'm failing to make this work and just posted on the MailChimp group... >> >> Any ideas? >> >> >> All the best, >> >> Phil. >> >> I am using WebDNA to send the request to MAilChimp API but its not working as expected.... >> >> The URL when entered into browser works fine and returns "true", the address is added. >> >> When sending via WebDNA I get an error 404. It doenst seem to like my GET /1.3/ >> >> https://us2.api.mailchimp.com/1.3/?output=json&method=listSubscribe&apikey=REDACTED-us2&id=REDACTED&email_address=REDACTED&email_type=html&double_optin=false&update_existing=false&replace_interests=false&send_welcome=false >> >> FYI the WebDNA code is: >> >> [text]mailchimp_API_key=...-us2[/text] >> [text]mailchimp_API_endpoint=us2.api.mailchimp.com[/text] >> [text]mailchimp_API_version=1.3[/text] >> [text]mailchimp_API_list_id=...[/text] >> [text]CRLF=[unurl]%0D%0A[/unurl][/text] >> >> >> [TEXT]content=[!] >> [/!]?output=[URL]json[/URL][!] >> [/!]&method=[URL]listSubscribe[/URL][!] >> [/!]&apikey=[URL][mailchimp_API_key][/URL][!] >> [/!]&id=[URL][mailchimp_API_list_id][/URL][!] >> >> [/!]&email_address=[URL][email][/URL][!] >> >> [/!]&email_type=[URL]html[/URL][!] >> [/!]&double_optin=[URL]false[/URL][!] >> [/!]&update_existing=[URL]false[/URL][!] >> [/!]&replace_interests=[URL]false[/URL][!] >> [/!]&send_welcome=[URL]false[/URL][!] >> [/!][/TEXT] >> >> >> [text]reply=[!] >> [/!][tcpconnect host=[mailchimp_API_endpoint]&port=443&SSL=T][!] >> [/!][tcpsend skipheader=f]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] >> >> [reply] >> >> On 10 May 2012, at 07:30, Stuart Tremain wrote: >> >>> Has anyone done a MailChimp integration they would like to share ? >>> >>> Regards >>> >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>> >>> >>> >>> >>> --------------------------------------------------------- >>> 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] 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)
Thanks, thats really good of you. Ill try it and let you know. Cheers, Phil. On 7 Jun 2012, at 18:01, aaronmichaelmusic@gmail.com wrote: > 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=[unurl]%0D%0A[/unurl][/text] > [text]connectHost=us1.api.mailchimp.com[/text] > [text]useSSL=F[/text] > [text]scopeURI=1.3/[/text] > [text]_fname=[word][/text] > [text]_lname=[word][/text] > [text]params=output=xml&method=listSubscribe&apikey=[api_key]&id=[mailchimp_id]&email_address=[email]&merge_vars[FNAME]=[_fname]&merge_vars[LNAME]=[_lname]&merge_vars[MMERGE4]=[Format Days_To_Date %m/%d][math]{[birthdate]}[/math][/format]&double_optin=0[/text] > [text]call_response=[!] >  [/!][TCPconnect host=[connectHost][showif [useSSL]=T]&SSL=T&port=443[/showif]][!] >  [/!][TCPsend skipheader=T]POST /[scopeURI]?[params] HTTP/1.0[crlf][!] >  [/!]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, >> >> To pick up an old thread of yours from a couple of weeks ago... maybe you got it working? >> >> I'm failing to make this work and just posted on the MailChimp group... >> >> Any ideas? >> >> >> All the best, >> >> Phil. >> >> I am using WebDNA to send the request to MAilChimp API but its not working as expected.... >> >> The URL when entered into browser works fine and returns "true", the address is added. >> >> When sending via WebDNA I get an error 404. It doenst seem to like my GET /1.3/ >> >> https://us2.api.mailchimp.com/1.3/?output=json&method=listSubscribe&apikey=REDACTED-us2&id=REDACTED&email_address=REDACTED&email_type=html&double_optin=false&update_existing=false&replace_interests=false&send_welcome=false >> >> FYI the WebDNA code is: >> >> [text]mailchimp_API_key=...-us2[/text] >> [text]mailchimp_API_endpoint=us2.api.mailchimp.com[/text] >> [text]mailchimp_API_version=1.3[/text] >> [text]mailchimp_API_list_id=...[/text] >> [text]CRLF=[unurl]%0D%0A[/unurl][/text] >> >> >> [text]content=[!] >> [/!]?output=[url]json[/URL][!] >> [/!]&method=[url]listSubscribe[/URL][!] >> [/!]&apikey=[url][mailchimp_API_key][/URL][!] >> [/!]&id=[url][mailchimp_API_list_id][/URL][!] >> >> [/!]&email_address=[url][email][/URL][!] >> >> [/!]&email_type=[url]html[/URL][!] >> [/!]&double_optin=[url]false[/URL][!] >> [/!]&update_existing=[url]false[/URL][!] >> [/!]&replace_interests=[url]false[/URL][!] >> [/!]&send_welcome=[url]false[/URL][!] >> [/!][/TEXT] >> >> >> [text]reply=[!] >> [/!][tcpconnect host=[mailchimp_API_endpoint]&port=443&SSL=T][!] >> [/!][tcpsend skipheader=f]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] >> >> [reply] >> >> On 10 May 2012, at 07:30, Stuart Tremain wrote: >> >>> Has anyone done a MailChimp integration they would like to share ? >>> >>> Regards >>> >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>> >>> >>> >>> >>> --------------------------------------------------------- >>> 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 Philip Edell

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:

RE: Formulas.db + Users.db (1997) Upgrade to WebCat2 from Commerce Lite (1997) Bug or syntax error on my part? (1997) Show shoppingcart after remove last item (1997) [ShowNext] feature in 2.0 (1997) ShippingCosts (1998) Multiple catalog databases and showcart (1997) How do I get Google to crawl a WebCat site? (2003) breaking words (1997) About WebDNA (2006) PCS Frames (1997) message board (2001) Late on Friday.... brain fried (2002) Multiple catalog databases and showcart (1997) searching multiple databases in single search (1997) WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998) passing search criteria (1997) Is this possible in simple search? question? (1998) wc 2 pro users - sites, quotes wanted (1997) How flexible is Shipping? (1997)