Now Drag & Drop Images in Post Editor in Blogger

Blogger has announced a new and very useful: Drag and Drop images in directly draft posts to upload them!

Credit: http://www.memegasms.com/


Blogger's post editor has been on a very slow improvement over the time, though it is now free of many bugs and errors that caused havoc among Blogger authors while even writing a simple post.

How Do I Know?

Open up a post in the editor and drag and drop an image from your computer in the post editor (in Compose mode) and the images will be uploaded and added to the post as you would've done with the "Insert Image" option in the toolbar.

When you click the "Insert Image" icon for the first time you will be presented with the notification letting you know about the new feature so that you can use it from next time instead of proceeding with a little lengthier process of selecting > uploading > again selecting and placing the image.

From the official Blogger Help Forum thread
It makes it easier for a blogger to place images in the post. A great relief for people who happen to upload a lot of images on their blogs.

Wasn't it possible already?

No. Before you could sure drag and drop images into the post editor and it would have even shown up but it' was not the same without the support it has implemented now. When you did that before the images were not uploaded to any server instead were added into the post as long series of text that encoded as the image's data.

It isn't the best practice for drag and dropping image though, so we said no to it.

Sign-in to Blogger using Non-Google Email Address

Recently there have been a lot of confusion for logging in among Blogger users who previously signed-up on it with a non-google email address i.e with a Yahoo or other service.


The confusion arises for one reason: Uniting all Google services under one Google account, so the login page for all your Google services like Gmail, Blogger, Webmaster Tools etc. looks the same.



Previously all the Google services had different login page if you remember, just a year or two ago but now which can be a called a good move by Google leads to a lot of confusion, at least for many Blogger users.

How to Login?

Your Google account doesn't have to be necessarily a @gmail.com address, Blogger is a Google product and falls under one Google account, but you can still use the email address you used to sign-up for Blogger with.

Just go to Blogger.com (in logged-out state) and log into it with your @yahoo, @hotmail or any other email address you sign-up with. 

Using the HTTPS Option in Blogger and Things to Know

Blogger has after a long time come up with a new option for technical settings of the blogs, and this time is is something that most Blogger's didn't generally expected: The option to serve their blogs over HTTPS.

https option blogger settings

This surely came as a surprised, and especially on a platform like Blogger. Most people use it for blogs, and generally blogs doesn't require so much protection against data theft. Do note that serving your blog over has nothing to do with the security of your Blogger account, but to ensure that the data  from your blog's domain that is being transferred to a visitor is more secure than the normal HTTP.

Other than the security of the data HTTPS do has some very interesting advantages, for an instance many advanced APIs in HTML5 allows sites to use features that requires advanced device or application access.  But that is generally insignificant for any regular or even advanced Blogger.

What is HTTPS and What Does it Do

HTTPS has no significant effect on your search rankings or such, or the content that is displayed or presented to the visitor, only the way it is done is affected, or to say improved and secured.

It stands for "HyperText Transfer Protocol Secure", which clarifies its true meaning, it is secure, yup, it makes difficult for a hacker to steal data between the user and your blog. But these are implemented mainly on sites that requires protection from potential data thefts, like a Banking Site, or many sites like Google, Facebook, Twitter etc. which has to protect a users data that is being transferred over the air from thefts. These are some examples, but you will see the use of HTTPS not only these poplar but more business and services websites. 

Why is encrypted data so important? It is important when you are transferring content that can be a subject of data theft. A website that asks for your credit card detail so that you can pay money mostly use HTTPS and advanced encryption to ensure that a hacker doesn't steal the data and decrypt it that might reveal the details to them. Credit card details is one example, other reasons are to protect the transfer of cookies, which might give away a way for the hackers to pretend to be you and log into a site with the use of those cookies and HTTPS just gives the data more protection. 

Should I use it?

Most people who when visit a site with HTTPS they sub-consciously get a assurance that the site is genuine and safe to use, probably even better than competitors with only HTTP. It does help a visitor to decide physiologically to either trust the site or not. Anyways that is not very similar with a blog, most people don't expect HTTPS being implemented on a blog they just want to read, though it doesn't harm the experience either. 

