Thứ Ba, 22 tháng 9, 2015

5 Best Popular Posts Widgets for Blogger

If you're using Blogger as the platform for your personal or business blog, you're probably looking for ways to customize it and make it your own. This way, you'll make your webpages unique and eye-catching and ensure they'll stand out from the many other pages on the internet. You'll also grab the attention of your target market, encourage them to browse through your blog and become your loyal readers and followers.

Fortunately, there are lots of ways to personalize your Blogger blog, and one of these is to customize your Popular Posts widget. Haven't installed this yet? Don't worry since putting it in your blog easy.
popular posts widget for blogger

Adding the Popular Posts Widget for Blogger

Just click on your blog title, access the "Layout" menu, click "Add a Gadget" and choose "Popular Posts". A window will appear asking you to configure the widget by choosing which posts you'll feature (e.g. those that were most viewed in the past 7 days or 30 days or from the beginning of your blog). You'll also be asked to choose how many posts you'll feature in your Popular Posts section and select if you'll show the post title only or along with the image thumbnail and/or the snippet. (Remember that each widget style has different requirements, so follow the styles and instructions carefully to find out if you need the snippet and image thumbnail or not).

Configuring Popular Posts Widget for Blogger

Once you've followed these instructions, you'll get to see the basic version of the Popular Posts Widget for Blogger in your blog. You can stick with this if it matches your blog design but, if it sticks out like a sore thumb or doesn't suit your taste, there's no need to fret since you can personalize it. You can choose from the following styles - see the demo blog:

Popular Posts Style 1 - Box within a box

This is an interesting widget style since it uses your snippet and image thumbnail in a unique way. Your snippet is written in opaque text and placed in a small transparent box. This, in turn, is placed in a bigger rectangular box, wherein your image thumbnail is used as a background. Choosing this Popular Posts Widget for Blogger can be a great option if you want to brighten up your blog and grab the attention of readers with your colorful photos.

popular posts widget for blogger

