10 Interesting History Facts Of Google!

11.11 0







If you have been using internet for over a decade, you would surely agree
that since all this time, Google has had been the best source of help when it
comes to searching anything in the online world. You will, However be shocked to
find some of the very interesting facts about the renowned search engine and
people affiliated to it.







Here are 10 interesting History Facts of Google that you might not ever come
across!

Read more »

Our Visit To "Beacon Light Academy" - Meeting The Angels

18.40 0

Beacon Light Academy SeminarAfter having conducted several seminars and conferences across the country in different universities and delivering the message of Online entrepreneurship through Content Marketing across the globe, it was now time to meet those little Angels face to face who needed a slight push to transform their dreams into reality. After the deadliest attack on "Army Public School (APS)" in Peshawar, the terror did not stop unless it tried to frightened the students in Karachi.  Beacon Light Academy became the first target of terrorism when some unidentified men threw two grenades early morning at this school on February 3, 2015. Fortunately none was injured [Source]. On February 7 the principal of this effected school invited us i.e. STCnetwork and my best friend Rafay baloch from RHA Info Sec for a seminar on "Victims of Slave Mentality". The Seminar aimed at promoting the true sense of Online entrepreneurship amongst students through Web Development, Content Marketing, Security research & Penetration testing. The Seminar was later delayed due to security concerns and was conducted instead on February 14, 2015, where more than 150+ Angels (Students from secondary grades) actively participated without any fear! Lets share some important highlights of the event.

victims of slave mentality seminar

Event Venue & Speakers

All Details on the Facebook event Page - Victims of Slave Mentality

Mohammad Mustafa and Rafay Baloch

What Was The Event all about?

Education without application is like buying cents for dollars. A map without key. As a fresh graduate myself, throughout my academic life, I have always kept a close look on the unequal distribution of wealth amongst society. Sometimes I would blame the nature for the imbalance of living standards but with time as I gained more experience about the social cash flow system, human Psychology and the Rise and Fall of poor and rich communities, I started understanding why despite the same God gifted potentials, some humans live a far better life whilst others struggle all life to fulfill their dreams but they end up in despair. Those who succeed in life are either by luck, resources or by one basic rule of life and that is Dreaming With Open Eyes. I term such people as followers of PLAN B and the rest as Victims of Slave mentality i.e. PLAN A

Note: Those who choose to be free of worldly desires by choice are Holy people and they are not part of our discussion ever for they are people of wisdom and great intellect and deserve full respect at all times. The above classification between two different standards of life is meant to educate students and make it easy for them to explore their inner strengths and the gift of true knowledge.

We gave a basic definition of both these classes of people first time on our Seminar at NED University on BluePrint To PlanB back in 2103 which I am quoting below for reference:

 Plan A

A Plan oriented individual is always led by society norms and rules, he is always the follower and never an initiator. This spoon fed life which starts from school level and continues till graduation leads him to his ultimate goal and that is "The hunt for Job". He is always afraid to invest his energies into a more productive form of work. Take an example of a school nerd, whose ultimate aim is scoring high in class. He may be good in studies but poor in extra curricular activities, poor in communication skills and social interaction. Most of Plan A oriented students often fell prey to depression and frustration. Upon completion of their graduation they are left with nothing but fixed salary jobs where they spend rest of their lives, dreaming of getting a sustainable Income one day but they die as ordinary citizens and never as distinguished names that could be remembered for decades.

 

 Plan B

Self Fed, financially stable, always hungry and thirsty to innovate and create something new and unique. That's what that defines a Plan B oriented mind. Can a Plan A student pause his university studies in middle just because he needs more time to turn his innovation into reality? Of course he wont, but people like bill gates, Abraham Lincoln, zukerberg, Steve Jobs, John Mackey, Ted Turner,  were amongst those who taught they will better apply knowledge and never worship it blindly. PlanB believers look for opportunities and the moment they find a loop hole, they give their best to utilize it properly.They are always students with dexterous minds always looking to learn and apply. They are practical thinkers and better planners. They are normal students but they don't keep one goal in life, they keep multiple parallel goals in life. They never follow social trends. They try to develop college skills during school life and university skills during college life. They are always ahead of time and never bond their potentials to social restrictions set by the dead slow walking society. They dream of empires and never getting enslaved by big giants. They never dream of joining Microsoft or Google but they dream of inventing one of their own. They are indeed Plan executors and day dreamers!

We shared with them real life stories of successful young entrepreneurs around the globe, internet's proper use, Ways of building a lucrative income online, Earning Secrets of Social Media Giants and of course not forgetting our Self-applied Online earning strategies.

