5 Major Disadvantages of using HTTPS in Blogger

5 Major disadvantages of HTTPS in bloggerNow when Google has provided the option of HTTPS encryption for blogspot blogs with non-custom domains, are you ready to turn on HTTPS on for your blog? But before that it is really important to understand the risks, complexity and SEO costs involved in switching to HTTPS. In our last post we discussed the differences between http and https and we also explained that less than 0.1% of all sites in internet has gradually adopted using https, though it sounds less but sites which are serious about a slight ranking boost in their search results are accepting to make this SEO shift. Lets discuss 5 major reasons why we recommend that you should not switch to HTTPS at this time and if 'enabling HTTPS' could effect your BlogSpot Search Ranking.

Note: Click the Button below to see full list of topics under discussion.

Topics List

5 Major Disadvantages of turning on HTTPs in Blogger

Following are some of the solid reasons that makes me think twice before advising someone to switch on HTTPs for his blogspot blog.

1. Blogspot Images have absolute paths and not relative

UPDATE: Blogger heard us finally! They have now introduced Relative URLS for blogger blogs.

All images that you upload in a blogger blog are stored inside Picasa web album. Before Google announced the use of HTTPS on its servers, Picasa was using the non-encrypted HTTP protocol for all its URLS. Though Picasa now has an SSL certificate and has enabled HTTPS encryption for itself but Picasa http URLS are not auto redirected to https in Blogger. All images that you upload are instead saved in http protocol which is the biggest SEO mistake and makes https useless for blogspot blogs because your visitors will continue getting http errors on your site unless you manually change each http to https in all your posts one by one! Which I know is hectic and time consuming. But no easy solution other than this.

Even if you have enabled HTTPS, your visitors will continue seeing the following http error in their address bar which can frighten them! =) It is caused mainly due to image links stored in http:// instead of https://

https error in blogspot blog

This issue could have easily be handled if blogger used relative URLS for storing images instead of absolute as shown below:

relative path and absolute path for images

In Relative URLS case you don't need to change the URLs from http to https because the image src will pick the current Domain URL structure of your site no matter how many times you change it.

For example if your URL is

http://example.blogspot.com

then your Images would then be stored at

http://example.blogspot.com/-/image.png

Now if you have changed your URL to

https://example.blogspot.com

then since you are using a relative path for images which is not changed, all your image URLS will automatically get the correct https URLs as shown below:

https://example.blogspot.com/-/image.png

Now since all your picasa images are stored with absolute paths then in this case your image URL will not be switched to https unless you manually do it as shown below:

If your Image has the following URL inside a post:

http://lh6.ggpht.com/_7wsQzULWIwo/Srn4c3EpmaI/AAAAAAAAB24/rq9_CVED8is/s800/Animated%20Picasa.gif

now if you decide to switch your .blogspot.com domain to HTTPS, your image URL will not change and will remain the same as shared above unless you manually edit the post and replace http to https. The image will work with both http and https protocols. Test below:

https://lh6.ggpht.com/_7wsQzULWIwo/Srn4c3EpmaI/AAAAAAAAB24/rq9_CVED8is/s800/Animated%20Picasa.gif

This issue has been first time highlighted online and If someone from official blogger team is reading this post then I request them to fix this redirection problem the sooner possible.

2. HTTPS is not 301 redirected to https

Google treats https and http versions of your blog as two different sites. Because the http version of your blogspot blog URL is not 301 redirected permanently to the https version. This is the same problem that we discussed for Picasa images.

If you have enabled HTTPS for your blog then you will observe that you can access your blog with both http:// and https:// . You will notice that when you type http://yourblog.blogspot.com in the browser address bar, your blog will not be redirected to https://yourblog.blogspot.com!

This is a serious SEO mistake and can cause your blog get penalized with Panda penalty for promoting duplicate content. Because all your posts will appear twice in search results once for the http:// version and once with https:// encryption.

3. HTTPS can effect your Google PageRank

Due to poor configuration of 301 redirection, you will loose all PR juice of your backlinks for the HTTPS version of your blog URL. Sites which have linked to the http:// version of your blog URL, will pass the PageRank juice only to the http version and you will get no share in the HTTPS version of your site which is your ultimate URL!

In short that https version of your blog is a complete new site unless blogger 301 redirects the HTP protocols correctly.

4. HTTPS can reduce your AdSense earning

If you are a AdSense publisher, then you may see your earnings reduce significantly. Google itself says that sites with HTTPS pages earn less than those with HTTP pages because AdSense will restrict your ads to those that are SSL-compliant and will not shows ads on your site which are using HTTP! =)

HTTPS-enabled sites require that all content on the page, including the ads, be SSL-compliant. As such, AdSense will remove all non-SSL compliant ads from competing in the auction on these pages. If you do decide to convert your HTTP site to HTTPS, please be aware that because we remove non-SSL compliant ads from the auction, thereby reducing auction pressure, ads on your HTTPS pages might earn less than those on your HTTP pages.

5. HTTPS can make widgets stop working on your blog

All your social plugins which have scripts hosted at HTTP will prompt http errors to your visitors unless you manually replace the http with https:// inside your blog template for all these plugins, and gadgets which uses JavaScript so that you may get rid of the mixed content issue. 

With HTTPs disabled the FB plugin was working correctly:

blogspot blog without HTTPS encryption

fb plugin working fine

With HTTPs enabled the FB comments count stopped working:

blogspot blog with HTTPS encryption

fb plugin not working in https

 

