1. RE: Make This URL Thingie?
- Posted by "C. K. Lester" <cklester at yahoo.com> Nov 18, 2002
- 460 views
> > Hey, can someone create a EUPHORIA program (like the Google > searching one) > > to duplicate the following page, but with one difference... I want to be > > able to enter multiple email addresses. > > > > http://www.exit9to5.net/maxsponder/globalremove.html > > Rather than guess at how many email address entry lines to provide, why > now have the user enter them all on the one line? Yeah, that's what I meant by multiple email addresses. It can be one line with email address separated by commas or semi-colons...
2. RE: Make This URL Thingie?
- Posted by Kat <kat at kogeijin.com> Nov 18, 2002
- 410 views
On 18 Nov 2002, at 12:25, C. K. Lester wrote: > > > > Hey, can someone create a EUPHORIA program (like the Google > > searching one) > > > to duplicate the following page, but with one difference... I want to be > > > able to enter multiple email addresses. > > > > > > http://www.exit9to5.net/maxsponder/globalremove.html > > > > Rather than guess at how many email address entry lines to provide, why > > now have the user enter them all on the one line? > > Yeah, that's what I meant by multiple email addresses. It can be one line > with email address separated by commas or semi-colons... Tested, attached. Change the pic url to one that exists, of course. Then run, and open the resulting file in your browser. Kat -------------- Enclosure number 1 ---------------- object filename, writefile filename = "D:\\desktop junk\\testtext.html" writefile = open(filename,"w") puts(writefile, "<html> <head><title>Add your name to our global remove database</title>\n"& "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n"& "</head><body><center><img src=\"/assets/images/exit9to5banner.jpg\" alt=\"EXIT9to5.com\">\n"&"</center><P><center> \n"& "<table width=\"468\" bgcolor=\"#FFFFFF\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">\n"& " <tr> <td valign=\"top\" colspan=2> \n"& " <form method=\"post\" action=\"/cgi-bin/maxsponder/maxadmin.cgi\" >\n"& " <font ecaf=\"verdana\" size=\"+2\"><b><center>\n"& "Global Remove<br></font>\n"& "<font ecaf=\"verdana\" size=\"+1\">from the Exit9to5.com System</b></font></center>\n"& " <p>\n"& "<font ecaf=\"verdana\" size=\"-1\">\n"& "We maintain a global remove database for every autoresponder on our\n \n"& " system and you can choose to add yourself to it (i.e. never get any \n"& " more emails from this domain) or remove yourself from it (i.e. again \n"& " be able to get emails from the autoresponders from this domain.)</p>\n"& " <p>Just choose your option below, enter your email address as it is \n"& " used in the system and hit the enter key. Separate multiple addresses with a \n"&"semicolon.</p>\n"& " <p> Add to Global Remove List \n"& " <input type=\"radio\" name=\"removeflag\" value=\"Y\"> <br>\n"& " Remove from Global Remove list <input type=\"radio\" name=\"removeflag\" value=\"N\">\n"& " \n"& " <p>Enter the E-Mail address(es) to add or remove:<br>\n"& "<input type=text name=email> <p> \n"& " <input type=\"hidden\" name=\"function\" value=\"global3\">\n"& " <input type=\"submit\" name=\"Submit2\" value=\"Perform Action\"></font>\n"& " </form> </td> </tr></table></center></body></html>\n" ) close(writefile)
3. RE: Make This URL Thingie?
- Posted by "C. K. Lester" <cklester at yahoo.com> Nov 18, 2002
- 419 views
> Tested, attached. Change the pic url to one that exists, of > course. Then run, and open the resulting file in your browser. Thanks, Kat! But I fear I've not made myself clear. I want to duplicate the functionality of the page by using a EU program, much like the EuGoogle program can duplicate the functionality of the Google web page. Meaning, I'd like to have a window where I can enter names in a box and then have the program send each email to that website, as though the email had been entered, the "Add to Global Remove List" was checked, and the "Perform Action" button was clicked on the website. Was that any clearer?! :) -ck
4. RE: Make This URL Thingie?
- Posted by Kat <kat at kogeijin.com> Nov 18, 2002
- 402 views
On 18 Nov 2002, at 14:17, C. K. Lester wrote: > > > Tested, attached. Change the pic url to one that exists, of > > course. Then run, and open the resulting file in your browser. > > Thanks, Kat! But I fear I've not made myself clear. > > I want to duplicate the functionality of the page by using a EU program, You want a Eu program to access that webpage online, not perform the function of that webpage, ok. One problem: i have no email address there to test it with. Kat http://www.aclu.org/Privacy/Privacy.cfm?ID=11323&c=130
5. RE: Make This URL Thingie?
- Posted by "C. K. Lester" <cklester at yahoo.com> Nov 18, 2002
- 422 views
> > I want to duplicate the functionality of the page by using a EU program, > > You want a Eu program to access that webpage online, not perform the > function of that webpage... What I want is when I enter an email address in my Eu program and click "Remove," it will create the URL required to send to that site and get the email added to their Remove list. So, it is duplicating the functionality of that web page, isn't it?! For instance, if I enter "nobody at noplace.com," and click "Remove," the Eu program will generate the URL http://www.exit9to5.com/cgi/remove="nobody at noplace.com", except that I don't know what URL to generate! Somebody who knows HTML and forms should be able to figure out what URL gets created after clicking the "Perform Action" button on that page. > One problem: i have no email > address there to test it with. If you want to test if the address gets added to their remove list, just use a fake one of name at domain.com format.
6. RE: Make This URL Thingie?
- Posted by Ray Smith <smithr at ix.net.au> Nov 18, 2002
- 399 views
- Last edited Nov 19, 2002
C. K. Lester wrote: > > > I want to duplicate the functionality of the page by using a EU program, > > > > You want a Eu program to access that webpage online, not perform the > > function of that webpage... libCURL has functionality to allow posting (the HTTP POST method). I haven't tried to see if it works in my wrapper (eulibCURL). It shouldn't be difficult (probably just a few constants missing). actually an example libCURL C program that posts is: --- curl = curl_easy_init(); if(curl) { /* First set the URL that is about to receive our POST. This URL can just as well be a https:// URL if that is what should receive the data. */ curl_easy_setopt(curl, CURLOPT_URL, "http://postit.example.com/moo.cgi"); /* Now specify the POST data */ curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "name=daniel&project=curl"); /* Perform the request, res will get the return code */ res = curl_easy_perform(curl); /* always cleanup */ curl_easy_cleanup(curl); } return 0; ---- so I imagine the only change required to eulibCURL would be to declare the CURLOPT_POSTFIELDS constant. Let me know if you want to head down this path or not. Regards, Ray Smith http://rays-web.com
7. RE: Make This URL Thingie?
- Posted by "C. K. Lester" <cklester at yahoo.com> Nov 18, 2002
- 396 views
> shellExecute("open",<url>,0) That would probably be easiest, but would it work? Does that open an app window that I need to manually close, or can I close it programmatically?
8. RE: Make This URL Thingie?
- Posted by "C. K. Lester" <cklester at yahoo.com> Nov 18, 2002
- 401 views
> Okay. I think I see what you are trying to do. > The URL you would use would look something like this: > > http://www.exit9to5.net/cgi-bin/maxsponder/maxadmin.cgi?removeflag=N&email=j oe at joespage.com&function=global3 Yeah yeah! Thanks, Robert... Now, how do I get a Eu proggie to send that along? > The part where it says: "removeflag=N" is the part that adds or removes. > > N = remove > Y = add > > the "email=joe at joespage.com" would be the email address to add/remove. > > I did a little testing, and it seems you would need to make a > separate call for each email address That's okay, because with Eu all I have to do is parse the list of emails and then loop through the list, sending each one separately... no big deal. So, how would I send them?