We motivated them that Excellence is not dependent on Age or Time, they can attain it before time just like Arfa Karim Randhawa did, who became the youngest Microsoft Certified Professional at the age of nine in 2004! Or Babar Iqbal who started computer programming at the age of 5 or Akrit Pran Jaswal who performed his first surgery at the age of seven!

We also shared the story of Nick D' Aloisio  who was an average school going guy but his summly App that he created during his 10th grade got sold out for over $30 Million US Dollars to Yahoo!

We also discussed how whatsapp emerged and was soled for $19 billion dollars to Facebook which ones rejected giving job to the same developer

We then concluded that all these legendary figures achieved all this because they believed in a PLAN B setup of life! They did not swim with normal flow of academic trends, they did not restrict themselves to home or social bounds, they instead invested time and energy to explore their hidden powers.

The Most Unusual Thing!

We were approached for Autographs!

We kept wondering why would they take our autographs for I personally consider myself not worthy of it but later as we realized that it was a gesture of thanksgiving by these little angels who were extremely excited to discover their hidden talents and capabilities. Casual seminars often aim at product or idea promotion and they rarely touch the hearts of the attendees but Alhamdulillah these paper autographs were enough a proof to let us know that we delivered the message with full sincerity. We thanked God for all this honor and also prayed for these kids to live up their dreams in true spirit.

Certificates and Gifts Distribution

Slave Mentality Certificate

Certificates were distributed amongst students after the seminar by the school administration.

We distributed three gift hampers amongst students during the Q&A session. Unfortunately the photographers missed capturing those memorable moments.

STCnetwork certificatesSTCnetwork certificatesMohammad's signatureOrganizers certificate contentMy nephew Ammar Munir AhmedMy Niece Sana Aimal

Received Shields!

We express our gratitude to the principal of Beacon Light Academy Madam Azra for her hospitality and token of appreciation in the form of a memorable Shield.

Shield Given To Speakers

Event Photos

We are sorry for not sharing professional set of photos today because we had avoided taking our Personal Photographer "Saad" with us because the organizers suggested that they had around four cameras and they could easily cover the entire event. But they missed many precious shots and most importantly failed to capture Rafay's pics. =<

So these are the only pictures we received.

Beacon light academy Seminar

Beacon light academy Seminar

Mohammad Mustafa in Beacon light academy Seminar

Mohammad Mustafa in Beacon light academy Seminar

Beacon light academy Seminar

Beacon light academy Seminar

Mohammad Mustafa in Beacon light academy Seminar

Questions in Beacon light academy Seminar

Mohammad with Rafay Baloch

Audience at beacon light academy

Audience at beacon light academy

Mohammad with sisters from beacon light academy

presentation at beacon light academy

presentation at beacon light academy

presentation at beacon light academy

 

Special Thanks

We would like to express our sincere thanks and appreciation to Madam Azra, the honorable principle of Beacon light academy for inviting us to the school and giving us a chance to share our online earning strategies with the students.

Madam Azra - Principal Beacon Light Academy

Sameer Rehmani the genius who made it possible. Design Credits of Certificates, Shields and Event Pamphlets goes to him.  

Sameer Rehmani from beacon light academy

And all the Organizers!

Organizers and speakers at beacon light academy

Where Will We Go Next?

God knows best, we have no perfect plans. From the past 3 years we conducted several seminars across the country in different universities but from this year onwards we will narrow down our approach to Schools and colleges. We will try our best to encourage students across the country to kick start their Online Business dreams.

Thank you for always being a great source of motivation. You keep us alive as long as you keep on reading us! Thank you to Beacon Light School for honoring us with an opportunity to share our Online business ideas with the students. We wish you a successful future, full of opportunities and creativity. You guys deserve the best of life!

Peace and blessings be upon you all! =>

Yoast WordPress SEO Plugin Makes Your Website Vulnerable!

11.33 0



According to a latest news, the popular Yoast SEO WordPress Plugin has a major vulnerability that makes a website susceptible to blind SQL injections. This is a very popular plugin that is used by over 14 million websites. Reportedly, all versions of SEO by Yoast prior to 1.7.3.3 are vulnerable to Blind SQL Injection web application flaw. This is an alarming news for those that use this plugin, because it could seriously compromise the data on their website.

Read more »

Building a List/Grid View Switcher in Blogger with Auto Read More

13.12 0
A list of posts in grid or list view provides a more defined canvas with which a blogger or website owner can use as a guide in creating content. This concept has extended to visitors, where they can have control on whether or not they wish to view posts in list or grid view. While custom modification codes are shared by some blogging sites, others are not. Some that are shared, however, can be complex even to bloggers themselves, such as JQuery.