HTTPS can be prove to be helpful but at the same time can be an obstruction to small things that you might be doing. For example when your blog is on HTTPS and you suppose have linked an image from another site with only HTTP in its URL the browser may give out a "mixed content" warning which might confuse a visitor who doesn't know what's going on and might possibly lead them away.  Though those are not malicious but might give out a feeling of it, so when you use HTTPS you have to make sure the resources like assets files and images are also on HTTPS. 

On the other hand you might also note that you should not embed contents that are not on HTTPS, but this isn't a big issue if you mainly embed content from sites which already serves on the secure protocol i.e HTTPS like Google Docs, YouTube and many other well known site. 

Benefits

  1. Visitors are ensured that the site they've opened is genuine and not a malicious site that they've been redirected to without their knowledge. 
  2. Any person trying to manipulate the content that is being transfer from your blog to the visitor will find it more difficult, thus providing security to the data.
  3. If you are tech-savvy then there are some more advantages of it that you can enjoy through latest web technologies eg. the notification API or the use of media devices through the site

Things to look out for

  1. If you have third party gadgets that uses resources on the general HTTProtocol errors might come up as HTTPS suggests only resource on the same protocol be served.
  2. Only for ".blogspot.com". Not available by blogger for custom domains, though HTTPS services might be available from your domain registrar. 
  3. 'http://' doesn't redirect to the secure version if some types it in. Though when you have turned off "HTTPS Availability" your blog's URL would redirect to the HTTP even if a user types in "https://" 
If you are unsure about it then I would recommend you to research more about HTTPS and its technical aspects to make a decision, else there is no harm in staying with HTTP though.

It is though not for everyone. A blog anyways doesn't generally needs HTTPS but this has sure come as a breeze of hope for many folks who might have wanted to have this on Blogger. So if you know what you are doing then you are good to go.  

On a further note I would suggest you to visit this official forum thread to learn what the users have to say about this feature: https://productforums.google.com/forum/#!topic/blogger/AYiZ_QjkbxE


Adding Two Or Multiple Column Paragraphs in Blogger Posts

Writing is a brilliant thing, but writing with style is even brilliant! But one thing that many blog authors want to have is the multiple column paragraphs, that's paragraphs side-by-side.

Above is an example of three column paragraph. In this tutorial I am going to guide you how to work with multiple column or newspaper style paragraphs in Blogger editor.


Why not use MS Word to copy and paste?

One simple idea is to format the text in MS Word or some rich text editing software and then copy and paste the code in the post editor, but I would not recommend it, rich text editing software mostly aren't made for the web, and the code/markup they generate is not compatible with HTML, so it's not completely a good idea.

Basic Prerequisite

Mostly the first part is one-time setup, once you do it you can easily add these style of paragraphs to any new or existing blog posts.

This would require a bit knowledge of basic HTML to be able to tell what are HTML markup, and most of you might already be familiar with it if you have worked in the "HTML" mode in Blogger post editor.

Even if not I will tell you the basics things you need to know, and that would take no longer than 5 minutes.

Let's get started

There are two parts in this, first is the one-time setup of the CSS in your Blogger Template (See how to apply CSS to your Blogger Blog) and the last one is to create the HTML markup for the columns of paragraphs, and set the required configurations like how much space you want a column to take, like 1/4, 2/4 etc. and that also includes adding the text you want in each column.

1. The CSS Code

First thing as we discussed is the CSS code that handles all the styling this particular HTML markup would need in order for the paragraphs to be displayed in multiple columns.

Copy the following CSS code:

/* 
# Multiple Paragraphs style by Deepak Kamat

# depy45631@gmail.com (author)

# Free & Open License to Use in commercial and or personal projects/works.
*/
.multiple-para {
margin: 15px 0;
}
.multiple-para *,
.multiple-para *:after,
.multiple-para *:before {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}

.multiple-para:after,
.multiple-para:before {
content: "";
display: block;
clear: both;
}

.multiple-para .para-50 {
display: block;
float: left;
width: 50%;
padding: 0 10px;
}

