March 15, 2005

Email Notification

Email notifications is a way of "subscribing" to the blog, to have new content of the blog delivered to you. Notifications are sent to subscribees every time a new post is made to the blog. This is convenient as you donít have to keep checking the blog to know if it has been updated. There are two ways to be added to the notifications list.

1) By the author
2) By the user

Posted by kilam002 at 11:02 PM

March 14, 2005

Adding a user to the notifications list

1) By the author

a) Login to the blog.
b) From the menu on the left hand bar choose "Notifications."


c) Add the email addresses of all the people to whom you want to notify updates through email. Once this is done, you are set up to send out notifications.


Posted by kilam002 at 12:29 AM

March 13, 2005

Adding to the list - letting users add themselves

2) By the user

a) The author of the blog needs to include a small text input field on the blog home page.


b) Here readers can subscribe themselves to the blog by adding their email address in the text box. The code required for this is here and may be placed in the sidebar (modify the "main entry" template to accomplish this) or other location on the blog.

This particular script returns a pop-up box when an email address is added, so that the user doesn't add himself several times.

The mt-add-notify.cgi is the script that is run in Movable Type to add the feature of email notification. Essentially this piece of code creates a form where the user can input his/her email address in the text box. On clicking the add button the mt-add-notify.cgi file is invoked, which will in turn add the user to the notification list.

Posted by kilam002 at 12:33 AM

March 12, 2005

Sending a Notification

The actual notification is sent out only if you turn on the option while posting a message.

This is done manually on the "Edit Entry" page which displays after creating a new entry. Near the bottom of this page there is a "Send a Notification" section where you can send a custom message along with the post or its excerpt to the people on the notification list.


(The conventional wisdom is that the notifications process is manual rather than automatic in order to prevent recipients from receiving multiple notices while an author is actively editing a particular posting.)

Posted by messn006 at 1:59 PM

February 28, 2005

Script for notifications form

This script creates a "add to notifications list" form which allows a user to add their email address to the notifications list:

To be notified of new posts on this site, enter your email address below:
<form method="post" action="">
<input type="hidden" name="blog_id" value="284" />
<input type="hidden" name="_redirect" value="" />
<input name="email" size="20" />
<input type="submit" OnClick="alert('You have been added. Thank you')" value="add" />

You'll have to change the two underlined items to the appropriate values. The "blog_id" value for your blog can be found in the URL of the editing menu web page for your blog:


You'll also need to use the correct redirect URL for your blog (probably just the URL of your blog's home page).

Posted by messn006 at 9:27 AM