The good news is there are lightweight codes available, including the Auto Read More in Blogger. Through it, a blogger can add two buttons that will enable visitors to switch between grid view and list view, depending on what they prefer. These buttons, however, are only visible on limited pages - homepage, label page and archive page. Nonetheless, it is better than not having this particular feature at all.

Unlike JQuery, the Auto Read More uses HTML, CSS and JavaScript. To view posts in a list view, two sets of CSS codes are added as one. Another set is added to view posts in grid view. Other combination of codes is used to enable easy switch between views, particularly at a click of a button.



How to Add a List/Grid View Switcher in Blogger

Step 1. Log into your Blogger dashboard and select your blog, then go to "Template" > press the "Edit HTML" button.

Step 2. Click anywhere inside the code area and press the CTRL + F keys to open the search box. Type this tag below inside the box and hit Enter to find it:
</head>
Step 3. Just above the </head> tag, copy and paste the following CSS style and scripts:
<script type='text/javascript'>
function list_view(){
if(document.getElementsByClassName(&quot;post&quot;)) {elementArray = document.getElementsByClassName(&quot;post&quot;); while (elementArray.length) {elementArray[0].className = &quot;post-grid-view&quot;;}}
if(document.getElementsByClassName(&quot;post-title&quot;)) {elementArray = document.getElementsByClassName(&quot;post-title&quot;); while (elementArray.length) {elementArray[0].className = &quot;post-title-grid&quot;;}}
}
function grid_view(){
if(document.getElementsByClassName(&quot;post-grid-view&quot;)) {elementArray = document.getElementsByClassName(&quot;post-grid-view&quot;); while (elementArray.length) {elementArray[0].className = &quot;post&quot;;}}
if(document.getElementsByClassName(&quot;post-title-grid&quot;)) {elementArray = document.getElementsByClassName(&quot;post-title-grid&quot;); while (elementArray.length) {elementArray[0].className = &quot;post-title&quot;;}}
}
</script>
 <script type='text/javascript'>
posts_no_thumb_sum = 100;
posts_thumb_sum = 350;
</script>

<script type='text/javascript'>
//<![CDATA[
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}
function createSummaryAndThumb(pID, pURL, pTITLE){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = posts_no_thumb_sum;
if(img.length>=1) {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'"><img src="'+img[0].src+'" /></a></span>';
summ = posts_thumb_sum;
}

else {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'" title="'+ pTITLE+'"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLdsUOFpp3_ZV-RJOnEnjXR3V5VR1SKS32mso4Q6pIwtHsixWgSF67dvc9MPEG1bhhCOgF52aFhv9EOy0oIGF-TXAQX-8VLtkk4B7XIU3ujiSD0KIRJvYhR2C6auY7sk1eb3bKS7jJsxiT/s1600/sorry-image-not-available.png" style="margin-top: -30px;" /></a></span>';
summ = posts_thumb_sum;
}

var summary = imgtag + '<a href="'+ pURL +'"><div class="post-summary-text">' + removeHtmlTag(div.innerHTML,summ) + '</div></a>';
div.innerHTML = summary;
}
//]]>
</script>

