19/02/2017

How To Add WordPress Like "Click To Tweet" Widget In Blogger


better click to tweet widget for blogger
"Click To Tweet" is one of the best plugin ever made for WordPress which allows to the webmaster to quickly add shareable tweet in their blog post.

It's been a while since Google has begun considering social flags as a noteworthy positioning variable. So when we started to talk about SEO, then first thing comes to our mind is that social media marketing. Social media like Facebook and Twitter are the most popular platform where more than 85% of the population of the world use to talk with each other.

So, when you add a social sharing button like tweet, then it becomes easier to them to share your content on their social profiles easily. see demo below,


In this tutorial, I will show you 'How to add WordPress like 'click to tweet widget' in your blogger?'. You can also use the following tutorial to insert the widget into your HTML website also.

How to add  'Click To Tweet' Widget in Blogger


Note:- Backup your blog template. So that when anything goes wrong with your template then you can restore back.

1. The very first thing you need to do is that login to your blogger and then navigate to template section and then add the below CSS code just above
]]></b:skin>

/* click to tweet widget css by http://www.bloggerseolab.com */
.click-to-tweet{border:1px solid #ddd;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;padding:26px;margin:15px 0;background-color:#fff}.click-to-tweet .click-to-tweet-text{text-align:left;font-family:"museo-sans",sans-serif;font-weight:300;margin-bottom:10px}.click-to-tweet .click-to-tweet-text a{color:#aeaeae;font-size:26px;line-height:140%;letter-spacing:.05em;font-weight:100;text-decoration:none;text-transform:none}.click-to-tweet a.click-to-tweet-btn{display:block;text-transform:uppercase;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:700;line-height:100%;color:#aeaeae;float:right;padding-right:24px;text-decoration:none;background:transparent url(https://lh3.googleusercontent.com/-Ki5b5kpTgEw/WKnUq50L54I/AAAAAAAAF9w/wVhrlGKuoNwZDKJ5tDaoLl9HxxC1-tpvQCLcB/h120/twitter-little-bird.png) no-repeat right top}
/* click to tweet widget css by http://www.bloggerseolab.com */
2. Now, you need to use below generator (You can find generator at the end of this post). This generator is created by me by putting a lot of hard work. So do share this plugin with your fellow readers or on your social networks.

How to use the 'Click To Tweet' widget Generator

This tweet box generator is create with a simple design so that anyone can use it without any problem.

  1. Here you just need to put your shareable text in the first box.
  2. In the second box, you need to put your web page URL. You can also leave it blank, if you do not want to add your URL in the tweet.
  3. And then finally you need to hit on 'Generate'.
  4. After that, generator will give you a simple HTML code which you need to put in your web page or blogger blog post like below,
better click to tweet widget for blogger
            5. That's it.


Your Tweetable Text:

Your Page URL:

 

Copy and paste the below code in your template:

Click To Tweet Generator by @bloggerseolab, Created by Vishal Chopra

I hope that the above step by step guide and the Generator helped you to add WordPress like Click To Tweet plugin in your blogger template.

If you have doubt or question regarding the above generator then feel free to ask in the below comment box. Do not forget to share this plugin.

17/02/2017

How to host Images and JavaScript/CSS files on Google Drive


host images, javascript and css files on google drive
After serving file hosting service on Gdrive for three years, Google had decided to discontinued the static website hosting on google drive like they depreciated Google code hosting.

One of the best features of Google Drive hosting was/is that it provides unlimited bandwidth solution which other web hosting companies hesitate to offer.

When Google decided to depreciate hosting features in August 2016, then I had to move to an another free hosting provider. And then I came across to yourjavascript.com and 000webhost free hosting provider.  Both hosting providers provide unlimited bandwidth and leverage browsing caching header to boost the performance of my site.

In my upcoming tutorial, I will also show you 'how to host files on 000webhost with leverage browsing caching.'


But in this tutorial, I will show you the 100% working method to host you Images, CSS and JavaScript using Google Drive for free 2017 (New Guide).

Demo. The following image is hosted on Google Drive

host image on google drive demo


Host Images, CSS and JavaScript files on Google drive


Step 1: Upload your files to Google Drive

  1. The very first thing you need to do is that create a folder on Google Drive and change the sharing permission of the file to public.

  2. And now upload your Images, JavaScript and CSS files to the folder.

Step 2: Obtain the sharing URL of the file

Now you need to obtain the link of your uploaded file. Just right click on the file and then select 'share' and then copy the link of the file and keep safe in notepad. see below picture.

host images and javascript and css files on google drive for free

Step 3: Create the direct download link of the URL (permalink)

Genrally, Google drive does not provide the direct link of the file. It only shows the sharing link of the file as Google photos do. So, we need to apply a trick to get the direct link to the file.

  1. First of all, navigate to direct download link generator. You can see the below like generator. And you just need to enter the sharing URL (which you kept safe in notepad at step 2) of the file into the number 1 text box and then hit on ' Generate'.

    host Images and JavaScript/CSS files from Google Drive

  2. And then, copy the generated direct link of the file and then keep safe in notepad.

Step 4: Embed the Image or Link JavaScript/CSS  Files in a HTML page

As you are a developer. You already know the HTML code to embed Images in a web page or link JavaScript and CSS files into the HTML.

If you want to embed an image, then you use the below code:

<img src='your-direct-download-link-of-image'/>
Or If you want to link CSS files, then use the below code:

<link href='your-direct-link-of-css-file' rel='stylesheet'/>
Or If you want to link JavaScript files, then use the below code:

<script src='your-direct-link-of-javascript-file'/>

Conclusion

As I said earlier, Google depreciated their hosting feature, and the above solution is a trick to force Google to host our files on Gdrive. So, you might face a problem of loading speed on your website.

Recently, I have made a tutorial to host JavaScript and CSS files on Github using RawGit (By MaxCDN) and also featured five best free image hosting website to host your image. And I will also recommend you to follow my recently published articles.

And you might also like to read 'Load Youtube and dailymotion video player on demand.'

Thanks. I hope that the above step by step guide helped you to sort your problem regarding hosting files on Google Drive for free.

20/01/2017

Load YouTube & Dailymotion Video Player Faster & On Demand


When you embed a Youtube or Dailymotion video on your blog or website, then the video has to load a bunch of extra resources like CSS, JavaScript or images to rendering the videos. And, the bad thing about it that it always load these resources even if a visitors does not hit the play button. These resources increase not only the weight of your template but also the visitor's browser will also need to make multiple HTTP requests to render the videos.

How To Load YouTube & Dailymotion Videos On Demand
Have you ever noticed that Google plus shows the embedded videos on their page with a different thumbnail style. Google+ only display a thumbnail image with a custom play button instead of displaying a embedded video player to make it look like a player. And, when a user clicks over the thumbnail, then the preview thumbnail is replaced by the standard video player. That means the browser loads all the resources that are required to play the video only once when necessary. And, this reduces the loading speed of your website, see demo below,


What are the advantages?

1. Reduce loading speed
2. Reduce HTTP requests on client's browser
3. Very necessary for SEO
4. Reduce weight(page-size) of your template
5. Load videos only when necessary
6. Embedded videos will be responsive

Install Plugin on your blogger template

Backup your blogger template.

1. First navigate to blogger Dashboard > Template > Edit template.
2. Then search for </body> and then copy and paste the below code just above </body>


<!-- videos load on demand script by http://www.bloggerseolab.com start -->
<script src='http://yourjavascript.com/31169646111/load-videos-on-demand.js' type='text/javascript'></script>
<style>
.video-container { display: block; margin: 20px auto; width: 100%; max-width: 600px; }
.youtube-player, .dmn-player { display: block; width: 100%; /* assuming that the video has a 16:9 ratio */ padding-bottom: 56.25%; overflow: hidden; position: relative; width: 100%; height: 100%; cursor: hand; cursor: pointer; display: block; }
img.youtube-thumb, img.dmn-thumb { bottom: 0; display: block; left: 0; margin: auto; max-width: 100%; width: 100%; position: absolute; right: 0; top: 0; height: auto;transition:all ease-in-out 0.25s; }
img.youtube-thumb:hover, img.dmn-thumb:hover {transform:scale(1.05);transition:all ease-in-out 0.25s;}
div.play-button { height: 72px; width: 72px; left: 50%; top: 50%; margin-left: -36px; margin-top: -36px; position: absolute; background: url("http://i.imgur.com/TxzC70f.png") no-repeat; }
#youtube-iframe, #dmn-iframe { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
</style>
<!-- videos load on demand script by http://www.bloggerseolab.com end -->
3. And, then save the template.

How to embed YouTube and Dailymotion videos on blog posts?

1. Just navigate to a existing blog post or make a new post and then select to HTML view.
2. Now add the below code for embedding a YouTube video,

<div class="video-container">
   <div class="youtube-player" data-id="VIDEOID"></div>
</div>
Customize: Replace the VIDEOID with the id of your YouTube video.

3. If you want to embed a Dailymotion video, then use the below code,

<div class="video-container">
   <div class="dmn-player" data-id="VIDEOID"></div>
</div>
Customize: Replace the VIDEOID with the id of your Dailymotion video.

Frequently asked questions:

VIDEOID is mentioned in the code.

How to find the video id of a YouTube video?

Just copy and paste the video URL of your YouTube video in Notepad. And you can see a combination of numbers and letters after an equal sign. This is your video ID. see below URL.

https://www.youtube.com/watch?v=-ZWGpOSS6T0

How to find the video id of a Dailymotion video?

Find a Dailymotion video which you like to embed. Here is an example

http://www.dailymotion.com/video/x8oma9_warp-whistle_shortfilms

In this example, the ID would be x8oma9 as you can see above.


Wrapping up

The idea to load Dailymotion videos on demand is taken from Labnol. They already made a tutorial for embedding YouTube videos on demand while keep it responsive. So, I have made some changes to the JavaScript code for adding support to Dailymotion videos also.

The whole idea for embedding videos on demand is taken form Google plus. We only made it possible for blogger or website for reducing loading speed which is a significant factor for calculating page rank..

Thank You. I hope that you will like our work and also appreciate it by sharing on social networks.

15/01/2017

PopAds Review 2017 - Can it Make Money for your blog?


popads net review - best popup under ads for blogger and website

Popads ad network is one of the most popular pop-ups under advertising network. And it is a great alternative to popcash and infolinks. The best thing about it that you can withdraw you earned money at any time once, your unpaid earning is reached to a minimum amount of 5$. Currently, It's providing highest CPM rates, excellent technical support, fastest payment in the industry.

From the last three years, I am using Google Adsense for my blog and no doubt it is one of best advertising program which pays high CPC. After that, I was looking for other monetizing networks which can work well along with Adsense for my blog, and that's when I stumbled upon popads net network.

And the first question that came to my mind was,
Can it make money for my blog?
So, I decided to get signed up for this network to check whether it can make money for my blog.  And after using it for two months (Total traffic upto two month, only 20000), I earned 68.26$ that you can see in the below screenshot of my dashboard, (popads earnings)

popads net review - earning dashboard payment
So, in this review, I will answer you some frequently asked question which you may encounter while choosing the best pop-ups under ad network,


How Popads works?

Unlike AdSense, it does not require an ad space that means you visitors don't need to click on anything. And you will get paid whenever your visitors will browse your website.

Popads is great if you are receiving traffic from USA, UK, Cannada because it provides high eCPM for the European countries. But for Asian traffic, you may not earn much until you are getting a huge amount of organic as well as social traffic. (100% fill rates)

Is PopAds.Net Scam Network?

Ofcourse not. It has a large number of publishers who are happy with its technical support and on-time payment.

Most of the people have written the negative reviews on several forum, and this may be due to account ban. Most of the webmaster use bot traffic trick to increase their page views and earnings which is an illegal method. And due to this reason, their account gets banned from the popads network.

But, My experience says that they are legit and genuine because I (many webmasters) already get paid for my earnings. You can see my 'payment proof' below,

popads net payment proof

How To Sign Up for Popads?

The sign-up process of popads network is very easy, and you only need to fill up a publisher form. Just click on the below button to go to popads.net website and fill up a simple form. And you need to wait for 24 hour to get an email from their team that your website is approved.


Can your website be approved? 

Absolutely yes. It accepts all type of website including adult, non-adult, hacking, and cracking.

Is their JavaScript plugin SEO friendly?

Yes. For API integration, they provide a small bit of JavaScript code which you need to add just above the closing body tag. And the best thing about it that, it does not affect the loading speed of your website which is one of the ranking factors of Search Engine Optimization.

What are the CPM rates of popads net?

CPM Rates (approx)
Country Rates (per 1000 view)
United States $14.72
United Kingdom $7.65
Canada $7.05
Australia $10.64
India $2.05

What is the Payout Threshold?

The Payout threshold is very low. You will get paid, whenever your unpaid earnings reach to a minimum of 5$. Payment will issue within 24 hours.

What are the Payment Methods?

Modes of payment:

Modes Minimum Amount Payment frequency
PayPal $5.00 USD Every Day
Debit Card (Payoneer) $20.00 USD Every Day
Bank Transfer (Payoneer) $20.00 USD Every Day
Wire Transfer $2000 USD Weekly
Payza $5.00 USD Every two weeks

Conclusion

As there are thousands of alternative available for pop-ups under ads but no one can compete with popads because it provides high CPM and daily payment. If you rejected by Adsense and media.net program, then I must recommend you to join this network.

I hope the above review will help you to decide the best pop-ups under ads for your blog. If you have any doubt or you are using any other network which is providing better eCpm rates then do let me know by commenting below.


Popads Review
Published Jan 15, 2017
Summary Popads is a rising player among popular pop-ups ad network that is gradually recognized as the best alternative to Infolinks and Popcash.
Reviewer Vishal Chopra
Publisher Blogger SEO Lab
Rating 4/5