Google Considers Pulling Out of China after last week’s attacks

Google Considers Pulling Out of China after last week’s attacks

In the official Google Blog, Google announces that they are changing their approach to China.

After last week’s attack to Google and some other giants, Google tells that the attacks were against to Chinese human rights activists. Based on these attacks, Google announces that they are considering to pull out of China for the freedom of speech.

These attacks and the surveillance they have uncovered–combined with the attempts over the past year to further limit free speech on the web–have led us to conclude that we should review the feasibility of our business operations in China. We have decided we are no longer willing to continue censoring our results on Google.cn, and so over the next few weeks we will be discussing with the Chinese government the basis on which we could operate an unfiltered search engine within the law, if at all. We recognize that this may well mean having to shut down Google.cn, and potentially our offices in China.

Freedom of speech or not being #1 in China
Google did not care about the freedom of speech when they launched Google.cn in 2006. They were so happy to filter any non-suitable content for Chinese government back then. Lots of things must have changed in the last 3 years. But 1 thing did not change in the last 3 years and that’s the Baidu. Baidu is still as strong as before and they are still not sharing any market profit with Google.

So the question is, “Is Google really getting out of China for the freedom of speech or trying to stop their big loss in China?”

Is Google good man or bad man?

Is Google good man or bad man?
photo by JP.G

Google executive running for Vermont governor
According to Business Week, Google executive Matt Dunne is running for governor of Vermont. He says he wants to import Google’s culture of being organizationally flat, fast and innovative into state government.

How fair is this? Being an executive at this internet giant and running for governor.

Google, without any doubt, is the dominator of the internet.
Google controls the biggest portion of the internet search and can easily manipulate the results. Everybody is familiar with their doodles to drive traffic the various topics on special occasions. Google also controls the biggest portion of online advertising.

These are very big powers to control and Google has it all. Now, someone from the top is running for politics. This is a very familiar Spiderman scenario. The question is, “Is the guy who has all the powers a good man or a bad man?”

Tips for Green Living

Tips for Green Living

Change to Fluorescent Bulbs

If every house in the United States changed all of the light bulbs in their house, that would be equivalent to taking one million cars off the streets.

Don’t Rinse

Skip rinsing your plates before putting them into the dishwasher. In average you will save 15 gallons of water per load. Plus, you will save time.

Hang Outside to Dry

Get a cloths line or rack to dry your cloths. Your cloths will last longer and you will save money

Turn off computers at night

don’t just put them to sleep. You will save an average of 4 cents a day which ads up to $14.60 a year.

Use Both Sides of Paper

if you have a printer with a double sided print option use it. You will save half of the amount of paper you would have normally used.

Get rid of baths

Don’t take baths, take showers. You will in average save about half the amount of water that you would if you were taking a bath.

Don’t get bottled water

Instead of bottled water get a reusable container to carry water. Also you can get a filter to make your home tap taste more like bottled water. It is definitely more cost efficient.

Turn the water off when you brush

Your parents have said this before, now I say it. You will save 4 gallons of water doing this alone.

Shorten your shower

Every minute you cut from your shower is roughly 5 gallons of water. The less time your shower takes, the lower your impact on the environment.

Recycle Glass

If you do not recycle this, it will take a million years to decompose.

Don’t Pre-Heat the Oven

unless needed, just turn the oven on after you put the dish in it. Also, to see if it’s finished just look through the glass instead of opening it.

Use Warm or Cold Setting on Washer

instead of the hot cycle use the warm or cold setting. This will save a lot of energy a year.

Turn Down your Thermostat

Every degree lower in the winter or higher in the summer you put it is a 10% decrease on your energy bill.

Turn off your lights

An easy one. Turn off your lights when you are not using them. The benefits are obvious.

Get rid of junk mail

There are many services that can help you get rid of junk mail. That will lead to a lot less trees being cut down to take up room in your mailbox.

Use Matches instead of lighters

Lighters are usually considered disposable so they will most likely end up in land fills. You can use the cardboard matches which are much more eco-friendly because they are made of recycled material.

Don’t get a paper phone book

Instead of getting a paper phone book. Use a online directory instead.

Give things away

Take things that you are not going to wear or use and give it to a charity or someone who will use it.

Go to a car wash

Going to a car wash is a lot more water efficient then washing your car at home.

Stop paper bank statements