<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType!= &quot;item&quot;'>
<style>
#list-view-button {font-family: Verdana; text-align:left;cursor:pointer;font-size: 14px;border-bottom: 5px solid #eaeaea;text-decoration: none;}
#list-view-button a{text-decoration: none; color: #666;}
.grid-view-button {background-color:#efefef;color:#666;padding:5px 10px;border-radius: 5px;font-size: 12px;}
.list-view-button {background-color:#efefef;color:#000;padding:5px 10px;border-radius: 5px;font-size: 12px;}
.post-grid-view {width:100%;height:250px;overflow: hidden;float:left;margin:0px 0px 20px !important;position:relative;display: block; -webkit-transition:all 0.5s ease 0s; -moz-transition:all 0.5s ease 0s; -o-transition:all 0.5s ease 0s; transition:all 0.5s ease 0s; }
.post-grid-view .posts-thumb {width:40% !important;height:250px !important;float:left;margin:0px;position:relative;border-top: 0px solid transparent !important;overflow: hidden;}
.post-grid-view .post-header {display: none;}
.post-grid-view .post-body img {min-width: 300px !important; min-height: 250px !important;display:block;width:100%!important;height:auto!important;max-width:800px!important;max-height:400px!important;border:none;outline:none;position:relative;margin: 0px;padding:0;}
.post-grid-view .post-summary-text {opacity: 1; background: none; width: 58%;font-size: 120% !important;clear: none !important; display: inline-block !important; padding: 80px 0px !important; color: #666 !important; text-shadow: none !important; float: right !important; text-align: left; position: relative !important; font-family: &#39;Open Sans Condensed&#39;, sans-serif;}
.post-grid-view .post-body {height: 250px;background:#f5f5f5; box-shadow: none !important;}
.post-title-grid a { font-size:170%;color: #777;font-family: &#39;Open Sans Condensed&#39;, sans-serif;}
.post-title-grid { position: absolute; left: 42%; top: 5%; z-index: 1;}
.post-grid-view .post-footer {left: 41%; display:block;position: absolute; bottom: 2%;font-size: 120%; background: transparent !important; border: 0px solid transparent !important;font-family: &#39;Open Sans Condensed&#39;, sans-serif;}
.post-grid-view .post-footer a{color: #128EC9;}
.post-grid-view a.comment-bubble {display: none;}
.main-inner .column-center-inner .section {margin: 0px !important;}
.post { -webkit-transition:all 0.5s ease 0s; -moz-transition:all 0.5s ease 0s; -o-transition:all 0.5s ease 0s; transition:all 0.5s ease 0s;}

#blog-pager {clear:both;}
.post {height:auto;width:32.2%;display:inline-block;text-decoration:none;float:left;margin:0 1% 1% 0%;overflow: hidden;padding:0!important;}
.date-header {display: none;}
h3.post-title a {font-size:90%;font-family: &#39;Open Sans Condensed&#39;, sans-serif;text-transform:uppercase;color:#fff;text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);font-weight: bold;}
h3.post-title {text-align: center; position:absolute;top:0;width:100%;overflow:hidden;margin:0px !important;padding-top: 30%; background-color: rgba(50, 126, 213, 0.8);transform: scale(1);opacity: 0;z-index: 10;height: 100%;transition: all 300ms ease-out 0s;}
h3.post-title:hover {opacity: 1;}
.posts-thumb {width:100%!important;height:200px!important;overflow:hidden;clear:both;}
.post-body {border-radius:2px;box-shadow:0 5px 4px 1px rgba(0,0,0,0.1);position:relative;overflow: hidden;}
.post-body a {text-decoration: none;}
.post-body img {display:block;width:100%!important;height:auto!important;max-width:800px!important;max-height:400px!important;min-width:200px!important;min-height:200px!important;border:none;outline:none;position:relative;margin: 0px;padding:0;}
.post-summary-text {display: none;}
a.comment-bubble {color:#fff;text-decoration:none;font-size:100%;width: 100%;text-align: center;position:absolute;top:175px;left: 0px;text-shadow:1px 2px 1px #333;font-family: &#39;Pacifico&#39;, cursive;z-index: 122;}
a.comment-bubble:before { content: &quot;Comments: &quot; url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGqlIY_yrK-iP9ZrvYExW2knc_HXcWwgcnvZYAF7lJCqbYx0IaHA_woso-w0cxT7QRnZ9JwhB1NyU8LSntWCzwrMMqc261kwCM7E4unqA6Ub8QjqIBvmv6ltwdpOwvW2E3oHMfL159J_Gd/s1600/heart-active.png);}
.post-header,.post-footer {display:none;}
</style></b:if></b:if>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'/>

Step 4. Next, search for the following line:
<b:section class='main' id='main' showaddelement='no'>
...in case you can't find it, search for this one instead:
<b:section class='main' id='main' showaddelement='yes'>
Step 5. Just above this line, add the following code:
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType!= &quot;item&quot;'>
<div id='list-view-button'><a class='grid-view-button' onclick='grid_view()'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjE8zi6ooz9AQC3PbMXedOp75y4YMIDWxcYfOfAxuIFH_An8dWUGSEm1Udj8Sw9253-Z63eww4p1gD_ViBRd9HUu5aR5aOJPjKHdFRLkfO0r6fOaV6mKtuvq_2Q2ZhVVjkr__gK0zjWVEio/s1600/search-grid-icon.png' style='margin: -8px 1px -3px -6px;width: 16px;'/> Grid View</a> <a class='list-view-button' onclick='list_view()'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgb4kkGxij3-M8hxqXvaLAwe7l1bl4qmYcubFZpgjAkc3qIJg-T13lESSFVVNY7_UUQNswRy6fYBhcZSTFlhXsUMkHqezjVSnlcAxrom83EdSyL9jp8cwAjo_qPwQaUhw_RUA_VEizQfc6A/s1600/icon-list-view.png' style='margin: -8px 1px -3px -6px;width: 16px;'/> List View</a></div>
</b:if></b:if>
Step 6. Now, search the code below:
<data:post.body/>
Step 7. You will find 3 occurrences of this code, replace only the second and third one with this one below:
 <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
    <b:if cond='data:blog.pageType != &quot;item&quot;'>
        <div expr:id='&quot;summary&quot; + data:post.id'>
            <data:post.body/>
        </div>
        <script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;,&quot;<data:post.url/>&quot;);</script>
        <b:if cond='data:post.allowComments'>
            <a class='comment-bubble' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
                <data:post.numComments/>
            </a>
        </b:if>
    </b:if>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
    <data:post.body/>
</b:if>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
    <data:post.body/>
</b:if>
Important: if you already added the auto read more script, remove the previous one in order to make this work.

Step 8. Finally, click "Preview" to see if everything looks good and press the 'Save Template' button to save the changes...

That's it!

Adding a dynamic view switcher on a blog will make viewing content a lot easier for visitors. Whether using a list or grid view, a more compressed list of posts will eliminate the need to click on the next page, which could take time if loading takes a while to complete. For a blog archive, using the Auto Read More codes in Blogger will surely make everyone's viewing experience very convenient.

Considering the ease with which the codes can be customized, building a list/grid view switcher would be completed in no time. A real bonus is that Auto Read More works on all platforms, with cross-browser support as well.

Google To Rank Sites Based On Accuracy Of Information

11.33 0

Accuracy of information


In recent months, Google has become increasingly focused towards the quality of search results pages. It always was, but there has been talk of new ranking signals being incorporated into the search engine. Where certain signals were merely guidelines in the past, they'll soon geared to become direct signals. One example is mobile-friendly design. Another is security. This leads us to believe that a major algorithm update might be in order pretty soon.

Read more »

Google Search Results Just Became More Mobile-friendly!

10.33 0

Mobile optimization


Mobile optimization is the need of the hour. Mobile has grown at a fantastic pace - not just in screen size and technical specs, but in usage as well. Google has pointed out time and again that mobile optimization is a must for ranking well in search engines. Recently, it introduced a label for mobile-friendly sites to be displayed in search results. In contrast, a red label was introduced for sites that were slow and not mobile-friendly. Google has made two more important changes recently that reflect on the importance of mobile optimization.

Read more »

Add Masonry, Grid Layouts to Blogger Posts with CSS and Javascript

15.44 0
How a website's content is displayed can spell the difference between being popular and obscure. Anything that looks chaotic or hardly readable is never going to be anyone's favorite. This is why content must be displayed in an organized, easy to follow and straightforward manner. Nothing works better than a structured grid, in this case.

Posts listed in grid view provide an excellent viewing experience for both the blogger or website owner and the visitors. This is especially true if the grid comes with images that would play with a person's visual inclination. What is great about grids is the seamless and smooth layout, complemented with a structured yet simple architecture. This makes it easier to navigate through a blog archive or product page. The style also enables a website owner to present posts in a more artistic and informative manner, without delving into the details. Suffice to say that a grid view demands creativity to be effortlessly mixed with functionality.

How views can be switched depends on a number of changes in a blog's codes. Some are fairly easy to implement, while others can be a little complex. Not to worry, as there are guides that will be provided. Grid styles also come in huge varieties, with each one designed to cater to a specific audience. Now, are you ready to go on the grid?

Features

What features can you expect from a grid style post in Blogger?

  • All the posts will follow the grid style when switching to grid view.
  • While the codes are being customized, the posts are left untouched. Their length, however, could be changed accordingly.
  • Auto Read More will be applied on all posts.
  • Thumbnails are automatically added based on the first picture found in each post.
  • Code is secure and is used across the board. In fact, 99% of bloggers are using a similar code to enable grid style posts in blogger.

What are the benefits of grid style?

  • Quick loading time of posts. Since only the snippets are loaded in certain pages, or a thumbnail and a caption, pulling up a blog archive would be quicker. When loading time is decreased, user experience is greatly enhanced.
  • Professional-looking blog. Without the chaos and concerns on readability, a website can look really clean and professional. Combined with the right colors and images, it can also leave a visual impact.
  • Improved website ranking. Because visitors have to click in order to view the rest of the post, page views of a site will significantly increase. This makes for a better SEO strategy.

Although changes to the CSS codes have to be made to implement the grid style view and make it compatible with a blog's template, all the work will be worth it once it is up and running.

Important:
Before anything make sure that you backup your Blogger template! If have encounter any problems with your edits, you can revert the template back to its previous condition by restoring it from your backup. For this, go to 'Template' in the left menu > click on the 'Backup/Restore' button in the upper right corner and press the 'Download Full Template' button - choose where you want to save the file on your computer and click the 'Save' button.

Now we can safely proceed with editing our Blogger template. If you run into problems, just revert back to your saved template.

How to Create Masonry, Grid Style Posts in Blogger

Step 1. Log into your Blogger dashboard and click on the blog where you want to apply the grid style.
Step 2. Go to "Template" located on the left side of the screen and press the "Edit HTML" button.
Step 3. Click anywhere inside the code area and press the CTRL+F keys to open the search box, then type the following tag inside the box (hit Enter to find it):
</head>
Step 4. Now copy the script below and paste it just before the </head> tag:
<script type='text/javascript'>
posts_no_thumb_sum = 100;
posts_thumb_sum = 100;
</script>

<script type='text/javascript'>
//<![CDATA[
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}
function createSummaryAndThumb(pID, pURL, pTITLE){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = posts_no_thumb_sum;
if(img.length>=1) {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'"><img src="'+img[0].src+'" /></a></span>';
summ = posts_thumb_sum;
}

else {
imgtag = '<span class="posts-thumb" style="float:left; margin-right: 10px;"><a href="'+ pURL +'" title="'+ pTITLE+'"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLdsUOFpp3_ZV-RJOnEnjXR3V5VR1SKS32mso4Q6pIwtHsixWgSF67dvc9MPEG1bhhCOgF52aFhv9EOy0oIGF-TXAQX-8VLtkk4B7XIU3ujiSD0KIRJvYhR2C6auY7sk1eb3bKS7jJsxiT/s1600/sorry-image-not-available.png" style="margin-top: -30px;" /></a></span>';
summ = posts_thumb_sum;
}

var summary = imgtag + '<a href="'+ pURL +'"><div class="post-summary-text">' + removeHtmlTag(div.innerHTML,summ) + '</div></a>';
div.innerHTML = summary;
}
//]]>
</script>
Step 5. Find the following code snippet using CTRL+F or Command + F:
<data:post.body/>
Step 6. After pressing the "Enter" key on your keyboard, you may find three occurrences of the above code, replace only the second and the third one with this code below:
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
    <b:if cond='data:blog.pageType != &quot;item&quot;'>
        <div expr:id='&quot;summary&quot; + data:post.id'>
            <data:post.body/>
        </div>
        <script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;,&quot;<data:post.url/>&quot;);</script>
        <b:if cond='data:post.allowComments'>
            <a class='comment-bubble' expr:href='data:post.addCommentUrl' expr:onclick='data:post.addCommentOnclick'>
                <data:post.numComments/>
            </a>
        </b:if>
    </b:if>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
    <data:post.body/>
</b:if>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'>
    <data:post.body/>
</b:if>

Step 7. Now choose one of the styles below, copy the code provided and paste it just above the </head> tag:

Simple Grid Design


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType!= &quot;item&quot;'>
<style>
#blog-pager {
clear:both;
}
.post {
height: auto;
width:30.8%;
overflow: hidden;
display:inline-block;
text-decoration:none;
float:left;
margin:0 1.1% 2%;
padding: 0px !important;
}

h3.post-title a {
font-size:75%;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
text-transform:uppercase;
padding:0;
color:#444;
}
h3.post-title {
height: 26px;
text-align:center;
width:100%;
margin:0!important;
padding-bottom: 4%;
}
.date-header {
display: none;
}

.post-body a {
text-decoration: none;
}
.posts-thumb {
width:100%!important;
height:190px!important;
overflow:hidden;
clear:both;
}
.post-body img {
display:block;
width:100%!important;
height:auto!important;
max-width:800px!important;
max-height:400px!important;
min-width:190px!important;
min-height:190px!important;
border:none;
outline:none;
position:relative;
margin: 0px;
padding:0;
}
.post-summary-text {
color:#777;
font-size:100%!important;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
text-align:center;
clear:both;
overflow:hidden;
margin:5px 0 0;
padding:7% 10%;
}
a.comment-bubble {
color:#fff;
text-decoration:none;
font-size:100%;
font-weight: bold;
right:10px;
position:absolute;
top:165px;
text-shadow:1px 2px 1px #333;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
}
a.comment-bubble:before {
content: &quot;Comments: &quot;;
}
.post-header,.post-footer {
display:none;
}
</style></b:if></b:if>

<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>

Grid Layout with Post Summary and Thumbnail

grid layout for blogger


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType!= &quot;item&quot;'>
<style>
#blog-pager {
clear:both;
}
.post {
height:auto;
width:31%;
display:inline-block;
text-decoration:none;
float:left;
margin:0 1.1% 2%;
padding:0!important;
}
h3.post-title a {
font-size:75%;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
text-transform:uppercase;
color:#111;
padding:0;
}
h3.post-title {
text-align:center;
height:22px;
position:absolute;
bottom:23%;
width:100%;
z-index:101;
overflow:hidden;
margin:0!important;
padding:10px 0;
}
.date-header {
visibility:hidden;
height:0!important;
width:0!important;
margin:0!important;
padding:0!important;
}
.posts-thumb {
width:100%!important;
height:190px!important;
overflow:hidden;
clear:both;
border-bottom:3px solid #00C8BD;
border-top:3px solid #558ABB;
}
.posts-thumb:hover {
border-top:3px solid #FF664E;
border-bottom:3px solid #FEBE36;
}
.post-body {
border-radius:2px;
box-shadow:0 0 6px 1px rgba(0,0,0,0.1);
position:relative;
height:auto;
}
.post-body a {
text-decoration: none;
}
.post-body img {
display:block;
width:100%!important;
height:auto!important;
max-width:800px!important;
max-height:400px!important;
min-width:190px!important;
min-height:190px!important;
border:none;
outline:none;
position:relative;
margin: 0px;
padding:0;
}
.post-summary-text {
color:#555;
background:#f5f5f5 url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5W1IKrS2YAx6pUu0TnAUx2B4kDvoQRtoo4diAddr6__eqyXgLaAN_ErPyIZsRe-X5I0caDuQy44EO7w4uA10LQOSbDvqxSSb8TAm6aPKKc_2Y39-Bw7c3sQOqQW76nLylIhyjOXDNO0_B/s1600/blueprint.png);
font-size:100%!important;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
text-align:center;
clear:both;
overflow:hidden;
margin:5px 0 0;
padding:17% 10% 6%;
}
a.comment-bubble {
color:#fff;
text-decoration:none;
font-size:110%;
right:10px;
position:absolute;
top:165px;
text-shadow:1px 2px 1px #333;
font-family: &#39;Pacifico&#39;, cursive;
}
a.comment-bubble:before {
content: &quot;Comments: &quot; url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGqlIY_yrK-iP9ZrvYExW2knc_HXcWwgcnvZYAF7lJCqbYx0IaHA_woso-w0cxT7QRnZ9JwhB1NyU8LSntWCzwrMMqc261kwCM7E4unqA6Ub8QjqIBvmv6ltwdpOwvW2E3oHMfL159J_Gd/s1600/heart-active.png);
}
.post-header,.post-footer {
display:none;
}
</style></b:if></b:if>

<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'/>

Grid Layout with Text Snippet on Hover

blogger posts


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType!= &quot;item&quot;'>
<style>
#blog-pager {
clear:both;
}
.post {
height:auto;
width:31%;
display:inline-block;
text-decoration:none;
float:left;
margin:0 1.1% 2%;
padding:0!important;
}
h3.post-title a {
font-size:95%;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
text-transform:uppercase;
color:#fff;
padding:0;
text-shadow: 2px 2px 3px #222;
}
h3.post-title {
height: 22px;
text-align:center;
position:absolute;
top:1%;
width:100%;
z-index:101;
overflow:hidden;
margin:0!important;
padding:10px 0;
}
.date-header {
visibility:hidden;
height:0!important;
width:0!important;
margin:0!important;
padding:0!important;
}
.posts-thumb {
width:100%!important;
height:190px!important;
overflow:hidden;
clear:both;
}
.post-body {
border-radius:2px;
box-shadow:0 5px 4px 1px rgba(0,0,0,0.1);
position:relative;
overflow: hidden;
}
.post-body a {
text-decoration: none;
}
.post-body img {
display:block;
width:100%!important;
height:auto!important;
max-width:800px!important;
max-height:400px!important;
min-width:190px!important;
min-height:190px!important;
border:none;
outline:none;
position:relative;
margin: 0px;
padding:0;
}
.post-summary-text {
cursor: pointer;
background-color: rgba(44, 77, 163, 0.8);
color:#fff;
font-size:120%!important;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
clear:both;
overflow:hidden;
padding:25% 10% 0%;
left: 0;
position: absolute;
text-align: center;
vertical-align: bottom;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
top: 0;
transform: scale(1);
opacity: 0;
z-index: 10;
height: 100%;
transition: all 300ms ease-out 0s;
}
.post-summary-text:hover {
opacity: 1;
}
a.comment-bubble {
color:#fff;
text-decoration:none;
font-size:100%;
width: 100%;
text-align: center;
position:absolute;
top:165px;
left: 0px;
text-shadow:1px 2px 1px #333;
font-family: &#39;Pacifico&#39;, cursive;
z-index: 122;
}
a.comment-bubble:before {
content: &quot;Comments: &quot;;
}
.post-header,.post-footer {
display:none;
}
</style></b:if></b:if>
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>
<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'/>

Masonry Layout (Pinterest Like Grid)

masonry layout for blogger


<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<b:if cond='data:blog.pageType!= &quot;item&quot;'>
<style>
#blog-pager {
clear: both;
position: absolute;
bottom: 0px;
left: 0px;
}
.blog-feeds {
display: none;
}
.post {
height: auto;
width: 100%;
padding: 0px !important;
margin: 0px 0px 30px;
display: inline-block;
text-decoration: none;
}
h3.post-title a{
font-size: 95%;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
text-transform: uppercase;
padding: 0px;
color: #fff;
text-shadow: 3px 2px 2px #222;
font-weight: bold;
}
h3.post-title, .comments h4 {
margin: 0px !important;
text-align: center;
padding: 10px 0px;
position: absolute;
top: 10px;
width: 100%;
z-index: 200;
}
.post-header {
display: none;
}
.date-header {
visibility: hidden;
height: 0px !important;
width: 0px !important;
padding: 0px !important;
margin: 0px !important;
}
.posts-thumb {
width: 100%;
height: auto;
overflow: hidden;
clear: both;
}
.post-body {
overflow: hidden;
position:relative;     
}
.post-body a {
text-decoration: none;
}
.post-body img {
display: block;
width: auto;
height: auto;
max-width: 100%;
max-height: none;
min-width: 100%;
min-height: auto;
margin: 0px;
padding: 0;
border: none;
outline: none;
position: relative;
}
.post-summary-text {
cursor: pointer;
background-color: rgba(44, 77, 163, 0.8);
color:#fff;
font-size:120%!important;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
clear:both;
overflow:hidden;
padding:25% 10% 0%;
left: 0;
position: absolute;
text-align: center;
vertical-align: bottom;
text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
top: 0;
transform: scale(1);
opacity: 0;
z-index: 10;
height: 100%;
transition: all 300ms ease-out 0s;
}
.post-summary-text:hover {
opacity: 1;
}
.post-footer {
display: none;
}
a.comment-bubble {
color: #fff;
text-decoration: none;
font-size: 120%;
right: 5px;
z-index: 222;
position: absolute;
top: 5px;
text-shadow: 1px 2px 1px #333;
font-family: &#39;Open Sans Condensed&#39;, sans-serif;
}
a.comment-bubble:before {
content: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGqlIY_yrK-iP9ZrvYExW2knc_HXcWwgcnvZYAF7lJCqbYx0IaHA_woso-w0cxT7QRnZ9JwhB1NyU8LSntWCzwrMMqc261kwCM7E4unqA6Ub8QjqIBvmv6ltwdpOwvW2E3oHMfL159J_Gd/s1600/heart-active.png);
}
.main-inner .column-center-inner {
-moz-column-count: 3;
-moz-column-gap: 1px;
-webkit-column-count: 3;
-webkit-column-gap: 1px;
column-count: 3;
column-gap: 1px;
width: 100%;
padding: 0px !important;
}
</style></b:if></b:if>

