HOSTGATOR

Sunday 28 August 2011

Clean up your Gmail Inbox Automatically

Gmail has always had an excellent spam filter that keeps junk messages out of your Inbox. Then, earlier this week, Google added a reverse feature that is quite unique to Gmail – it’s called the Priority Inbox.
Priority Inbox is like having a personal secretary whose job is to sort your incoming mail based on importance. She knows about your friends, your colleagues and other people with whom you interact regularly and can therefore categorize your email accordingly.
Priority Inbox is something similar – it’s an intelligent, self-learning filter that automatically puts your most important email messages at the top of your Inbox so that you may deal with them first. The feature is now live for both Gmail and Google Apps email accounts.

Sort your Emails by Priority

Priority Inbox has one limitation – it works with incoming emails only and doesn’t really care about the hundreds and thousands of messages that are lying in your Inbox unattended.
I have been testing an impressive web app called Other Inbox that brings much need order to your existing Gmail Inbox and looks like a perfect complement to Google’s Priority Inbox.
sorted emails
Other Inbox scans your mailbox for less-important emails and sorts them into relevant categories. For instance, email alerts from CNN, BBC, Google News, etc. would go into the News folder while messages from Amazon, iTunes, etc. will find their place in the Shopping folder.
You just have to authorize Other Inbox to access your Gmail account once and it does the rest automatically. Other Inbox is reasonably good at categorizing your emails but you also have the option to choose your own labels (see next screenshot).
email in categories
Depending up the size of your inbox, it might take anywhere between 5-10 minutes for the whole process to complete.
I have used this service with my Gmail and Google Apps mail accounts and the results have been fairly impressive. Now if I ever want to clear my inbox of all notifications from Twitter and Facebook, I can simply open the “Social Media” label and empty it with a click.
That said, a lot of us will obviously not feel very happy sharing our mailboxes with a third-party. Now they do have a privacy policy in place and you can always manually revoke access to sites that are authorized to access your Gmail and Google Account

How to Add Speech Recognition to your Website


Your website pages probably contain a few text fields that require user input. For instance, your site may have a search box where people type in search queries, a comment form (commonly found in blogs) while some sites have a contact form that visitors can use to quickly send a message to the author /webmaster.
The visitors to your website currently need to use the keyboard to enter text in the various input fields but wouldn’t it be nice if you could also offer them an alternate form of input where they can just speak instead of typing?
Well all you need to do is add an extra word – highlighted in red - to your existing search code and your site will able to accept voice based input.

Add Speech Input to your Search Box

<form method="get" action="http://www.google.com/search">
 <input type="text" name="q" size="30" x-webkit-speech />
 <input type="submit" value="Google Search" />
</form>

Try a live demo - click the microphone icon, speak and hit enter:  
You may also find a live speech-enabled search box on the site’s homepage. When you are done speaking, the audio is sent to Google servers where it gets transcribed and delivered as plain text.
Currently, only Google Chrome supports the HTML speech input API and thus, the microphone icon will only be visible to users who are accessing your site through Chrome. If they are using a different browser, they’ll see the standard search box.
The speech input attribute that does all the magic - x-webkit-speech - works with <input> fields only but there’s an easy workaround that will help you enable voice support for any other text field the <textarea> tag.

Add Speech Input to any Textarea like Comment Forms

Speech input for textarea - click the microphone icon and talk:  




The code looks something like this:

<script type="text/javascript">
  function transcribe(words) {
    document.getElementById("speech").value = words;
    document.getElementById("mic").value = "";
    document.getElementById("speech").focus();
  }
</script>

<textarea cols="50" id="speech" ></textarea>
<input id="mic" onwebkitspeechchange="transcribe(this.value)" x-webkit-speech>
Internally, when you click the microphone icon and speak, the transcribed text still goes into the <input> field but with the help of a JavaScript function, a copy of that text is instantly sent to the textarea as well.
The above trick will come handy in case you wish to voice-enable the comment form or the email form of your website that accept long-form text.

Create RSS Feeds for Google Search Results