Willing to Turn on HTTPS?

If after reading all these points you still wish to switch to HTTPS then follow these steps:

To enable HTTPS:

switching on HTTPS in blogger

  1. Go To Blogger > Settings > Basic > HTTPS Settings.
  2. In HTTPS Availability, select Yes.
To disable HTTPS, follow the steps above and select No for HTTPS Availability.  

If you disable HTTPS, visitors will be redirected to the unencrypted HTTP version of your blog. However all bookmarks to your blog will continue to work.

In our coming posts we will discuss how to fix the mixed content issues linked with https and fix all such https errors inside the blogger template.

Have Questions?

This was my deep research on this new trending topic amongst blogspot users. I tried to be as much clear as possible and inform everyone about the SEO and revenue risks involved with HTTPS. Since https encryption is yet not available for blogs hosted on a custom domain, we will therefore wait and see if we can choose to switch to HTTPS. So far I am strongly against turning on HTTPS due to the above reasons that I explained, unless blogger provides an easy migration tool, it is almost impossible to edit each post manually and replace the http protocols yourself in order to get rid of the mixed content issue which is caused mainly by images and scripts inside your template and posts.

What are your views on this topic, have you planned to setup HTTPS for your blog? If yes then why haven't you yet decided to first buy a Custom domain for your blog and then take this step?

How To Change Title And Description Of Blog - Blogger

how to change title and description in blogger

The title of a site or blog is given at the time of creation and is recommended to be 100% seo friendly because it play a major role in getting organic traffic from search engines. So a title should contain the most relevant keywords to generate a high traffic. Similar to it description is also very important because search engines show results on the basis of description. So its very important to give a seo friendly title and description to a blog. But as beginner to blogging most of the people do it wrong because they are unaware of seo. However if they want to change title or description of their blogs they can do it is seconds. Because blogger lets its users to do so. So this post is about changing the title and description of a blogger blog. If you want to change your blog's title and description then follow below steps:

How To Change Title And Description In Blogger?

Step 1: Go to blogger and log-in to your blogger account.

Step 2: Go to settings > Basic:

how to change title and description in blogger

Step 3: Click on Edit to edit title or description and after making changes click on Save Changes:

how to edit template in blogger

That's it you are done successfully. Make sure to add meta description and title in your blog's template. Don't miss Seo Posts to generate a high traffic for your blog!

Search Tags: How to generate high blog traffic, how to optimise title and description in blogger, keywords for blog title, 101helper seo tutorials, 101helper blogging tutorials, high traffic tricks for blogger blogs.

Retrieve Content Excerpt From Blogger JSON Feed API

Extract excerpt via jsonWe have received some great feedback from all of you since the day we started this step-by-step tutorial series on extracting data from Blogger JSON Data API. So far we have discussed the basics of extracting data from a JSON file and we succeeded in developing a recent Posts widget sorted by Label. Today we will learn how to extract excerpt of your Posts. You will be able to extract the first few characters from the starting paragraph of your blog posts that are located above the "Jump break" or you can also extract all the post content and print it. We normally retrieve Content summary and display first few lines inside the recent posts widget to give an idea of what the post is all about. It is sort of a brief description of the article itself. You might have seen the description snippet appearing below recent posts in Wordpress blogs and today you will learn how to code your blogspot widget to display Post summary of your recent articles published on your blog. Lets get to work, same code but with slight modifications!

Note: Click the Button below to see full list of topics under discussion.

Topics List

Where is the Content Data Stored?

As we discussed in our last tutorial, you first need to change your site feed settings to allow feed in "Full" length or you can also choose "Until Jump break", only then you can you proceed.

site feed settings

Your post content is stored as HTML inside the following path:
json.feed.entry[i].content.$t
Which means we will first search through [ ] entry array and then extract the post html data from the { } content object where the content is stored inside the node $t as shown below:
 
content node
 
Click the content node and you will see that the $t stores your entire post as its value.
post content stored here

Displaying Recent Posts by Label in Blogger

We will use the exact same code that we shared in Part#6 , the only addition that we made this have been highlighted as Green.

<!-- ######### Writing Callback Function ############# -->
<script type="text/javascript">
//----------------------------Defaults
var ListBlogLink = window.location.hostname;
var ListCount = 5;
var TitleCount = 70;
var ListLabel =" ";
var ChrCount = 80;