Why waste paper getting your bank statement mailed to you when you can just check it out online.

Buy Rechargeable Batteries

Even though it will take a good investment to buy these you will find yourself gaining it back in no time.

Pay your Bills Online

If every house in the US did this then we would save 18 million trees every year.

Get a reusable bag

You can’t recycle plastic bags, instead get yourself a reusable bag so that you won’t have to worry about carrying your necessities.

Do Errands in Bulk

Make a list of the things you have to do, and see if you can fit a couple of those things together in one ride.

Inflate your Tires

If your tires are inflated at all times your car will run more miles on less gas.

Wrap Presents Creatively

Without going out to get wrapping paper you can use newspaper, an old map, or anything else. It would look a whole lot more creative.

Plant a Tree

It’s good for the air, can keep you cool, and can increase your property value.

Buy Local Produce

Consider how much energy it takes for produce from china or any other country to come here. If you have the option to buy local, do it.

Walk or Ride Your Bike When you can

If you have to go somewhere close consider riding your bike or walking there instead of your car. It’s better on the environment and healthier.

This plugin can be download from http://wordpress.org/extend/plugins/go-green-tips/

Fancy Dolly Plugin

Fancy Dolly Plugin
photo by Chalkie_CC

Based on the famous “Hello Dolly” by Matt Mullenweg (http://ma.tt/), Fancy Dolly displays whatever text you want randomly in a widget position on the frontend. But now you have the freedom of publishing whatever text you want.

  • With this plugin you can randomly display quotes from famous people, your favorite cooking hints or an event from the past
  • There is no limit to what to display, imagination is yours.

Download here;

wordpress

How to use “Google AJAX Search API” for your site’s search engine

How to use “Google AJAX Search API” for your site’s search engine
photo by Onur

Google was offering free search modules for websites but they did not allow to modify the look of the results that much before. With the “Google AJAX Search API”, now we have the ability to modify the look of the results. Even better, you can be more creative with the results queries.

In this post I will show you how to create a tabbed search results for your site. First thing to do is to sign-up and get your Google AJAX API.
There is a very useful “Developer’s Guide” and samples of the codes to play around in the playground.

In this blog, I am using the tabbed version of Google Search and here is how I accomplish. (At the time of writing this post, content of the blog was carried from another domain that’s why Google hasn’t indexed the pages yet. So that search results will be empty for this blog for a while.)
There are 3 pieces of code, 1 for the header section of your HTML, 1 for the search box and 1 for the results area.

Code for the header section;

This piece of code has to be in the head section of your HTML before the “</head>” tag.

<script src="http://www.google.com/jsapi?key=YourAPI" type="text/javascript"></script>
<style type="text/css">
#searchResults .gsc-control { width : 500px; }
.search-control { margin: 20px; }
</style>
<script language='Javascript' type='text/javascript'>
//<![CDATA[
// Load Search and Feed APIs
google.load("search", "1");
function OnLoad() {
var controlRoot = document.getElementById("searchResults");
// Create a search control
var searchControl = new GSearchControl();
searchControl.setLinkTarget(GSearch.LINK_TARGET_SELF);
searchControl.setResultSetSize(GSearch.LARGE_RESULTSET);

var searchFormElement = document.getElementById("searchControl");
var drawOptions = new GdrawOptions();
drawOptions.setSearchFormRoot(searchFormElement);
drawOptions.setDrawMode(GSearchControl.DRAW_MODE_TABBED);

// this is where you create your tabbed search results
// for every URL tab, you have to use the search address and the tab label
        // This Blog
      var searcher = new GwebSearch();
      searcher.setSiteRestriction("http://www.lycie.com");
      searcher.setUserDefinedLabel("Lycie");
      searchControl.addSearcher(searcher);

      // google also allow you to search the entire web
      searcher = new GwebSearch();
searcher.setUserDefinedLabel("Web");
      searchControl.addSearcher(searcher);

      // search all other blogs
      searcher = new GblogSearch();
searcher.setUserDefinedLabel("All blogs");
      searchControl.addSearcher(searcher);

// draw it
searchControl.draw(controlRoot, drawOptions);

}
google.setOnLoadCallback(OnLoad, true);
//]]>
</script>

There are 3 important things to do in this code.

  1. Sign up and get your Google AJAX Search API. Put your API key where it says YourAPI in the code.
    <script src="http://www.google.com/jsapi?key=YourAPI" type="text/javascript"></script>
    <style type="text/css">
  2. CSS styling and tab creation are handled by Google. But if you want to use more styling use the CSS section in the code.
    <style type="text/css">
    #searchResults .gsc-control { width : 500px; }
    .search-control { margin: 20px; }
    </style>
  3. Creating the tabs for the search results. Whenever somebody search my blog, search results will be displayed in 3 tabs, Lycie – results from my site, Web – results from the web and All Blogs – Results from all the blogs on the web.

Here is how I do. For every URL tab you want to create use the code below.

var searcher = new GwebSearch();
searcher.setSiteRestriction("http://www.lycie.com");
searcher.setUserDefinedLabel("Lycie");
searchControl.addSearcher(searcher);

There are 2 things to change in this piece of code in order to create new tabs.

searcher.setSiteRestriction("http://www.lycie.com");
searcher.setUserDefinedLabel("Lycie");

This is where you limit your search results. In other word, you tell Google to display results only from this URL. Here I say, limit this tab’s results for this URL “http://www.lycie.com” and use the label “Lycie”

Limiting your results from an URL means, only results from that URL will be displayed in that tab. This is very useful if you have different sections on your site. Common usage for this is Forums and Galleries. If you have a forum on your site, most likely its URL is www.example.com/forums. By using the code below, you can create another tab just for results from your forums.

searcher.setSiteRestriction("http://www.example.com/forums/");
searcher.setUserDefinedLabel("Forums");

Google does not only allow URL restrictions. Google also allows you to search the entire web for videos, blogs, news, images, books and patents. Check the AJAX API’s Playground for more coding tips.

Code for the search box

Put this into your HTML wherever you want to show your search box.

<div id="searchControl">Loading...</div>

Code for the search results

Put this into your HTML wherever you want to show your search results.

<div id="searchResults">Loading...</div>

That’s it. Enjoy your new search engine.

Simple Flickr Module and Plugin

Simple Flickr Module and Plugin
  • Displays Flickr photos based on your settings.
  • Ability to choose between User, Group or All Public Photos
  • Tag function let you choose tagged photos base on your keyword
  • A sample work can be seen here -> Turkey Photos

Joomla version is very basic at the moment. I will update it when I get chance to breathe.
Joomla version is updated to version 2.3 and has the same functionality now.

Follow the links below to download;

wordpress

Tell a Friend Module

Tell a Friend Module
photo by Onur
  • This is very a light weight social bookmarking module.
  • This module adds “Free Tell a Friend” button to your site.
  • No java, no css. Just plain, one line “a” tag is added to your site.

I was looking for a light bookmarking module, I coulnd’t find one that’s why I created this one. You can see the demo here on Turkey Travel Tips

Free Tell A Friend also provides statictics about user clicks, very handy if you are curious about which pages are popular.

Adds a tell a friend, Share/Bookmark/Email/Social Bookmarking button in a widget position. The service which is used is freetellafriend.com which supports e-mail address book, social bookmarks and favorites. FreeTellaFriend is a free service to allow your visitors to share your website with their friends. The idea is simple; you place a ‘tell a friend’ button on your website, and when your visitor decides to tell their friend about your website, they click this button which then presents them with a straightforward form to e-mail their friends.

The great addition to FreeTellaFriend is your visitor can enter their e-mail username and password (we support major e-mail providers) and our system will automatically retrieve their contact list. Thereafter they can choose who to e-mail the website to. If one user decides to e-mail all their contacts, your website will be exposed to over 50 friends (on average).

The following is supported: Tell a Friend, Social Bookmarking and Add to Favorites.

Download here;

wordpress

Tracking file downloads and external links with Google Analytics

Tracking file downloads and external links with Google Analytics
photo by Onur

Since, I have become a Qualified Google Analytics Individual, I decided to write a little tip about how to use Google Analytics for some of the link types on your site.

You can see the statistics of your internal links but how about download links and external links to other sites.
Google Analytics can also track these kind of user activities too. But in order to keep track of these data you need to modify your links.

A regular link looks like

<a href="http://www.example.com">Example Site</a>

In order to keep track of any link clicks you need to use a piece of extra code;

onclick="pageTracker._trackPageview('/external/example.com')"

The part ‘/external/example.com’ is the part you need to come up with. These are virtual page names which you need to create for your statistics data. I use self explanatory path names different than actual folder names like “lycie-outgoing-blog” so that I can understand that the link is an external link from the blog section of lycie. Or “lycie-download-pdf” which will tell me a pdf download from lycie.

So the final links will look like;

<a href="http://www.example.com" onclick="pageTracker._trackPageview('/lycie-outgoing-blog/example.com');">Example Site</a>

or

<a href="http://www.lycie.com/imaginary.pdf" onclick="pageTracker._trackPageview('/lycie-download-pdf/imaginary');">Download the imaginary PDF</a>

Now, your links are ready to be tracked. You can see the related links’ data on the Content part of your reports. When you filter your reports with the virtual path names, you can see the most downloaded file or the most visited external link on your report.

Turkish Lira Exchange Rates Module and Plugin

Turkish Lira Exchange Rates Module and Plugin
  • Displays the daily exchange rates from the Central Bank of Turkey (Türkiye Cumhuriyet Merkez Bankasi).
  • Ability to display 12 different currency rates/TRY.
  • No tables. All design handle by CSS.
  • Turkish and English language files included.
  • Currencies; Australian Dollar (AUD), Canadian Dollar (CAD), Swiss Franc (CHF), European Union Euro (EUR), Japanese Yen (JPY), Kuwaiti Dinar (KWD), Norwegian Krone (NOK), Saudi Riyal (SAR), Swedish Krona (SEK), United States Dollar (USD)

You can see a working demo here – Turkish Lira Exchange Rates

You can download it by clicking the images below.

joomla

Google’s unexplained phenomenon doodle

Google’s unexplained phenomenon doodle

Google is up to something again. Today, September 5th 2009, they have a doodle which is leading to a search for “unexplained phenomenon”. Something is unexplained here but we don’t know what it is yet.

parishiltonrecord.com, she probably doesn’t know

parishiltonrecord.com, she probably doesn’t know

While I was surfing around last night, I found Paris Hilton’s website(it was just a coincidence, I was not looking for something else:)).http://www.parishilton.com – According to twitter, this is Paris Hilton’s official website (https://twitter.com/ParisHilton).