Would you like to monitor Google search results for a particular query in your favorite RSS News Reader? You have two options depending on what you would like to monitor.
Option A: RSS Feed for Fresh Results
If you are ego-surfing and would like to know as new web pages get added to Google Search around a particular query, a good bet is the feed option in Google Alerts.
google RSS feed
Type your query in the search box, choose “Everything” for type, choose “All Results” for Volume and set “Feed” as the Delivery Method. Google will create an RSS feed of web search results that you can subscribe to in Google Reader or any other RSS Reader.
You may refer to the Google Alerts tutorial to write more advanced search queries.
Option B: RSS Feed for All Google Search Results
A limitation with feeds created using “Google Alerts” is that the feed won’t include all results. In fact, the first time you create a feed, it is likely to be empty and results would be added as Google discovers and indexes new content for that search query.
If you would like to have an RSS Feed for all search results that appear on the front page on Google, irrespective of the time when those page were added to Google, use the following method:
google api key
Go to code.google.com/apis/console and sign-in using your existing Google Account. Click the “API Access” link in the left sidebar and the copy your unique Google API key to the clipboard.
#3: Now replace the API_KEY and QUERY in the following URL with your own values and your RSS feed for Google Search is ready for use. If you query contains multiple words, you may simple use the + symbol (as in london+riots+2011).
https://www.googleapis.com/customsearch/v1?alt=atom&cx=010722013183089041389:ab5yj_rbe5q&key=API_Key&q=Query
The above URL points to regular feed that you can subscribe to in any news reader (screenshot). Also, these are regular Google search queries so you may also use advanced search operators like site:, inurl or even the undocumented Around operator.
The only limitation is that you can call this URL more than 100 times in a day. However, if you enable billing inside the Google API Console, the free limit will be upgraded to 200 search queries per day.
An easier alternative for creating RSS feeds would have been to use screen scraping in combination with Yahoo! Pipes or Google Docs but unfortunately, Google search servers seem to deny screen scraping requests.

Why is Facebook so Blue in Color?


This is original design of Facebook when it was called thefacebook.com – you were required to have an .edu email address to even open an account on Facebook.
facebook blue color
This is Facebook now – open for all and 500 million people are using it already.

Why is Facebook Blue?

Facebook has gone through some major redesigns in the past few years but one part that has more or less stayed the same in all those years is the site’s blue color.
Everything is so blue about Facebook right from the sign-up page to the logo, their mobile app and even the site pop-ups that have shades of blue. Why?
I was recently listening to an episode of Twig where host Leo Laporte pointed to this New Yorker story on Mark Zuckerberg that seems to explain why Facebook is all blue in color.
The young Facebook founder is color blind but can see blue:
Colors don’t matter much to Zuckerberg; a few years ago, he took an online test and realized that he was red-green color-blind. Blue is Facebook’s dominant color, because, as he said, “blue is the richest color for me - I can see all of blue.”

Blue – The Web's favorite color

web colors
Facebook is not the only Internet brand the loves blue. An interesting study by Color Lovers has revealed that blue is the most popular and dominant color among the top 100 sites in the world followed by the red color.
Update: Emil Kostov sends this note on why Facebook maybe sticking with blue:
It is part of their well planned Marketing plan. Most colors distract and make the human eye focus on them while blue act as a transparent palette for 65% of time spending watching the main background aka index space. It is well known also that blue color is the nirvana for the brain, as well green. Well, their choice make the competition envy most of the time.

How to Remote Control your Windows PC with Email or SMS

It's a long weekend and you're happy because you'll get to spend the next three days with your family. You left the office in an excited mood but as the cab was approaching home, you suddenly realized that you forgot to shut down the Office PC. Oops!
computer worries
It's a sinking feeling because there're so many confidential documents on the computer and since most of your trusted colleagues have also left for the day, there's no point calling them for help.
So what do you do? Drive back to Office? Well that's not required - just take out your cell phone or switch on the laptop at home, send an email (or an SMS or a tweet) and that will instantly lock your Office workstation. And if you share the same computer with multiple people, you can use another email command to remotely log off or even shut down the computer from anywhere in the world.
twitter commandsThere's no magic here, it's the power of TweetMyPC utility that lets you remote control your computer from a mobile phone or any other Internet connected computer.
It works like this. You first install the free TweetMyPC utility on any Windows PC and associate your Twitter account. The app will silently monitor your Twitter stream every minute for any desktop commands and if it finds one, will act upon it immediately. The initial version of TweetMyPC was limited to basic shutdown and restart commands, however the current v2 has a far more robust set of commands, enabling a far more useful way of getting your PC to carry out certain tasks especially when you're AFK (Away From Keyboard).
Before we get started, it may be a good thing if you can set up a new twitter account for remote controlling your desktop and also protect the status updates of this account to ensure better security.
Protecting the account means that you prevent other users from reading your tweets which in this case are email commands that you sending to the computer. To protect your Twitter profile, log in to Twitter with the credentials you want to use, click Settings and check the box next to "Protect my Updates".
Let's get started. Install the TweetMyPC utility of your computer and associate your Twitter and Gmail account with the application. It will use Twitter to receive remote commands (like shutdown, log-off, lock workstation, etc) from while the email account will be used for send your information (e.g., what process are currently running on your computer).

