Category Archives: webtrends

Google it – Few Search Tips

In today’s web world, you can’t imagine a day without searching on Google. Here are some of the tips that will be useful while searchig with Google.

1) To get current time in any city anywhere in the world. Simply type time <cityname>
   Ex: time hyderabad or time sanfrancisco

2) Google’s search box can be used as calculator. Simply type calculation you want, and click on search, you will be presented with result.
   Ex: (5+4)/2*25/23*12.23=
google-logo
3) To know more about recent earthquake activity around the world. Simply type ‘earthquake’ in searchbox. If you want earthquake of a city, type earthquake <cityname>.
  Ex:  earthquake tokyo 

4) Google can also be used to convert between Unit of Measurements.
   Type “20m in ft” you will get the answer.
   Ex: 130 sq yds in sq ft or 130 sq yds to sq ft

5) To find definition of any word. Simply Type define:<word>, you will get definitions of the word from online dictionaries across web.
   Ex: define:web or define:change or define:information

6) Google also provides currency conversion information. Type “100INR to USD” in search box. You will be presented with conversion result.
   Ex: 100 GBP to USD

7) Looking for a map of any city. Type city name followed by keyword ‘map’.
   Ex: Hyderabad map
   or
   Mountain View map

8 ) To find related sites that have similar content. Type related: followed by <site name>.
   Ex: related:cnn.com

9) Google ignores common words such as and, or, the, what, who etc. If you want common word to be included in search, use ‘+’ sign followed by common word.
   Ex: Obama +and socialist

10) If you don’t want certain words to come in your search results, just put ‘-‘ sign before the word, then google excludes this word from search result.
    Ex: obama -twitter

11) By putting phrases(“”) around any word, you can restrict google search for exact word and in the same order.
    Ex: “Barack Obama”
    In search results, whole word “Barack Obama” will be high lighted. If you remove phrases then you will see search results containing either Barack or Obama or both words.

12) Google search allows you to search in a particular site. use keyword ‘site:’ for this purpose.
    <searchword> site:<sitename>
    Ex: Obama site:cnn.com
    will search for word ‘Obama’ in cnn.com
    Ex: twitter site:.in
    will search in all indian sites for word ‘twitter’.
 
13) If you are webmaster or site owner and want to know, how many URLs of your site are indexed by Google, use site keyword followed by your site name.
    Ex: site:creativeslab.net

14) And last but not least simply type your name or name of the person you just met in Google search box. You will be presented with web page search results of that person.

Orkut Promote

Google introduces new feature called ‘Orkut Promote’ on their social networking site Orkut.

Inspired by news promotion techniques from popular social networking sites,  google introduced Orkut Promote, where in users can promote news, photos and videos across their friend’s network. Promoted content can be spreaded or reshared by friends of users across their friend circles.

In this way without paying single penny users of Orkut can promote their likes and dislikes across Orkut platform.

orkutpromotion

Promoted content can also be deleted by other users, to not to show on their profile, if they do not like it.

Orkut Promote also provides tracking information to monitor how far their promoted content reached among Orkut users.

Watch this video on youtube to learn how to use Orkut Promote

Get Excerpt with Thumbnail Image – WordPress Plug-in

Get Excerpt with Thumbnail images is a simple wordpress plugin. It gives thumbnail image, excerpt and title of WordPress post, in the form PHP array. It is upto the developer how he can display these info on his web page.

Simple to use Get Excerpts with Thumbnail plugin uses meta data of wordpress post, to retrieve thumbnail image. It also uses another plug-in named Content Extract by Rob Shumann, to retrieve excerpt from POST. You need install Content Extract plugin before start working with this plugin.

Inspite of having found numerous plugins to get excerpts along with thumbnail images in WordPress plugin directory. I have written this plugin to reduce number of requests that are made to MySQL database while fetching data.

== Installation ==
Install Content Extract by Rob Shumann, before installing this plugin.
The plugin is simple to install:

1. Download the zip file, from wordpress plugin directory
2. Unpack the zip.
3. Extract zip file and upload directory present in zip file to the `wp-content/plugins` directory on your WordPress installation.
4. Activate plugin
5. Go to Settings -> Get Excerpt with Thumbnail page, to change configuration for the plug-in.

Configuration of Plug-in:

Goto Settings -> Get Excerpt With Thumbnail link in your wordpress admin page.
Following four elements need to be configured.
1) Thumbnail CSS Class -> this is .css class name to be used by this plug-in. By default, CSS class name is displayed as ‘imgstyle’, change this to your desired class name and make sure it is defined in .css file of your wordpress theme.
2) More Text -> link that appears next to excerpt to read full post.
3) Post Length -> Inspite of reading entire post to retrieve excerpt, plugin just reads number of characters entered by you in this field.
Note: Once an excerpt is generated by this plugin, it will be stored in excerpt field of your wordpress post.
4) Excerpt Length -> Length of excerpt to be displayed.
Note: Always make suer Post Length is greater than or equal to Excerpt Length.

Sample usage of this plugin:


while (have_posts()) {
the_post();
$data = getExcerptsWithThumbnail();
echo $data[‘post_thumbnail’] . ‘<h5>’ . $data[‘post_title’] . ‘</h5>’ . $data[‘post_excerpt’] ;
}


In above code snippet,
you can see getExcerptsWithThumbnail() function returns an array.
code snippet uses <h5> tag to display title of the post, you can use any of the style you want, for the presentation of thumbnail image along with excerpt.

Screen shot of the plugin, when Thumbnail Image position is used as ‘float:left’

scree1

Screen shot of plugin, when Thumbnail Image position is used as ‘float:right’

scree2

Get Excerpt with Thumbnail plugin just gives data, presentation of this data on theme pages is left to theme developer.

Reference: see category or tag pages on SearchAndhra.com to check how this plugin is used.

Please place your queries as comments to this post, so that i can reply to you.

WordPress Plugin – List Latest Posts Titles

Here is a latest plugin for WordPress, called Latest Posts Titles, that we have developed to bring all Titles of Latest Posts posted on a WordPress blog.

The requirement came when we are developing a theme for our site SearchAndhra.com, where in we need to display latest posts belongs to a specific category, in our home page and also in single post page. After checking various plugins available for WordPress we coded this plugin.

The main motive behind coding this plugin is to reduce number of queries fired against MySQL database, while listing titles of latest posts.

List Latest Posts Titles plugin uses only one query per call, to retrieve titles of latest posts belongs to a particular category.

You can download and install this List Latest Posts Titles plugin from WordPress Plugin Directory.

Post your comments if you require any further information regarding this plugin, we are ready to help you out.