Re: [WebDNA] MailChimp
This WebDNA talk-list message is from 2012
It keeps the original formatting.
numero = 109188
interpreted = N
texte = Thanks.I am just back from holiday and saw this post.Thanks for your help :)On 09/06/2012, at 12:37 AM, Philip Edell wrote:> Thanks your code worked a treat.>=20> Yours>=20> Phil.> On 7 Jun 2012, at 18:01, aaronmichaelmusic@gmail.com wrote:>=20>> 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.>>=20>> [!]***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]>>=20>> On Jun 7, 2012, at 11:10 AM, Philip Edell wrote:>>=20>>> 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>>=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:
Thanks.I am just back from holiday and saw this post.Thanks for your help :)On 09/06/2012, at 12:37 AM, Philip Edell wrote:> Thanks your code worked a treat.>=20> Yours>=20> Phil.> On 7 Jun 2012, at 18:01, aaronmichaelmusic@gmail.com wrote:>=20>> 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.>>=20>> [!]***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]>>=20>> On Jun 7, 2012, at 11:10 AM, Philip Edell wrote:>>=20>>> 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>>=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
Stuart Tremain
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:
Robert Minor duplicate mail (1997)
More than one db with the same namn (was: WC2f3) (1997)
Training Tapes Improved (1998)
Help with taxTotal calculation (1998)
Solution help needed (1998)
[searchString] (1997)
[WebDNA] webdna in amazon (2020)
Sort Order on a page search (1997)
Sendmail doesn't (was Queertrons?) (1997)
Help with Shipping Costs (1997)
embedding [showcart] ??? (1998)
Moment of Thanks (1997)
LOOP and IF statements (1997)
SKU (1997)
This Code Kills My WebCatalog Dead (2003)
change the number format (1997)
[WriteFile] problems (1997)
Before I Can Begin . . . (1998)
Setting up shop (1997)
CART question (2004)