I get excited when I find these kind of celebrities. Even though she is not the rocket scientist, she is a very well known person all around the world. Becuase of the internet you can come very close to these kind of personalities. What was very strange about her site is the website she is sending people as her official album site (parishiltonrecord.com). The site does not work and gives errors.

Most likely, she doesn’t know anything about it and most likely she wouldn’t even care about about this. But unless you are Paris Hilton or at the same level, you shouldn’t do the same mistake.

Lycie, a free WordPress theme

Lycie, a free WordPress theme

Lycie is available for personal and commercial use.
A clean, bright and easy to use theme for WordPress. It is the same template used for the blog section of “I was in Turkey”. But the one which is used here is modified to fit into the rest of the site.

  • For now, there is only green version with fixed width 2 columns.
  • 3 different menu options. Besides the regular navigation bar, there are also possibilities of top and bottom menus.
  • Built-in Flickr photos widget can display photos from any user, group or all the public photos.

Current version is 1.3, can be downloaded from here.

Random Anything Module

Random Anything Module
photo by Onur
  • It is a very simple and lightweight module to display quotes, tips or any kind of random information. No database table needed or created.
  • On the backend there are 2 text areas to fill. One for the quotes,tips or whatever text you want to display randomly and the the other one for the CSS to format the text you are displaying. (CSS box is optional)
  • Module displays each row from your text as a single quote. Use NOTEPAD to create your rows.
  • There is a sample text and CSS code in the zip folder. This is a simple brain teaser.

Download here;

Learn Turkish Module and Plugin

Learn Turkish Module and Plugin
  • Very simple module to display Turkish words with their English meanings.
  • It can be useful for Turkish-English sites which has English visitors.
  • Very simple teaser.

Follow the links below to download.

wordpress

Weather in Turkey Module and Plugin

Weather in Turkey Module and Plugin
  • Displays weather information for Turkish cities.
  • Data is gathered from Turkish State Meteorological Service http://www.meteor.gov.tr
  • A working demo can be seen here – http://www.iwasinturkey.com/weather-in-turkey

Turkish and English language files are included.

You can download it by clicking the images below.

joomla