How to Send Commands to the Remote Computer

Now that your basic configuration is done, it's time to set up a posting method. You can use email, SMS, IM, web or any of the Twitter clients to send commands to the remote computer.
By Email: Associate you Twitter account with Posterous (auto-post) and all email messages sent to twitter@posterous.com will therefore become commands for the remote computer. (Also see: Post to Twitter via Email)
By SMS: If you live in US, UK, Canada, India, Germany, Sweden or New Zeleand, you can send associate Twitter with your mobile phone (see list of numbers) and then control your remote computer via SMS Text Messages.
By IM: Add the Twitter bot - twitter@twitter.com - to your list of Google Talk buddies and you can then send commands via instant message.
By Web:If you are on vacation but have access to an internet connected laptop, just log into the Twitter website and issue commands (e.g., shutdown or logoff) just as another tweet.
lock computer shutdown

Download Files, Capture Remote Screenshots & more..

While the TweetMyPC is pretty good for shutting down a remote computer, it lets you do some more awesome stuff as well.
For instance, you need to download an unfinished presentation from the office computer so that you can work on it at home. Or you want to download a trial copy of Windows 7 on the Office computer while you are at home.
Here's a partial list of commands that you can use to remote control the PC - they're case-insensitive and, as discussed above, you can send them to Twitter via email, SMS, IM or the web.
Screenshot : This is one of the most useful command I've come across after the shutdown command. Want to know what's happening within the confines of your PC when you're not around? Just tweet screenshot and TweetMyPC will take a screenshot of your desktop and post it to the web (see example).
 
ShutDown, LogOff, Reboot, Lock : The function of these useful commands is pretty obvious from their names.
Standby, Hibernate : Don’t want to shutdown the remote PC? Save power by entering standby mode with this command. Or hibernate your PC with a tweet, thereby saving even more power.

Download <url> : You can download any file from the Internet on to the remote computer using the download command. For instance, a command like download http://bit.ly/tCJ9Y will download the CIA Handbook so you have the document ready when you resume work the next day.
GetFile <filepath> : The Download command was for downloading files from the Internet onto the remote computer. However, if you like to transfer a file from the remote computer to your current computer, use the GetFile command. It takes the full page of the file that you want to download and will send that you as an email attachment. If you don't know the file page, use the command GetFileList <drivename> to get a list of file folders on that drive.
GetProcessList : This is like a remote task manager. You'll get a list of programs that are currently running on the remote computer along with their process IDs. Send another command kill <process id> to terminate any program that you think is suspicious or not required.
Conclusion:
TweetMyPC is a must-have utility and you never know when you may need it. And if you have been trying to stay away from Twitter all this time, the app gives you a big reason to at least create one protected account on Twitter.
twitter whale gmail whale
That said, there's scope for improvement. For instance, the app will wait for a minute to check for new messages in your Twitter stream so it's not "instant". The developers can actually increase that limit because the Twitter API now allows upto 100 checks per hour.
And since the app is dependent on Twitter and Gmail, it will not work during those rare fail-whale moments.

Write an Email Message Using QR Codes

QR Codes offer an easy way to transfer information information from any screen – like your computer desktop, display window at a retail store or even the ads in a newspaper – to your mobile phone.
You may use QR codes to send all kinds of text-only data to a mobile including web page URLs, email addresses, business cards, postal addresses and even phone numbers. For instance, scan the above QR image and you can instantly open this site on your mobile phone without typing a single character. Such a convenience!
Other than plain text, do you know that you can write a full email message inside a QR code – when people scan the QR image, the message will open right into their email program ready for sending. To get an idea, try scanning the following QR code with your mobile phone:
qr code email
You can compose an email message in QR code using either the mailto syntax that is used in HTML web pages or using the MATMSG identifier.
To write an email message as a QR Code, you need to write it in the following format:
MATMSG:
TO:john@example.com;
SUB:My comments on your story;
BODY:I just finished reading your story on QR codes. 