.multiple-para .para-33 {
display: block;
float: left;
width: 33%;
padding: 0 10px;
}

.multiple-para .para-25 {
display: block;
float: left;
width: 25%;
padding: 0 10px;
}

Copied? Now refer to this tutorial about adding CSS styles to your blog and follow the instructions to apply the code in your blog correctly.

Note: Do not change and or delete anything from the code provided if you don't have idea of what you are doing.

The HTML Base

The Base code is pretty simple, nothing very fancy, just a few regular div tags are needed for this. Following the simplest example of code for this.

<div class='multiple-para'>
<div class='para-25'>This is the first paragraph</div>
<div class='para-25'>This is the second paragraph</div>
<div class='para-25'>This is the third paragraph</div>
<div class='para-25'>This is the fourth paragraph</div>
</div>

I haven't added any large piece of text to make it look clear, just a small line of text "This is the nth paragraph" for each.
About the Configuration
How this works? The thing that makes this HTML work visually is the CSS we added. To configure this we have to change the class names i.e class='para-25' to the other possible names para-33 and para-50

The idea is simple, in the above example code, each paragraph i.e <div> tag takes 25% percent of the space available and thus 4 paragraphs with 25% width can be fitted in. If we need three paragraphs we can change para-25 to para-33 and the three will fit in perfectly.

We have to keep in mind that the sum of width of all the paragraphs in the container (<div class='multiple-para'>) doesn't exceed 100, else it will break down and cause problems.

Here's the list of configurations you can make:

  • 2 Columns - para-50 | para-50
  • 3 Columns - para-33 | para-33 | para-33 OR para-50 | para-25 | para-25 
  • 4 Columns - para-25 | para-25 | para-25 | para-25
Not sure how to use any of this information? Here's a demo, say I want 3 columns of the same width then I will do this with the HTML markup provided above:
<div class='multiple-para'>
<div class='para-33'>This is the first paragraph</div>
<div class='para-33'>This is the second paragraph</div>
<div class='para-33'>This is the third paragraph</div>
</div>
And a live demo of it (with different text of course):


Lorem ipsum dolor sit amet, adipiscing elit. Ut non ex venenatis, egestas est vitae, lacinia libero. Sed pretium aliquet ultricies.
Cras pretium venenatis sollicitudin. Nulla sit amet condimentum erat. Aliquam mattis elementum mauris vel suscipit. In lacinia nec felis dictum vehicula.
Integer blandit, ex eu tristique eleifend, urna eros tempor leo, nec tincidunt risus purus sed massa. Pellentesque cursus eros.

Using the HTML

The section above must be read and understood well before you continue. In the previous section I explained how the paragraphs can be configured by changing the class names, the names that inside class='' in the HTML tags.

1. I recommend you to use a plain text editor like Notepad copy and edit the HTML code, it will be cleaner. Copy the HTML code into your text editor and replace the text inside the HTML tags, for e.g the red highlighted part is what you have to change:
<div class='para-33'>This is the first paragraph</div>

2. Once you are done editing the HTML markup, go the the Blogger post editor. And switch to HTML mode, the button is on the top left corner below the post title line "Compose | HTML", click on "HTML" and paste the HTML markup in the place where you want the multiple column paragraph to appear.

Responsive (with Media Queries) Paragraphs

If you are using a Blogger template which is responsive, then on smaller sized devices the text will be squeezed to fit, we will need a CSS with media queries rule to control that. Though I haven't still included it right now, but if more people request it in the comments I might consider updating it.

So do subscribe to our blog feed to receive update

PiSquare - Responsive and Search Optimized Blogger Template

A template plays a very important role in the exposure of your blog on the web and major search engines, if your blog is lacking search visibility then it obviously needs improvement in it's structure and design.




PiSquare Blogger template is a clean and minimalist Blogger template with a lot of customization options like color scheme editor and header image customization.

It is a responsive blogger template which means you don't have to switch between mobile and desktop template to view your blog on mobile phones and tablets or any small device.

Features

You will be able to experience the feature of the templates only when you install it on your own blog and have the full access to customize it according to your needs but let us tell you a few features of this template

RWD: Responsive Web Design

