Simple Blogger Tutorials

How to Add Email Subscription Box to Blogger

Email Feed Icon

Email subscription box let your blog readers to get latest post updates directly to their mailbox. This simple tutorial will tell you how to add it to Blogger.

Step 1: So first, you need to set up Blogger feeds with Google FeedBurner. If you already added your blog feeds then move on to step 2.

Step 2: Login to FeedBurner and go to the Publicize tab.

FeedBurner tab

Step 3: Select Email Subscriptions. Within Subscription Management tab, copy the code for the subscription form that they will provide.

Subscribtion tab

Email subscription code

Step 4: Now go to Blogger's Layout tab of your blog. Add a "HTML/JavaScript" gadget, paste copied code (as on step 3) and save it. It is done.

Designing Email Subscription Box

Well, the above tutorial is for the default design of FeedBurner's email subscription form. We will just move one step forward by modifying and customizing the code and will make a different design for it. So instead of the default one, replace it with the codes below.

<form action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=Om-SimpleBloggerTutorials', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true"><input type="email" class="s-form" name="email"/><input type="hidden" value="Om-SimpleBloggerTutorials" name="uri"/><input type="hidden" name="loc" value="en_US"/><input class="s-button" type="submit" value="Subscribe" /></form>

Change Om-SimpleBloggerTutorials to the name of the feed's name (as on step 1). If you are confused about "what name" I am talking about, then, it is the FeedBurner address, see the below example:

http://feeds.feedburner.com/your-blog-name

Go to Template tab and find for ]]></b:skin>. Before this add the following CSS:

.s-form{
 height:20px;
 width:64%;
 border:1px solid #ccc;
}
.s-button{
 background:#06f;
 height:24px;
 color:#fff;
 border:none;
 cursor:pointer;
 text-shadow:0 -1px 1px rgba(0,0,0,.2);
}
.s-form
,.s-button{
 -moz-border-radius:3px;
 border-radius:3px;
}

At last save it and view your blog to see that if you have correctly added the more customized email subscription form.

Live Demo

If you like, you can always subscribe for my updates by using the above form.

2 comments :

  1. Nice tutorial Raju .
    What do you think about mine ???

    ReplyDelete

Don't SPAM! Read comment policy.

Like