[Insert feedback / comments here]

Thanks
[Your Name];;
Your email message will have three parts – the TO address of the recipient, the SUBJECT of the email and the BODY of the message (notice the semicolons). You may also insert new paragraphs in the message body as in the example above.
Once the template is ready, just paste that text into a QR Code Generator. A QR code can store up to 4,296 characters so even your lengthy email messages will fit in easily.


How to Setup a Whitelist in Gmail

Have you ever come across a situation where you were expecting an important email from a known sender but the mail never made it to your Inbox? Instead, Gmail had incorrectly classified that mail as spam and thus moved it to the junk mail folder.
Gmail filters are pretty awesome at detecting spam but they do sometimes make mistakes. So how can you prevent Gmail from marking mails from certain legitimate senders as spam?

How to Whitelist an Email Sender in Gmail

gmail logoThere are two ways to whitelist email addresses, or even web domains, in Gmail.
One, you should add the email addresses of all the known contacts to your Google Contacts list. Google will almost always deliver messages to your Inbox when the 'From:' address of the message is listed in your Google Contacts database.
The other thing you can do is create a manual whitelist in Gmail to ensure that email messages from certain senders are never ever marked as Spam. You can in fact whitelist entire domains so that messages from your colleagues reach your Inbox irrespective of whether you have added them to your Google Contacts or not.
Here’s how you can whitelist email addresses and domains in Gmail:
Step 1: In Gmail, click the “Create a Filter” link which is placed just next to the search box.
Step 2: In the From: field, enter the email addresses, domain names or even actual names of people who you would like to whitelist. You can separate multiple entries using OR (in Caps) or with the bar (|) sign.
Step 3: Once your filter is ready, click Next and select “Never Send it to Spam.”
That’s it! Now messages that match the above criteria will always get delivered to your Inbox and won’t ever be marked as spam.
gmail whitelist
Trivia: Did you know that Windows Live Hotmail offers a safe senders list where you can put email addresses and domains of known contacts and Hotmail will never mark messages originating from these addresses as spam. That’s much easier than setting up a whitelist filter in Gmail.

Yahoo! Brings Full-Length Bollywood Movies to your Computer Screen


A few months ago, YouTube India launched a new box office channel where one can watch popular movies from the Indian cinema every month. YouTube already had a huge library of Hindi and regional films online but the box office channel is more about showcasing the blockbuster hits.
Now Yahoo! is also getting into the online movie business in India.
They have introduced a new service called MoviePlex where you can enjoy full-length Bollywood movies on your computer screen anytime, anywhere. The movie collection at this is limited but does include some popular titles.
Unlike YouTube which streams movies in both standard and HD resolutions, the movies on Yahoo! are currently available only in SD. Also, Yahoo! uses Flash Video and thus you cannot watch the movies on iPad or other devices that do not support the Flash Player.
The movies on Yahoo! India are currently available for free and there are no in-stream ads to interrupt your experiences. I however doubt if people outside India can watch these movies.

How to Remove Passwords from your PDF Files

You have a bunch of PDF files on your computer that are protected by a long and complex password. You know the passwords but it still feels inconvenient and boring typing them each time you have to open a PDF file.
Is there a tool available that can remove password protection from PDF files? Someone asked me this question on Twitter the other day and the answer is obviously yes.
pdf password

Removing Password from a PDF File

There’s a free Windows utility called BeCyPDFMetaEdit that can help you remove passwords from PDF files* but without make any other change to the document. (I am not sure why the developers picked such a complex name for this useful utility).
Here’s what you need to do:
1. Launch the program and it will ask your for the location of the PDF file.
2. Before you select and open the PDF, change the mode to “Complete Rewrite.”
3. Switch to the Security tab and set the “Security System” to “No encryption.” Click the Save button and your PDF will no longer require a password to open.
[*] If you would like to test this tool but do not have a password-protected file, use this sample PDF (the password is labnol).