As already discussed, Responsive Web Design let's your blog display on mobile devices without having to scroll horizontally or zoom in or out to view the content properly. The columns automatically adjusts itself to fit the view port and provide the reader a seamless experience.

Search Engine Optimized

As always we make a template one thing in mind and that is to make it comply with all the search engines with proper methods and techniques. The template is search optimized which means your blog's content will appear on search engines in a well manner which might increase traffic to your blog.

Insanely Fast

Being fast is one of the most important aspects of SEO, if your blog isn't fast and it takes time to load then it's a disaster and search engines might not give you any priority even though you have great content. PiSquare uses techniques that loads the most important part and resources first and then the rest.

These are some of the major features of the template, other visual and customization features are on the following list:

  1. Color Scheme Customization: Change the default color scheme to anything you like in the Blogger's Template Editor, under "Advanced" option (listed in the documentation)
  2. Video and Image Post Summary: The template displays your posts as summaries with a big image or video from the post and a short text snippet. 
  3. Responsive Videos: If you post videos on your blog then you might want to make them responsive too, well we have got you covered! Make videos responsive as you like (listed in the documentation)
  4. Pre-added Sharing Button: Sharing buttons of the major social sites are already present on the blog posts so that users can share your content easily. 

This Template is For ?

This template is multi-purpose Blogger template which means you can use it for any niche or topic. Travel, Cooking, Sport, Video Blogger, Photography or anything you can think of. With a little customization you can personalize the template to make it fit your blog.

Buy or Download for Free

You can either buy or download the template for free from MasTemplate.com. The premium version costs only $10 and you can get support and free updates with the ability to use the template without the the attribution in the footer.

Google Code Project Hosting Is Going Away

Google Code, a project hosting service that Google started in 2006 has finally came to its end. Google Code is now closed for open projects and all the projects will become read-only in August 2015 and finally the website would be shut down early next year as they stated in their email.

google code going away


Google took this hard but important decision as there are even better project hosting services available like GitHub, SourceForge etc. And it doesn't even feel like Google worked on it to make it better, it is just simply functioning and can host projects and no extra features that other services provide and probably that's the reason they've decided to shut it down next year.

There are more than a million projects being hosted on the website by hundreds of thousands of users, now that it is going to die all the projects must be transferred to another Project hosting service. Many projects on Google Code hasn't been touched in years, and that's the case with most of the projects, as people opt-in to better alternatives and never looked back.

How Does That Affect Me

If you are a developer then you know what to do next, so I would just skip this for you.

And if you are not, then you probably might own a website, a blog or a web app. There is a chance with Blogger platform that you have had added a plugin for example a "Related Post Widget" and its source code is being hosted on Google Code, and that's where you are linking to get the source code.

There wouldn't be any difference until next year when they shut it down completely and no data will be available.

What Must I Do As A Blog Owner

If you are a kind of blogger blog owner who loves adding a lot of third-party widgets and features from "vague" sources then you probably have got a reason to worry. 

All you have to do is make a list of third-party widgets and functions you have stuffed in your blog and contact the original authors of the widget and ask them if the users are safe or not, and are they hosting and hotlinking to Google Code for the source codes. Hotlinking is the term for direct linking to files on a destination, here Google Code, which is going to be shut down next year.

What if I Fail

Oh no! Don't worry though, there wouldn't be any "zombie apocalypse", if your site's functionality relied on Google Code then only those specific things will stop working, only in rare cases it might break the whole website, only in RARE cases.

Farewell, Google Code 

So Google Code, good bye. 

Remote Debugging Intex Cloud Fx. (Firefox OS) using ADB and WebIDE on Firefox

Recently Mozilla's Firefox OS came to India with the brands Intex and Spice. If you are a developer and trying to test apps or debug your phone using ADB then you might have had a hard time. The official tutorial on Mozilla Developer Network just have listed the basic steps, but to make our Intex device work we need to get our hands somewhat dirty in code.

This guide is meant for Windows users only. Alternatively you can use the vendor ID for the Intex Device if you are on another system and just need the vendor ID.