CSS code:
<style type='text/css'>
.sidebar .PopularPosts ul{margin:0;padding:0;}.sidebar .PopularPosts ul li{list-style:none !important;padding:0 !important;margin-bottom:10px;}.sidebar .PopularPosts .item-thumbnail{height:190px;margin:0;overflow:hidden;width:100%;}.sidebar .PopularPosts .item-title{position: relative;}.sidebar .PopularPosts img{height:auto;width:100%;padding:0;}.sidebar .PopularPosts .item-title a{color: #FFFFFF;font:20px Oswald;text-transform:uppercase;padding:10px;position:absolute;right:0;left:0px;margin:0px auto;text-align:center;text-decoration:none;top:40px;width:60%;height:26px;overflow:hidden;z-index:2;}
.sidebar .PopularPosts .item-snippet{background:rgba(0, 0, 0, 0.35);border-top:6px solid rgba(0, 0, 0, 0.1);border-bottom:6px solid rgba(0, 0, 0, 0.1);color:#FFFFFF;left:0px;right:0px;margin:0px auto;padding:65px 10px 10px;position:absolute;font:13px 'Times New Roman',Times,FreeSerif,serif;text-align:center;top:35px;width:60%;z-index:1;}.sidebar .PopularPosts .item-content{position:relative;}
</style>

Popular Posts Style 2 - Large thumbnails with small post titles underneath

This uses the same code as the basic Blogger Popular Posts Widget with a few tweaks. Popularized by well-known blogs, this style is eye-catching because it focuses on pictures, which don't only summarize the posts' content but also add visual drama to the entire page. This is particularly useful for blogs that focus on clothes, makeup, art and other topics that highly depend on visual presentation to better express ideas.
popular posts widget for blogger
CSS code:
<style type='text/css'>
.sidebar .PopularPosts ul{counter-reset:popularcount;margin:0;padding:0;}.sidebar .PopularPosts ul li{width:100%;list-style:none !important;padding:0 !important;margin-bottom:20px;position:relative;border:0;text-align:center;}.sidebar .PopularPosts .item-thumbnail a{clip: auto;display:block;height:auto;height:120px;}.sidebar .PopularPosts .item-thumbnail{width:100%;height:120px;overflow:hidden;position:relative;margin-bottom:15px;}.sidebar .PopularPosts .item-thumbnail::before{background:rgba(0, 0, 0, 0);border-bottom:29px solid #fff;border-left:29px solid transparent;border-right:29px solid transparent;bottom:0px;content:&quot;&quot;;height:0;width:0px;left:0px;right:0px;margin-left:auto;margin-right:auto;position:absolute;z-index:3;}.sidebar .PopularPosts .item-thumbnail:after{color:#000;content:counter(popularcount, decimal);counter-increment:popularcount;font:13px &quot;Times New Roman&quot;,Times,FreeSerif,serif;list-style-type:none;position:absolute;bottom:0;margin:0px auto;left:0px;right:0px;z-index:4;}.sidebar .PopularPosts .item-thumbnail img{position:relative;width:100%;height:auto;padding:0;}.sidebar .PopularPosts .item-title{font:15px &#39;Oswald&#39;, sans-serif;text-transform:uppercase;margin:0px auto;padding-bottom:10px;border-bottom:1px solid #000;}.sidebar .PopularPosts .item-title a{color:#000;text-decoration:none;}.sidebar .PopularPosts .item-snippet{padding:10px 15px;font:13px &quot;Times New Roman&quot;,Times,FreeSerif,serif;}
</style>

Popular Posts Style 3 - Colorful boxes

If your blog needs a pop of color, this is the right choice for you. This widget style presents your Popular Posts in several boxes that feature a thumbnail image and have bright, eye-catching shades like light green, ocher yellow and vivid orange. Each box has a different color, and you can add up to four boxes.

popular posts widget for blogger

CSS code:
<style type='text/css'>
.sidebar .PopularPosts ul{padding:0;margin:0;}.sidebar .PopularPosts .item-thumbnail a{clip:auto;display:block;height:auto;overflow:hidden;}.sidebar .PopularPosts .item-thumbnail{width:130px;height:130px;border-right:5px solid #fff;margin:0px 10px 0px 0px !important;position:relative;}.sidebar .PopularPosts .item-thumbnail img{position:relative;height:auto;width:100%;padding:0;}.sidebar .PopularPosts ul li{float:left;margin-bottom:5px;max-height:130px;min-width:250px;overflow:hidden;}.sidebar .PopularPosts ul li:first-child{background:#D9EDF7;}.sidebar .PopularPosts ul li:first-child + li{background:#F2DEDE;}.sidebar .PopularPosts ul li:first-child + li + li{background:#DFF0D8;}.sidebar .PopularPosts ul li:first-child + li + li + li{background:#FFEEBC;}.sidebar .PopularPosts ul li:first-child + li + li + li + li{background:#E0E0E0;}.sidebar .PopularPosts .item-title{font:13px &#39;Oswald&#39;, sans-serif;text-transform:uppercase;padding:10px 5px 10px;}.sidebar .PopularPosts .item-title a{color:#000;text-decoration:none;}.sidebar .PopularPosts .item-snippet{font:13px &quot;Times New Roman&quot;,Times,FreeSerif,serif;padding-right:5px;}.sidebar .PopularPosts .widget-content ul li{padding:0px 5px 0px 0px!important;}
</style>

Popular Posts Style 4 - Grid layout

Just like the large-picture widget style, the grid layout is an excellent option if you want to showcase your pictures or if your blog depends on visual information. However, the title of your posts won't be included in the layout, so readers will have to hover their mouses on the images to read the titles.

popular posts widget for blogger

CSS code:
<style type='text/css'>
.sidebar .PopularPosts ul{padding:0;}.sidebar .PopularPosts ul li:first-child{width:100%;max-height:100%;opacity:0.9;}.sidebar .PopularPosts ul li:nth-child(even){margin-right:2%;}.sidebar .PopularPosts ul li{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;padding:0px !important;width:49%;max-height:120px;opacity:0.4;overflow:hidden;float:left;margin-bottom:2%;-webkit-transition: all 0.5s ease 0s;-moz-transition:all 0.5s ease 0s;-ms-transition:all 0.5s ease 0s;-o-transition:all 0.5s ease 0s;transition:all 0.5s ease 0s;}.sidebar .PopularPosts ul li:hover{opacity:1;}.sidebar .PopularPosts .item-thumbnail{margin:0;width:100%;line-height:0;}.sidebar .PopularPosts ul li img {-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing: border-box;width:100%;height:auto;padding:0;}.sidebar .PopularPosts .item-content:hover .item-title a,.sidebar .PopularPosts .item-thumbnail-only:hover .item-title a{visibility:visible;opacity:1;}.sidebar .PopularPosts .item-title a{color:#fff;background:rgba(0, 0, 0, 0) linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.93) 100%, rgba(0, 0, 0, 0.85) 100%);text-decoration:none;position:absolute;text-align:center;font:13px &#39;Oswald&#39;, sans-serif;left:0;right:0;bottom:0%;padding:100px 10px 10px;opacity:0;visibility:hidden;}.sidebar .PopularPosts .item-snippet{display:none;}
</style>

Popular Posts Style 5 - Numbered posts

If you love numbered lists, or if you'd like to make your blog more organized, this can be the perfect option. By using the code for this widget style, your Popular Posts will be automatically numbered and will feature clean, minimalistic boxes that include your snippet and image thumbnail.

popular posts widget for blogger

CSS code:
<style type='text/css'>
.sidebar .PopularPosts ul{counter-reset:popularcount;margin:0;padding:0;}.sidebar .PopularPosts ul li{float:left;max-height:130px;min-width:250px;position:relative;}.sidebar .PopularPosts .item-thumbnail::after{color:rgba(255,255,255, 0.63);content:counter(popularcount, decimal);counter-increment: popularcount;font:70px &#39;Oswald&#39;, sans-serif;list-style-type:none;position:absolute;left:5px;top:-5px;z-index:4;}.sidebar .PopularPosts .item-thumbnail::before{background:rgba(0, 0, 0, 0.3);bottom:0px;content:&quot;&quot;;height:100px;width:100px;left:0px;right:0px;margin:0px auto;position:absolute;z-index:3;}.sidebar .PopularPosts .item-thumbnail a{clip:auto;display:block;height:auto;overflow:hidden;}.sidebar .PopularPosts .item-thumbnail{width:100px;height:100px;margin:0px 10px 0px 0px !important;position:relative;}.sidebar .PopularPosts .item-thumbnail:hover:before{display:none;}.sidebar .PopularPosts .item-thumbnail img{position:relative;padding-right:0px !important;height:auto;width:100%;}.sidebar .PopularPosts .item-title{font:13px &#39;Oswald&#39;, sans-serif;text-transform:uppercase;padding:0px 5px 10px;}.sidebar .PopularPosts .item-title a{color:#000;text-decoration:none;}.sidebar .PopularPosts .item-snippet{font:13px &quot;Times New Roman&quot;,Times,FreeSerif,serif;}.sidebar .PopularPosts .widget-content ul li{padding:0px 5px 0px 0px !important;}.sidebar .PopularPosts .item-content{padding:5px 0px;border-bottom:1px dotted #dedede;overflow:hidden;height:100px;position:relative;}
</style>
These are just some of the widget styles you can choose from. When you've picked a style you want, make sure to copy its CSS code. Once you do so, go to your blog, click "Theme" on the left side and select "Edit HTML" under the template preview.

These next codes need to be pasted above the "</head>" or "</body>" tags, so check the instruction to know exactly where you need to put the code.

Adding the CSS

When the template editor has opened, click anywhere inside the code area and hit CTRL + F or Command F to search the following tag:
</head>
Just ABOVE the </head> tag, copy-paste the CSS code of one of the styles above.


Important: If the Popular Posts widget is located in the footer of your blog, remove the .sidebar class found in the CSS code in order to make it work.

Please note that most of the styles are using the 'Oswald' font which you need to add to your template's code as well.

So, search for this tag:
<head>
... and just BELOW it, add this line:
<link href='https://fonts.googleapis.com/css?family=Oswald:400,700' rel='stylesheet' type='text/css'/>

Adding the JavaScript

These styles also require using a script in order to resize the popular posts image / thumbnail and trim the post snippet and title. To add the JavaScript code, search the </body> tag and paste the following script just above it:
<script src='//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'/>
<script type='text/javascript'>
//<![CDATA[
$(".popular-posts img").attr("src",function(t,s){return s.replace("/w72-h72-p-k-no-nu/","/s350-c/")}),$(".popular-posts ul li .item-snippet").each(function(){var t=$(this).text().substr(0,60),s=t.lastIndexOf(" ");s>10&&$(this).text(t.substr(0,s).replace(/[?,!\.-:;]*$/,"..."))}),$(".popular-posts ul li .item-content a").each(function(){var t=$(this).text().substr(0,60),s=t.lastIndexOf(" ");s>=6&&$(this).text(t.substr(0,s).replace(/[?,!\.-:;]*$/,"..."))});
//]]>
</script>
Note: if you have already the jQuery library in your template, remove the line in red.

After you have added all the codes in the right place, press the "Save theme" button to save the changes.

That's it!

The five Popular Posts widgets for Blogger featured today are all great solutions for adding a popular post section to your blog. They all have different appearance for determining what makes a post popular, but the end result is the same: visitors are always one click away from your best content. Try some of these styles, find your favorite, and see how it impacts the performance of your blog.

Thứ Sáu, 4 tháng 9, 2015

Google Photos and Free Storage

There's something I don't understand about the new Google Photos. The settings page lets you choose between uploading high quality photos and videos for free, at reduced sizes (16MP or less for photos, Full HD or less for videos) or uploading original photos and videos at full resolution, but that counts against your quota.



This doesn't make sense. Google+ Photos had a different policy: "Only photos over 2048x2048 pixels and videos longer than 15 minutes count toward your storage limit." Google+ even had a setting that resized your photos to 2048x2048 or less, so they stayed under the free storage limit.

Google's new policy doesn't seem fair to those who pick the "original" option. If you upload photos that are 16 MP or less or videos that are 1080p or less, you should be able to store them for free, regardless of the Google Photos setting you choose. The distinction between "high quality" and "original" should only be made for photos and videos that don't fall under Google's limitations.

Google Drive Bonus Storage Is Expiring

2 years ago, Google offered 10 GB of free storage for installing the Quickoffice app for Android or iOS. Unfortunately, Google's bonus storage is about to expire.

"We wanted to let you know that you have bonus Google Drive storage expiring on Oct 3 2015. While this bonus period is coming to an end, you can always purchase additional storage," informs Google. "Rest assured that your files in Google Drive remain safe and accessible by you and the people you've shared them with. You just won't be able to add or sync any files unless you are using less than your current available storage or you've purchased additional storage."



Basically, Google won't delete your files, but you'll have to delete some of them or purchase more storage if you actually used the 10 GB bonus storage. Since the storage is shared between Gmail, Google Photos and Google Drive, all of these services are affected and you can also delete Gmail messages with large attachments or photos and videos from Google Photos that use your Google storage. Here's how to find Gmail messages with big attachments and a list of Google Drive files sorted by size.

More About Google's New Visual Identity

Google Design's site has an interesting article about Google's new identity. Google's designers started by "distilling the essence of the brand down to its core" and built 3 elements that work on any platform: a sans serif logotype, the dynamic dots that respond to users and a compact version of the Google logo.



Some people said that Google's new logo is childish and it really is. "The Google logo has always had a simple, friendly, and approachable style. We wanted to retain these qualities by combining the mathematical purity of geometric forms with the childlike simplicity of schoolbook letter printing. Our new logotype is set in a custom, geometric sans-serif typeface and maintains the multi-colored playfulness and rotated ‘e’ of our previous mark—a reminder that we’ll always be a bit unconventional," mention Google's designers.

The dots are a brilliant way to convey the full Google logo in a Material Design approach. "The Google dots are a dynamic and perpetually moving state of the logo. They represent Google's intelligence at work and indicate when Google is working for you. We consider these unique, magic moments. A full range of expressions were developed including listening, thinking, replying, incomprehension, and confirmation."


Google now uses pixel-perfect SVGs for base assets and generates thousands of vector-based variants. For example, there's a version of the logo that's optimized for low-bandwidth connections and is only 305 bytes. Google's old approach was to serve a text-based approximation of the logo.

All in all, the new logo is more flexible, works better for devices with small screens and there's an animated abstract version. For the first time, Google's logo becomes a user interface control that communicates information and connects users to Google.

{ Thanks, Brendan Early. }

Thứ Năm, 3 tháng 9, 2015

Templates, Insights and Dictation in Google Docs

Google's standalone web apps for Docs, Sheets and Slides now show a list of templates you can choose to quickly create a document, spreadsheet or presentation. For example, Google Docs shows templates for resumes, reports, letters and you can expand the list to see even more templates (essays, class notes, project proposals, meeting notes, brochures, newsletters).



Google Sheets has templates for to-do lists, budgets, calendars, schedules, invoices, time sheets and more.


Google Slides also has a few templates for photo albums, pitches, status reports, lesson plans, portfolios, weddings, party invites and more.


Another new feature lets you get insights on a spreadsheet by simply selecting a range of cells and clicking Explore. This feature works in the desktop web app and the Android app and it shows trends, patterns and even charts for the data you've selected. It's surprisingly useful.


Google Docs now shows the new changes in a collaborative document. "If there are new changes, click the New changes button to the right of the Help menu. You can also click the File menu > See new changes."

Voice typing lets you dictate a text in Google Docs for desktop, but only if you use Chrome. Activate this feature from the Tools menu and speak in one of the 40 supported languages. You can say "period", "comma", "question mark", "exclamation mark", "new line", "new paragraph" to add punctuation to your text.



You can customize your forms by picking a theme or adding a photo. Google chooses the right color palette to match your photo. Insert images and YouTube videos to illustrate your questions.


{ Via Google Docs Blog. Thanks, Brendan and Jérôme. }

Thứ Tư, 2 tháng 9, 2015

Updated Mobile UI for Google's Related Searches

Google Mobile Search has a new interface for related searches. Google usually shows up to 8 related searches at the bottom of the search results pages, but now the list looks different: there's a table with white rows and small arrows next to each related query.


Click a related search and you can see the search results for that query and even more related searches. You can start with a generic query like [nightingale] and create a more specific query by only clicking on related searches. For example, you can find searches like [sound of a nightingale singing], [Yanni nightingale live] or [how do you become a nightingale in Skyrim?].

Thứ Ba, 1 tháng 9, 2015

Google's New Colorful Favicon

Google has a new logo, but it also has a new favicon. It's now a capital G that uses the four Google colors: blue, red, yellow and green.

Here's a screenshot that shows the old favicon launched in 2012 and the new one:

This is the new favicon, which is also used as an icon for Google Search:

You can find it in Google's app launcher and soon in Chrome's app launcher and in Android, as an icon for the Google Search app.

Google Photos, The New Home for Your Private Photos

I've clicked the Photos link from the Google+ navigation menu. The page redirected to Google Photos and it displayed a new message:

"Welcome to Google Photos, the new home for all your private photos. The photos you've shared on Google+ are still available in the photos tab of your Google+ profile."


The message links to https://plus.google.com/me/photos, which is the photos tab from your Google Profile. Until now, Google Photos linked to Google+ Photos, bypassing the redirect.

You can still go to Google+ Photos using this link: https://plus.google.com/photos/highlights, but I don't know for how long. Most likely, Google+ Photos will disappear soon.

New Mobile Google Homepage

Google's mobile homepage looks different. The tabs for web search and image search are now blue and you can finally use the app launcher. Just click the grid icon to see the same app launcher from the desktop site. Many shortcuts will open the corresponding mobile apps instead of the mobile sites.


For now, the app launcher is only available from the Google homepage and from Google Image Search's homepage.


Google has recently changed the color of the tabs from red to blue for both the desktop site and the mobile site. There's now a bigger Google logo at the top of the page and the header uses more space.

The New Google Logo in Google Maps

The new Google logo stands out more. The latest version of the Google Maps app for Android replaced the gray Google logo from the bottom left corner with a bigger logo that's now colorful.

Here's a screenshot from an old version of Google Maps. You need to look carefully to see the logo at the bottom:


This screenshot is from the latest version of the Google Maps app. The new logo doesn't blend in with the map and it's more distracting.


A similar logo was also added to the desktop site:

App Launcher Shortcut for Google Inbox

Ever wanted to quickly switch between Gmail and Inbox? You can add Inbox to Google's app launcher: just go to inbox.google.com, click the grid icon at the top of the page and then click "add a shortcut". Drag and drop the icon to change its position.


I placed the Inbox shortcut next to Gmail's shortcut.


Inbox has a setting that lets you redirect Gmail to inbox.google.com, just in case you want to switch to Inbox.

Smaller Google Search Button

Google has recently changed the search button from the desktop site. It's now much smaller, just like the search button from the mobile UI.


You don't have to click the search button: it's much faster to press Enter, since you're already using the keyboard.

Here's a recent screenshot that shows the bigger button:


A New Google Logo

Google's homepage has a clever animation that announces a new Google logo. "These days, people interact with Google products across many different platforms, apps and devices — sometimes all in a single day. (...) Today we're introducing a new logo and identity family that reflects this reality and shows you when the Google magic is working for you, even on the tiniest screens," informs Google.

It's not just about the Google logo: many other Google icons will change. "New elements like a colorful Google mic help you identify and interact with Google whether you're talking, tapping or typing. Meanwhile, we're bidding adieu to the little blue 'g' icon and replacing it with a four-color 'G' that matches the logo."


Google's app launcher already has new icons for Google Search, Google Maps, Google Translate, Google News and Google+:


The new icons are better suited for small screens and manage to convey the Google identity using colors and playful cues. Google's logo hasn't changed a lot since 1998: it's still simple, colorful, playful and unintimidating.


{ Thanks, Gopinath. }