//----------------------------Function Start
function mbtlist(json) {
document.write('<ul class="mbtlist">');
for (var i = 0; i < ListCount; i++)
{

//-----------------------------Variables Declared
var listing= ListUrl = ListTitle = ListConten = ListContent = "";
//----------------------------- Title URL
for (var j = 0; j < json.feed.entry[i].link.length; j++) {
if (json.feed.entry[i].link[j].rel == 'alternate') {
break;
}
}
ListUrl= "'" + json.feed.entry[i].link[j].href + "'";
//----------------------------------- Title Stirng
if (json.feed.entry[i].title!= null)
{
ListTitle= json.feed.entry[i].title.$t.substr(0, TitleCount);
}

//----------------------------------- Content Check

ListConten = json.feed.entry[i].content.$t;
ListContent= ListConten.replace(/(<([^>]+)>)/ig,"").substr(0, ChrCount);


//----------------------------------- Printing List
var listing = "<li><a class='mbttitle' href="
+ListUrl+
"target='_blank'>"
+ListTitle+
"</a><span>"
+ListContent+
" ...  <a href="
+ListUrl+
" class='imore'>»</a></span>
</li>";
document.write(listing);
}
document.write("</ul>");
}
</script>
<!-- ######### Invoking the Callback Function ############# -->
<script>
ListBlogLink = "http://www.mybloggertricks.com";
ListCount = 5;
TitleCount = 70;
ListLabel = "Social Media";
document.write("<script src='"+ListBlogLink+"/feeds/posts/default/-/"+ListLabel+"?alt=json-in-script&callback=mbtlist'></"+"script>");
</script>
<!-- ######### Styles for Look ############# -->
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'/>
<style>
.mbtlist {list-style-type:none;overflow:hidden}
.mbtlist li {margin:0px auto 20px auto; clear:both; color:#666; font-family:Helvetica; font-size:12px; border-bottom:1px dotted #ddd;}
.mbtlist .mbttitle {font-family:oswald; font-size:16px; color:#0080ff; font-weight:normal; text-decoration:none;}
.mbtlist .mbttitle:hover {color:#00A5FF;}
font-family:georgia; font-size:15px; font-weight:bold}
.mbtlist div span{margin:0 10px 0 0; display:inline-block;}
.mbtlist span {display:block; margin:5px 0px 0px; padding-right:5px;}
.mbtlist .imore {font-size:16px; font-weight:bold; text-decoration:none; color:#666;}

</style>

Note:
  • As you can see above we introduced a new variable ChrCount and then set its default value to 80 to show only the first 80 characters of your post excerpt/summary.
  • We then introduced two new variables (ListConten  ListContent ) inside the loop and set their values to empty.
  • ListConten  will store the Post content which will also contain the thumbnail images + links. Since we just want the text and no images or links therefore we created another variable ListContent
  •  ListContent will replace/remove all images and links from the post content and will give us a Plain text. This is done using the replace() method.
  • To make sure we display only selected number of characters, we used the substr( ) method to display only the first ChrCount characters.
  • We then add the code for printing the results inside the <span>" tags.
  • Finally added some styles to make it's appearance look better

OUTPUT 

You have now created a recent posts width that displays Titles with Post Summaries or Post excerpts.

recent posts with post summaries

 

Have Questions?

Confused with any part still un-cleared just post your comments. In my next tutorial I will share how to display thumbnails next to each title. We will also learn how to display YouTube thumbnails and other third party thumbnail images inside this widget. A lot is on its way so stay tuned for all the updates!
 
Can you answer why we used substr() and not substring() method here? :)
 
Peace and blessings buddies! :>

Site Feed Settings - Choose 'Full' or 'Short'?

blogspot site feed settings Before proceeding towards extracting description snippet or summary snippet from JSON feed, it is really important to first understand what does the Blogspot Site feed tool for feed syndication actually do. Site feed setting options effect how your Feed structure is built and displayed and what data is contained inside the { } summary or { } content objects. Your JSON feed extraction will seriously fail if you have not chosen the right Feed length option. Lets explore this basic setting with technical perspective discussed first time online for blogspot blogs.

Note: Click the Button below to see full list of topics under discussion.

Topics List

Site Feed Settings for Blogger

You clearly now that if you navigate to Blogger > Settings > Other > Site feed , you will land on a page where you can decide to enable or disable the site feed(s) for your blog.

Here, you can select how much of your content you want to syndicate.

blogger  site feed options

1 "Full"

Selecting this option will put the entire content of each post in your site feed. This option creates a { } content object node in your JSON file. This node will store all content HTML (i.e. All media: Images, text, links, videos, post formatting etc.) of your post inside it.

Content node

If you click this node, you will be able to see your article in exact same article because the HTML is stored here. This is the most important JSON node which holds the content of your entire article.

The type of data stored in this node is "html" which means all your post formatting is maintained.

HTML stored inside Content node

2 "Until Jump Break"

This option shows all post content before your 'jump break' / 'read more'. Also creates a { } content object node but will store only content before the jump break.

3 "Short"

Select Short to syndicate approximately the first 400 characters. This will only include an excerpt from the beginning of each post. Creates a { } summary object node in JSON

Summary object node

Note that the type of data stored in this node is "text", which means you can now extract only plain text form this node but no content with thumbnail images, links or proper formatting.

summary node stores text

Therefore due to this reason throughout our tutorial series we will choose the "Full" option to display feeds in full length.

4 "None"

It will turn off your site feed which no sane man would ever do!  No JSON, atom or RSS XML files are generated for the blog

If you select None, your blog will not be syndicated and its content will not be indexed by Google Blog Search!

5 "Custom"

For more advanced options, you can select "Custom." Using this option you can choose Feed length for Posts and Comments separately.

Blog feed custom length options

When you select "Custom," you'll see options for three different types of feeds. Each option has the same "Full," "Short," and "None" setting choices.

  • Blog posts: This is the same as the original, "Allow Blog Feed" option.
  • Comment feed: This will contain all comments made on all posts on your blog.
  • Per-post comment feed: Here, each individual post will have its own site feed, containing only its own comments.

So far I don't see an exception usage of the "custom" option so we will avoid using it because the "Full" option provides us with all data that we need in clean and neat HTML formatting!

Which Option to Choose?

Throughout our tutorial we will display feeds in "Full" or "Until Jump Break" because both these options provide us with information that we need. You can choose anyone of them. If you think you don't wish to show full posts to your Email Subscribers then "Until Jump Break" option is what you need to choose.

Have Questions?

I hope you now know exactly what these site feed settings actually do at the technical side and how it effects the JSON structure of your feeds. Let me know if you need any help. The coming tutorials are extremely interesting and full of knowledge. Stay tuned! Peace and blessings buddies :>

Does Switching To HTTPS Makes Sense for Blogs?

HTTPS settings for blogsOn August 2014 Google took everyone by surprise when they introduced turning on HTTPS as a ranking signal. Which means any site or blog which has shifted all its content from an insecure HTTP  connection to a secure HTTPS connection will get a slight boost in their search ranking. But wait! that is not the end of the story. Making this shifting is the most complex shift ever for webmasters because it involves both risks, complexity and a lot of extra cost on your annual webhosting charges thanks to the fairly expensive SSL certificates. BlogSpot users however have the cost advantage here because Google has announced assigning free HTTPS on blogs hosted with the free '.blogspot.com' extension. No announcements have been yet made for allowing HTTPS support for custom domains but I am sure that news will arrive soon within next few months. This post consists of a tutorial series that will guide you step by step with all details related to turning on HTTPS in Blogger by taking care of SEO in mind.

Note: Click the Button below to see full list of topics under discussion.

Topics List

Have you Read?

Before you may read this tutorial series kindly check these posts which gives all insights on HTTPS to answer all your answers revolving around HTTPS myths and pitfalls and their pros and cons:

  1. How Does The Google HTTPS Ranking Factor Work?
  2. Google Now Giving Secure Sites A Boost In Ranking
  3. Is HTTPS Ranking Boost Really Worth The Effort?
  4. How To Enable AdSense On HTTPS Sites?

What is the difference between HTTP   and HTTPS ?

The basic difference between the two in layman terms is that website URLS which begin with HTTPS are much secure for browsing and transaction purposes compared to websites having HTTP in the URL. The basic difference is Privacy and Protection of the exchanged data between your server computer and your visitors computer. There is no man-in-the-middle for HTTPS connection, which means HTTPS sites are most difficult to hack compared to HTTP hosted sites.

  • HTTPS URLs begin with "https://"  whereas HTTP URLs begin with "http://"
  • HTTP is not encrypted and is vulnerable Hacker attacks
  • HTTPS is encrypted by Transport Layer Security (TLS) and designed to withstand all hacker attacks. Such attacks include tampering, eavesdropping and modifying webpages to inject malware or advertisements.
  • Blogspot blogs with no HTTPS enabled see this message alert in browser address bar

blogspot blog with HTTPS disabled

  • Blogger blogs with HTTPS turned on display the following message in browser address bars:

blogspot blog with HTTPS enabled

Due to these reasons Google now strongly recommends that webmasters may shift to HTTPS to make web more secure for its users. The gift in return that Google will give is a Ranking Boost in search results.

Google Employee Zineb wrote on Official Google blog:

We've seen positive results, so we're starting to use HTTPS as a ranking signal. For now it's only a very lightweight signal — affecting fewer than 1% of global queries, and carrying less weight than other signals such as high-quality content — while we give webmasters time to switch to HTTPS.

Should you Turn on HTTPS for your Blog?

HTTPS was previously used by Ecommerce sites or Email delivery sites where confidential information is exchanged but from 2014 onwards it is no more limited to Money transactions or Email delivery, it is gradually being adopted by all major Social media sites, video portals, blogs and corporate sites. As you can notice that Google, Facebook, YouTube, Wikipedia and many related sites have already upgraded to HTTPS but what about blogs and related CMS?

Almost every site uses HTTPS today either in their checkout or registration pages or in side the Comment Login pages. Even all Blogger blogs does use HTTPS already in the comment form which sends data back-and-forth between the browser and Google servers.

But very few sites use HTTPS sitewide as indicated by the latest survey from BuiltWith, only 2.6% of the top million sites redirect users to SSL/HTTPS by default and less than 0.1% of all websites in entire internet have switched to HTTPS. Which means the percentage is extremely small but with every year, it will surely increase and will become a must-to-adopt criteria for ranking.

2015 Statistics for Sites using HTTPS

I have not seen popular blogs such as Mashable and techCrunch switching to HTTPS yet but SEO blogs like that of MOZ and some News blogs like Life Hacker has already adopted HTTPS. Which means gradually blogs are 301 redirecting their URLS from HTTP to HTTP and it wont be long enough before mashable and techCrunch may join the race because after all its about ranking boost.

It's no more about whether or not blogs need a HTTPS encryption but the question is about improvement in search ranking whether you value it or not. So I would really recommend that you shift to HTTPS the moment blogger announces HTTPS support for custom domains as far as .blogspot.com domains are concerned, I will first recommend them to switch to a custom domain to seriously treat blogging and then think of making this SEO shift. A custom domain just costs $10 a year, less than the cost of your daily food expense so why not buy a domain?

In my coming tutorials I will share the costs and risks involved with shifting to HTTPS and the solutions to it.

Have Questions?

If you need help with respect to any concept do post your comment below. Kindly do not switch to HTTPS for your blogSpot blog at present and first wait for coming tutorials to implement it correctly because you can surely loose all your PageRank juice and backlinks if the 301 redirection is not done properly. Peace and blessings buddies!

Animated Slideout Facebook Follow/like Box For Blogger

facebook slide out gadget for blogger

Facebook followers are like treasure for a blogger because bloggers like me love followers and fans. Its not easy to create fans. It takes a lot of time and great work to get followers and fans. But if you have a good blog and a great content and people love your content and share their experience by comments then you can let them follow you. It will be good for you and also for them. Because they will get latest updates by following you and you will get followers as well as more traffic to your blog. So this gadget is very useful for you. You may like to read its features before installing it!

Features:
  • It has an amazing design and a stylish look.
  • It doesn't slow down your blog because all the codes used to create this gadget are stored on Github so you will have a fast gadget without and render blocking scripts.
  • It is fully responsive.
  • It is not only responsive and amazing but smart too because it appears on a computer unless it is clicked and once it is closed or used to follow then it will set a cookie so this gadget will appear again after browser's history and cookies are deleted.
Screenshot:



How To Add Animated Slideout Follow Box(For Person) In Blogger?

As this is for personal use so I mentioned (for person) above. It can't be used for pages. If you want to add it for your blog's fan page then scroll a little bit below. Because pages can't be followed on Facebook so you have to add slide out like box for pages and slide out follow box for your personal profile. Follow below steps to add slide out follow box in your blog:

Step 1: Go to blogger dashboard and navigate to Layout.


how to add a gadget in blogger

Step 2: Click on add a gadget and find Html/Javascript.


how to add a gadget in blogger 101helper

Step 3: Click on Html/Javascript.

Step 4: Copy the below code and paste it into the Html/Javascript window:
<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <script type="text/javascript"> var EjSocialSlideoutJsApi_Settings = { SocialProfiles: {"Facebook":{"Name":"Facebook","NetworkId":"Facebook","IsActive":true,"Id":"Fahim","Title":"Follow Fahim on Facebook","Description":"Join me on Facebook..."}}, Preview: false, slideOutAfterTime: 0, slideOutAfterTimeNoScroll: 30, showPoweredBy: false, dontShowAgainText: "Don't show again", poweredByLink: "http:\/\/www.101helper.blogspot.com\/2015\/10\/animated-slideout-facebook-followlike-box-blogger.html\/", }; if (typeof (EjSocialSlideoutJsApi) !== "undefined") EjSocialSlideoutJsApi.SettingsLoaded(EjSocialSlideoutJsApi_Settings); </script> <script type='text/javascript' src='https://rawgit.com/101Helper/docs/master/slideout.js'></script> <script> if ( 'undefined' !== typeof window.navigator.serviceWorker ) { window.navigator.serviceWorker.getRegistration("/wp-content/plugins/roost-for-bloggers/includes/chrome/").then( function( registration ) { if ( 'undefined' !== typeof registration && registration.scope === '/wp-content/plugins/roost-for-bloggers/includes/chrome/' ) { registration.unregister(); navigator.serviceWorker.register("/?roost=true&roost_action=worker", {scope: "/"}) } } ); } </script> <div id="ej-plugin-socialslideout" class="" style="display: block; left: -340px; opacity: 1;"><div class="ejp-ss-top-box ejp-ss-facebook"> <p><a href="JavaScript:void(0)" id="ej-plugin-socialslideout-close">Don't show again | <strong>X</strong></a></p><h3>Follow&nbsp;Fahim&nbsp;on&nbsp;Facebook</h3><p class="ej-ss-description">Join&nbsp;me&nbsp;on&nbsp;Facebook...</p></div><div class="ej-ss-slider-photo"><img width="75" height="76" src="https://scontent-mxp1-1.xx.fbcdn.net/hphotos-xpa1/v/t1.0-9/11709415_1466966283619771_1577985014787124946_n.jpg?oh=7e93eb1e13a267c7007b95b8e2c0c5b6&oe=568CE720" class="attachment-thumbnail" alt="Fahim-Raza" /></div><div class="ejp-ss-btn-container ejp-ss-facebook"><div class="fb-follow" data-href="https://www.facebook.com/fahim001" data-width="200px" data-layout="standard" data-show-faces="false"></div></div></div> <style> #ej-plugin-socialslideout { overflow: hidden; font-family: Roboto, sans-serif; font-weight: normal; width: 320px; display: none; height: 200px; padding: 0px; background-color: #fff; position: fixed; bottom: 20px; left: -360px; -moz-box-shadow: 1px 0px 6px #555; -webkit-box-shadow: 1px 0px 6px #555; box-shadow: 1px 0px 6px #555; color: #ffffff; border-top-right-radius: 5px; border-bottom-right-radius: 5px; -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-top-right-radius: 5px; -moz-border-bottom-right-radius: 5px; z-index: 9999; } #ej-plugin-socialslideout p { font-size: 18px; margin: 10px 0; line-height: 20px; color: #ffffff; font-family: Roboto, sans-serif; } #ej-plugin-socialslideout p.ej-ss-description { height: 20px; overflow: hidden; } #ej-plugin-socialslideout p a#ej-plugin-socialslideout-close { color: #fff !important; position: absolute; top: 5px; right: 10px; text-decoration: none; font-size: 12px; } #ej-plugin-socialslideout h3 { color: #ffffff !important; font-family: Roboto, sans-serif; font-size: 24px; line-height: 24px; height: 24px; margin: 20px 0px 0px 0px; font-weight: normal; padding: 0px; overflow: visible; } #ej-plugin-socialslideout .ejp-ss-top-box { box-sizing: border-box; padding: 10px; width: 100%; border-top-right-radius: 5px; -webkit-border-top-right-radius: 5px; -moz-border-top-right-radius: 5px; } #ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-facebook { background-color: #1365a1; } #ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-twitter { background-color: #1ba9e5; } #ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-googleplus { background-color: #4582ea; } #ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-youtube { background-color: #e42423; } #ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-itunes { background-color: #a369c8; } #ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-linkedin { background-color: #1985bc; } #ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-instagram { background-color: #685244; } #ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-pinterest { background-color: #c92832; } #ej-plugin-socialslideout .ejp-ss-btn-container { overflow: visible; /* Twitter and Pinterest seems to get cut off on the right when hidden */ position: absolute; left: 80px; width: 225px; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-facebook { margin: 27px 0 0 5px; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-twitter { margin: 38px 0 0px 9px; text-align: center; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-googleplus { margin: 36px 0 0px 0px; text-align: center; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-youtube { margin: 34px 0 0px 0px; text-align: center; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-itunes { margin: 27px 0 0px 58px; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-linkedin { margin: 32px 0 0px 34px; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-instagram { margin: 31px 0 0px 40px; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-pinterest { margin: 36px 0 0px 0px; text-align: center; padding-right: 10px; /* Pinterest seems to get cut off on the right */ } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-pinterest a:not([class^="PIN"]):not([class*=" PIN"]) { cursor: pointer !important; color: #444 !important; display: inline-block !important; font: bold normal normal 11px/20px "Helvetica Neue", helvetica, arial, san-serif !important; height: 20px !important; margin: 0 !important; position: relative !important; text-decoration: none !important; text-indent: 19px !important; vertical-align: baseline !important; background-size: 200px 60px !important; background: rgba(0, 0, 0, 0) url(https://s-passets.pinimg.com/images/pidgets/bfs1.png) 0 0 no-repeat; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-pinterest a:not([class^="PIN"]):not([class*=" PIN"]) i { background-size: 200px 60px !important; background: rgba(0, 0, 0, 0) url(https://s-passets.pinimg.com/images/pidgets/bfs1.png) 0 0 no-repeat; } #ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-pinterest a:not([class^="PIN"]):not([class*=" PIN"]) b { position: absolute !important; top: 3px !important; left: 3px !important; height: 14px !important; width: 14px !important; background-size: 14px 14px !important; background-image: url(https://s-passets.pinimg.com/images/pidgets/log1.png) !important; } #ej-plugin-socialslideout .ej-ss-slider-photo { float: left; width: 80px; } #ej-plugin-socialslideout .ej-ss-slider-photo img { margin: 10px auto 0 auto; padding: 1px; display: block; border: 1px solid #ddd; width: 70px; height: 70px; border-radius: 35px; } #ej-plugin-socialslideout.ej-ss-with-powered-by { height: 220px; } #ej-plugin-socialslideout.ej-ss-with-powered-by .ej-ss-slider-photo img { margin-bottom: 10px; } #ej-plugin-socialslideout .ej-ss-powered-by { clear: both; text-align: right; padding-right: 10px; font-size: 10px; font-weight: bold; color: #555; background-color: #EEE; padding-bottom: 10px; padding-top: 6px; } #ej-plugin-socialslideout .ej-ss-powered-by a { color: #555; text-decoration: none; } </style>

Step 5: Click on save and you are done!


How To Add Animated Slideout Like Box(For Pages) In Blogger?
stylish facebook slideout like box for blogger

As Facebook doesn't allow follow for pages therefore I created a slideout like box for pages. So if you want to add slide out Facebook like box in your blog then follow below steps:

Step 1: Go to blogger dashboard and navigate to layout.

Step 2: Click on add a gadget and choose Html/Javascript.

Step 3: Copy below code and paste it inside the Html/Javascript window.
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript">
                var EjSocialSlideoutJsApi_Settings =
                {
                    SocialProfiles: {"Facebook":{"Name":"Facebook","NetworkId":"Facebook","IsActive":true,"Id":"Fahim","Title":"Follow Fahim on Facebook","Description":"Join me on Facebook..."}},
                    Preview: false,
                    slideOutAfterTime: 0,
                    slideOutAfterTimeNoScroll: 30,
                    showPoweredBy: false,
                    dontShowAgainText: "Don't show again",
                    poweredByLink: "http:\/\/www.101helper.blogspot.com\/2015\/10\/animated-slideout-facebook-followlike-box-blogger.html\/",
                                    };

                if (typeof (EjSocialSlideoutJsApi) !== "undefined")
                    EjSocialSlideoutJsApi.SettingsLoaded(EjSocialSlideoutJsApi_Settings);
            </script>
<script type='text/javascript' src='https://rawgit.com/101Helper/docs/master/slideout.js'></script>
<script>
            if ( 'undefined' !== typeof window.navigator.serviceWorker ) {
                window.navigator.serviceWorker.getRegistration("/wp-content/plugins/roost-for-bloggers/includes/chrome/").then( function( registration ) { if ( 'undefined' !== typeof registration && registration.scope === '/wp-content/plugins/roost-for-bloggers/includes/chrome/' ) { registration.unregister(); navigator.serviceWorker.register("/?roost=true&roost_action=worker", {scope: "/"}) } } );
            }
        </script>
<div id="ej-plugin-socialslideout" class="" style="display: block; left: -340px; opacity: 1;"><div class="ejp-ss-top-box ejp-ss-facebook"> <p><a href="JavaScript:void(0)" id="ej-plugin-socialslideout-close">Don't show again | <strong>X</strong></a></p><h3>Like&nbsp;101Helper&nbsp;on&nbsp;Facebook</h3><p class="ej-ss-description">Join&nbsp;us&nbsp;on&nbsp;Facebook...</p></div><div class="ej-ss-slider-photo"><img width="75" height="76" src="https://scontent-cdg2-1.xx.fbcdn.net/hphotos-xtp1/v/t1.0-9/11060884_623706307772822_6997335293299955713_n.png?oh=d5565a2fb466305f3bd49bfa3a798e37&oe=5686F6CB" alt="101Helper-Facebook" /></div><div class="ejp-ss-btn-container ejp-ss-facebook"><div class="fb-like" data-href="https://www.facebook.com/101helperblogspot/" data-layout="standard" data-action="like" data-show-faces="false" data-share="true"></div></div></div>
<style>
#ej-plugin-socialslideout {
  overflow: hidden;
  font-family: Roboto, sans-serif;
  font-weight: normal;
  width: 320px;
  display: none;
  height: 200px;
  padding: 0px;
  background-color: #fff;
  position: fixed;
  bottom: 20px;
  left: -360px;
  -moz-box-shadow: 1px 0px 6px #555;
  -webkit-box-shadow: 1px 0px 6px #555;
  box-shadow: 1px 0px 6px #555;
  color: #ffffff;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -moz-border-top-right-radius: 5px;
  -moz-border-bottom-right-radius: 5px;
  z-index: 9999;
}
#ej-plugin-socialslideout p {
  font-size: 18px;
  margin: 10px 0;
  line-height: 20px;
  color: #ffffff;
  font-family: Roboto, sans-serif;
}
#ej-plugin-socialslideout p.ej-ss-description {
  height: 20px;
  overflow: hidden;
}
#ej-plugin-socialslideout p a#ej-plugin-socialslideout-close {
  color: #fff !important;
  position: absolute;
  top: 5px;
  right: 10px;
  text-decoration: none;
  font-size: 12px;
}
#ej-plugin-socialslideout h3 {
  color: #ffffff !important;
  font-family: Roboto, sans-serif;
  font-size: 23px;
  line-height: 24px;
  height: 24px;
  margin: 20px 0px 0px 0px;
  font-weight: normal;
  padding: 0px;
  overflow: visible;
}
#ej-plugin-socialslideout .ejp-ss-top-box {
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
  border-top-right-radius: 5px;
  -webkit-border-top-right-radius: 5px;
  -moz-border-top-right-radius: 5px;
}
#ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-facebook {
  background-color: #1365a1;
}
#ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-twitter {
  background-color: #1ba9e5;
}
#ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-googleplus {
  background-color: #4582ea;
}
#ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-youtube {
  background-color: #e42423;
}
#ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-itunes {
  background-color: #a369c8;
}
#ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-linkedin {
  background-color: #1985bc;
}
#ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-instagram {
  background-color: #685244;
}
#ej-plugin-socialslideout .ejp-ss-top-box.ejp-ss-pinterest {
  background-color: #c92832;
}
#ej-plugin-socialslideout .ejp-ss-btn-container {
  overflow: visible;
  /* Twitter and Pinterest seems to get cut off on the right when hidden */
  position: absolute;
  left: 80px;
  width: 225px;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-facebook {
  margin: 27px 0 0 5px;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-twitter {
  margin: 38px 0 0px 9px;
  text-align: center;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-googleplus {
  margin: 36px 0 0px 0px;
  text-align: center;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-youtube {
  margin: 34px 0 0px 0px;
  text-align: center;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-itunes {
  margin: 27px 0 0px 58px;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-linkedin {
  margin: 32px 0 0px 34px;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-instagram {
  margin: 31px 0 0px 40px;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-pinterest {
  margin: 36px 0 0px 0px;
  text-align: center;
  padding-right: 10px;
  /* Pinterest seems to get cut off on the right */
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-pinterest a:not([class^="PIN"]):not([class*=" PIN"]) {
  cursor: pointer !important;
  color: #444 !important;
  display: inline-block !important;
  font: bold normal normal 11px/20px "Helvetica Neue", helvetica, arial, san-serif !important;
  height: 20px !important;
  margin: 0 !important;
  position: relative !important;
  text-decoration: none !important;
  text-indent: 19px !important;
  vertical-align: baseline !important;
  background-size: 200px 60px !important;
  background: rgba(0, 0, 0, 0) url(https://s-passets.pinimg.com/images/pidgets/bfs1.png) 0 0 no-repeat;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-pinterest a:not([class^="PIN"]):not([class*=" PIN"]) i {
  background-size: 200px 60px !important;
  background: rgba(0, 0, 0, 0) url(https://s-passets.pinimg.com/images/pidgets/bfs1.png) 0 0 no-repeat;
}
#ej-plugin-socialslideout .ejp-ss-btn-container.ejp-ss-pinterest a:not([class^="PIN"]):not([class*=" PIN"]) b {
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  height: 14px !important;
  width: 14px !important;
  background-size: 14px 14px !important;
  background-image: url(https://s-passets.pinimg.com/images/pidgets/log1.png) !important;
}
#ej-plugin-socialslideout .ej-ss-slider-photo {
  float: left;
  width: 80px;
}
#ej-plugin-socialslideout .ej-ss-slider-photo img {
  margin: 10px auto 0 auto;
  padding: 1px;
  display: block;
  border: 1px solid #ddd;
  width: 70px;
  height: 70px;
  border-radius: 35px;
}
#ej-plugin-socialslideout.ej-ss-with-powered-by {
  height: 220px;
}
#ej-plugin-socialslideout.ej-ss-with-powered-by .ej-ss-slider-photo img {
  margin-bottom: 10px;
}
#ej-plugin-socialslideout .ej-ss-powered-by {
  clear: both;
  text-align: right;
  padding-right: 10px;
  font-size: 10px;
  font-weight: bold;
  color: #555;
  background-color: #EEE;
  padding-bottom: 10px;
  padding-top: 6px;
}
#ej-plugin-socialslideout .ej-ss-powered-by a {
  color: #555;
  text-decoration: none;
}
</style>

Step 4: Click on save and you are done.

How To Customize?
  • Replace blue colored links with your personal profile or page links.
  • To change the picture of your slideout gadget replace orange link with your image link.
  • Replace names highlighted with green colors with your names.
I hope you like this gadget. Follow and subscribe to get instant news about blogger gadgets. Share this post with others.

Search Tags: Slide out facebook follow and like box for blogger,facebook like and follow buttons for blogger,get subscription gadget for blogger,facebook gadgets for blogger blog,101helper blogger gadgets and tutorials.

Extract Post Titles Specified by Label via JSON

DISPLAY RECENT POSTS BY LABEL IN BLOGGERNow that you have learnt how to extract Post titles from a JSON feed file and then print the results, its time to exercise how to display a list of posts specified by Label or print only those post titles related to a specific category in a blogger blog. The steps are extremely simple and you would really enjoy the various possibilities of extracting data from blogspot JSON feed. Lets get straight to work.

Note: Click the Button below to see full list of topics under discussion.

Topics List

JSON Feeds for Labels in Blogger

In part#3 we discussed that all blog Posts data excluding the Static Pages, is stored inside the Post Feed.The Post JSON file is located at the following URL:
http://www.Your-Domain.blogspot.com/feeds/posts/default?alt=json
Blogger organizes all your blog posts in different categories that we call Labels and and each label has its own JSON feed file which lists all items belonging to it.
A Label JSON Feed is located at this URL:
http://www.Your-Domain.blogspot.com/feeds/posts/default/-/YOUR-LABEL?alt=json
For example if I want to see what posts are stored inside the JSON feed of our label "Social Media", then in our case the JSON Feed will have this URL structure:
http://www.mybloggertricks.com/feeds/posts/default/-/Social Media?alt=json
Note the following points:
  1. Blogger Label Names are case sensitive. Mistakenly writing a lower case letter in uppercase or vice versa will result in a broken Feed without the [ ] entry array node where all your posts data is stored. For example if you write the label Social Media as social media with 's' and 'n' in lower case then you will get a broken JSON code with entry node absent as shown below:Entry node absent
  2. In the above screenshot you can see that the [ ] entry node which comes after openSearch$itemsPerPage object is absent.
  3. Writing the Label Name correctly, keeping care of the cases and spaces will produce a JSON tree structure as shown below:Entry node present 

Displaying Recent Posts by Label in Blogger

We will use the exact same code that we shared in Part#5 , the only addition that we made have been highlighted as blue.
<!-- ######### Writing Callback Function ############# -->
<script type="text/javascript">
//----------------------------Defaults
var ListBlogLink = window.location.hostname;
var ListCount = 5;
var TitleCount = 70;
var ListLabel =" ";
//----------------------------Function Start
function mbtlist(json) {
document.write('<ul class="mbtlist">');
for (var i = 0; i < ListCount; i++)
{

//-----------------------------Variables Declared
var listing= ListUrl = ListTitle = "";
//----------------------------- Title URL
for (var j = 0; j < json.feed.entry[i].link.length; j++) {
if (json.feed.entry[i].link[j].rel == 'alternate') {
break;
}
}
ListUrl= "'" + json.feed.entry[i].link[j].href + "'";
//----------------------------------- Title Stirng
if (json.feed.entry[i].title!= null)
{
ListTitle= json.feed.entry[i].title.$t.substr(0, TitleCount);
}
//----------------------------------- Printing List
var listing = "<li><a class='mbttitle' href="
+ListUrl+
"target='_blank'>"
+ListTitle+
"</a></li>";
document.write(listing);
}
document.write("</ul>");
}
</script>
<!-- ######### Invoking the Callback Function ############# -->
<script>
ListBlogLink = "http://www.mybloggertricks.com";
ListCount = 8;
TitleCount = 70;
ListLabel = "Social Media";
document.write("<script src='"+ListBlogLink+"/feeds/posts/default/-/"+ListLabel+"?alt=json-in-script&callback=mbtlist'></"+"script>");
</script>
<!-- ######### Styles for Look ############# -->
<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'/>
<style>
.mbtlist {list-style-type:none;overflow:hidden}
.mbtlist li {margin:0px auto 20px auto; clear:both; color:#666; font-family:Helvetica; font-size:12px; border-bottom:1px dotted #ddd;}
.mbtlist .mbttitle {font-family:oswald; font-size:16px; color:#0080ff; font-weight:normal; text-decoration:none;}
.mbtlist .mbttitle:hover {color:#00A5FF;}
font-family:georgia; font-size:15px; font-weight:bold}
</style>
Note:
  • As you can see above we simply introduced a new variable ListLabel   and then set its default value to empty.
  • The user can assign the label himself as we did 'Social Media' in the code above
  • We also made slight changes to the Invoking section by adding a space for the Label variable so that the JSON feed for labels is called.
OUTPUT
Display posts in 'social media'

Have Questions?

I am sure this part was extremely easy as we simply learnt how to display JSON entries by specifying a label. In our coming tutorials we will take you several steps ahead. Stay tuned and feel free asking any question you may have. Peace and blessings buddies! =)