SVN email announcements

Everything related to the code /
Tout ce qui touche au code
Post Reply
User avatar
AF
Administrateur - Site Admin
Posts: 139
Joined: Thu Dec 28, 2006 8:19 pm
Location: NW UK
Contact:

SVN email announcements

Post by AF » Mon Dec 17, 2007 10:30 pm

Code: Select all

<form method="post" action="http://scripts.dreamhost.com/add_list.cgi">
   <input type="hidden" name="list" value="svn" />
   <input type="hidden" name="domain" value="ta3d.darkstars.co.uk" />
   <input type="hidden" name="emailit" value="1" />
   E-mail: <input name="email" /><br />
   <input type="submit" name="submit" value="Join the svn Announcement List" />
   <input type="submit" name="unsub" value="Unsubscribe" />
</form>
This forum subscribes a user to an announcement list that has also been hooked into using svn hooks.

I setup a html page with the forum here:
http://ta3d.darkstars.co.uk/list.html

While everything as is should run, this will need to be put into the main site.

Also, dreamhost allows you to specify a list of urls to custom pages so that youc an give a proper 'you have subscribed' type page, rather than seeing the default output of the cgi script.
Subscribe URL:
This page should say to check their email for a confirmation link. (optional)

Unsubscribe URL:
This page should say goodbye! (optional)

Already Subscribed URL:
This page should say you're already on this list. (optional)

Not Subscribed URL:
This page should say you're not on this list. (optional)

Invalid Email Address URL:
This page should say your address is malformed. (optional)

Confirmation URL:
This page should say welcome!
Parameters are passed to these pages in the url as specified in the documentation. I have removed the name parameter from the form but it can be restored.

You can find the details here:
http://wiki.dreamhost.com/KB_/_Web_Prog ... iling_List[/quote]

Post Reply

Who is online

Users browsing this forum: No registered users and 37 guests