Before we start, we need to have the following things:
  1. ADB and Fastboot - ADB is included in the official Android SDK, but it is about 800mb, and for one simple application downloading the whole heavy SDK wouldn't be a nice idea. So download this 15 Seconds ADB Installer from the link and install on your system.
  2. Mozilla Firefox 35+ - Currently Mozilla Firefox 35+ is a Nightly Build. But if you don't want to download an 80mb thing again, you can alternatively use the latest Mozilla Firefox which has the App Manager.
  3. ADB Helper Addon - Install the ADB Helper on your Mozilla Browser.
For now we just need these two things in order to get start. 

You need to learn a little bit about using Windows Command Line and ADB. If you know about how to use them you are all set to go!

Connect Your Device

Connecting your device is more than just plugging the USB cable. We need to make some changes on our device so it works without any problem.

Disable Screen Lock

If you have screen lock enable on your device, simply disable it by going to  Settings > Screen Lock (Under "Privacy and Settings")





Enable Remote Debugging

Disable USB Storage in your devices' settings before you enable remote debugging.

Now you need to enable remote debugging in the settings of your phone. Go to Settings >  Device Information > More Information > Developer > And under "Remote Debugging" choose "ADB and Devtools"



We Need USB Drivers for our Device

For ADB to detect our device Intex Cloud Fx. it needs its OEM USB Driers, but the problem is that Intex doesn't provide it, so bad.

But we have got a workaround. By specifying the vendor ID in the adb_usb.ini file in the ADB application directory we can get our device connected to ADB. Here's how:

The vendor ID of our Intex Cloud Fx. Device: 0x1782

Download this file: adb_usb.ini (Dropbox) 

Where to save it? C:// drive > Users > {username} > .android > Paste the adb_usb.ini file there.


Start ADB

Open the "RUN" window by pressing 
Window + R then type "cmd" and hit enter to open the command prompt window.


Now you must connect your device using an USB cable with all the settings mentioned above.

We are now ready to see if the devices is connected to ADB or not. Run the following command and see what it returns:
adb devices

If successful it will show something like:



If not, then you must try unplugging and then plugging the USB cable. Also try it on different USB ports too and check if you have done everything mentioned in the "Connect Your Device" section above.

Now we need to tell ADB to forward the port to the WebIDE or App Manager on Firefox browser to actually get started with debugging. To do that run this command:

adb forward tcp:6000 localfilesystem:/data/local/debugger-socket

You are done! Continue to the final step.

Open Firefox Browser (with either App Manager or WebIDE)

First let's clear the confusion between App Manager and WebIDE, on Firefox 33 and prior App Manager is the default app to manage and debug apps on Firefox OS, and in later version WebIDE replaced the App Manager.

See:
    WebIDE Documentation
    Using the App Manager

I am going to provide instructions for both application. The overall functionality of both the apps are similar, except for that WebIDE is newer it has more updates than the previous App Manager,

Connecting your device with WebIDE

Open your Firefox browser. Go to Tools > Web Developer > WebIDE or simply hit Shift + F8.


Now in the WebIDE Interface, click on the dropdown on the right that says "Select Runtime", if you can see "Cloud Fx." under the USB Devices, then simply click on it and it will get connect.



Else click on "Remote Runtine" and enter the port as localhost:6000 and the WebIDE will be connected to the device. If it succeeds the icon will turn blue and you can access the apps in your devices on the left pane of the user interface.

Now you can debug apps, install your own apps on the device remotely.

Connecting with App Manager

The process is pretty much the same. Connect your device with the adb command prompt first. Then open Firefox browser.

Go to Tools > Web Developer > App Manager 

At the bottom of the screen, you will see the device id in the list of connections available. Click on it and the device will be connected to the app manager.



When connected you will see something similar to this:


Yay! We are done. Now debug the way you want, but just don't damage your phone ;)

Fun things to do!

You can debug system apps like Gallery, Camera etc. And you can edit the HTML, CSS or JS of those apps live and can see the result on the device screen.

If you know HTML/CSS/JS you can really have fun tweaking things on your device. That wouldn't be permanent, as once you close and re-open it will go into its original state.

But you can create your own apps and install it on the phone.