<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300' rel='stylesheet' type='text/css'/>

Please note that the masonry layout might not work if you have a customized template, also older posts will appear vertically (from top to bottom) instead of left to right.

Step 8. Click "Preview" and if everything looks fine, press the "Save Template" button.


That's it!

Implementing a grid style view has its pros and cons, but the benefits clearly outweigh the disadvantages. The fact that a website will look visually appealing and professional when set in grid style, is already enough to boost its online reputation. An increase in page views is just the beginning. With the right images and content, a blog will also have better SEO. Most importantly, implementing the changes is not as complex as some might think. With a step-by-step guide available, adding a dynamic view switcher would be completed in no time.

How To Embed Twitter-Hosted Videos On Your Website?

10.33 0



Following along the same lines as Facebook, Twitter recently announced a video-hosting feature that lets you capture and upload videos using official Twitter apps without having to upload them first on a third-party service such as YouTube. This was indeed a welcome feature, and in sharp contrast to how Twitter had been predominantly text-based and monotonous in the past. However, as with any video-hosting service, you need a way to share that video elsewhere on the web.

Read more »

Launching The First User Powered "Blogger Help Forum"

10.22 1

Blogger Help Forum

For the past one year we were busy in giving the biggest surprise to the web and exclusively the Blogger users. We were busy in building the first ever 24/7 Help Forum for Blogger users with a Cloud hosted system introduced first time to Blogspot community. We are now premium customers of Civilized Discourse Construction Kit, Inc and Alhamdulillah bringing you the most advanced Forum technology called Discourse to Blogger users, developed by the founders of Stackoverflow, and maintained by its co-founder Jeff Atwood aka codinghorror.

Read more »