Feb 15, 2008

Google Android


(image credit: Google )

Google launched new software for mobile on last Nov named Android.

The Android platform consists of an operating system, middleware, a user-friendly interface, and applications.

Consumers should expect the first phones based on Android to be available in the second half of 2008 =)


image credit: Google

According to CNET News (http://www.news.com/8301-10784_3-9871542-7.html?tag=cd.blog)
Development Kit had been launched.


image credit: Hello Android


image credit: HelloAndroid


For more UI Screen shot, can refer http://www.helloandroid.com/node/258






Redirection 301 Moved Permanently

Wow... nearly one month din't update my blog. Due to busy on Chinese New Year 2008 celebration and outstation for business trip.

Today's tip, to create a SEO friendly redirection method:

Search engines have indexed your entire site and many pages rank well. By moving and renaming these files, you run the risk of losing a lot of traffic and leaving visitors to your site who follow a search engine link with the dreaded "Error 404 - File not found"


There are several way recommended:
1. 301 Redirection
The code "301" is interpreted as "moved permanently". After the code, the URL of the missing or renamed page is noted, followed by a space, then followed by the new location or file nam




2. Meta Refresh / Redirect
This method always used by spammer to redirect their page to itself, so that they can get the counts. This is so called illegal traffic. Thus, use this method wisely.

The code will be located in the header tag.





Jan 22, 2008

Show Desktop Quick Launch Shortcut

Lost your show desktop shortcut ?

Just create a new file with extension as below and type in the code as below.

Show Desktop.scf
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop

Place it back to your quick launch folder.Usually in
C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch

Here you got it back!

Tips! Press Windows Key + D, it is actually show desktop command.

Meta Tags In General SEO

Sample META TAGs
Replace character ( to <>

(meta name="'robots'" content="'index,follow,all'")
(meta name="'keywords'" content="'EthanLiew,")
(meta name="'description'" content="'EthanLiew.com")
(meta name="'content'" content="'EthanLiew.com - Sharing blogs of how-to, who-is, what-is and etc' /)
(meta name="'copyright'" content="'EthanLiew.com'")
(meta name="'Author'" content="'Ethan")
(meta name="'GOOGLEBOT'" content="'INDEX,")
(meta name="'Date'" content="'2008-01-01'")
(meta equiv="'Content-Type'" content="'text/html;" charset="utf-8'")
(meta equiv="'Content-Language'" content="'English'")
(meta name="'verify-v1'" content="'your-websiet-key-here'")
(title)EthanLiew.com(/title)

You can visit http://www.google.com/webmasters/ ( Google Webmasters )
and get add your website visible from Google BOT
Here the Tag look like, add it to your meta tag!

(meta name="'verify-v1'" content="'your-websiet-key-here'")

Hope those meta tags helps on SEO performance!

Jan 9, 2008

Xampp With Custom Port Setup

Usually IIS will occupied port 80 for those ASP.NET developer or some other reason, other application had grab over the port e.g: Skype.

In this case, we might need to use different port for Apache web server.
Recommend to port 88, 8088, 8888 and so on ( 8 looks and feel goods for me )

What changes need to be done?

1. Get your httpd.conf, usually located inside apache installation and inner conf folder.

Example of my httpd.conf location and I am planning to use 8088 as my custom port:
C:\xampplite\apache\conf\httpd.conf

2. Change the default Listen 80 to your custom port
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
#
#Listen 12.34.56.78:80
Listen 8088

3. Change Server Name with the correct port too.
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:8088

4. Restart Apache server and you can browser with http://localhost:8088/


Incase you have problem to check your port, you can always run this application bundle with XAMPP named: xampp-portcheck.exe

It will shown you which port are occupied by which programs.


In case your 443 port being use by IIS and you are not using SSL on IIS.
You can try to stop your IIS and start Apache before IIS.
Hope this help.


Recomended Reading

NoMao - The Place To Bee




http://www.nomao.com

NoMao, a new name of online map application.

It applied Google Maps API ( I think so ) and really friendly to use.

It allows us to 'bee' on a spot on the earth and share your locations to your friend or placed the widget on your blog.

I would like to say the GUI is really attracting me with all those fancy AJAX technology!!

Let's try somethings!


Figure 1: Click sign up and search for a spot or to add a new spot.


Figure 2: Cute GUI to guide you!


Figure 3: You got your spot added and you can get the widget code and post on your blog!

My Two Cents
I use to play with Google Earth and Google Maps, so far so good, hope there are more information added to our local Google Maps.(currently don't have traffic info and detailed descriptions)

You can take this opportunity to post your business spot or to memories some special places that you want to mark it down. Probably your first dating place? Well, enjoy the technology!
=)

Recommended Reading

Xampp With Multiple Sub Domain Setup

Let's say my IIS occupied port 80, and my XAMPP or XAMPPLITE on port 8088.
Assume that htdoc directory configure on C:/xampplite/htdocs/

Note:
email in the vhost has to be valid settings.
we might not need the error log or custom log in the vhost settings.

REPLACE all ( to < and ) to > Due To Blogger not allow those tags!

1.C:\WINDOWS\system32\drivers\etc\hosts
127.0.0.1 mysubdomain2.test.com
127.0.0.1 mysubdomain3.test.com

This is for development settings, in actual, you can set this on your domain manager tools.


2. extra\httpd-vhosts.conf

#yeeling added
NameVirtualHost *:8088

#yeeling added
(virtualhost)
ServerName mysubdomain2.test.com
ServerAlias mysubdomain2.test.com
DocumentRoot "C:/xampplite/htdocs/webApp2"
ServerAdmin info@ethanliew.com
(/virtualhost)

#yeeling added
(virtualhost)
ServerName mysubdomain3.test.com
ServerAlias mysubdomain3.test.com
DocumentRoot "C:/xampplite/htdocs/webApp3"
ServerAdmin info@ethanliew.com
(/virtualhost)


3. extra\httpd-userdir.conf

#yeeling added
(Directory "C:/xampplite/htdocs/webApp2"
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
(/directory)

#yeeling added
(Directory "C:/xampplite/htdocs/webApp3"
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
(/directory)

4. Browse with Firefox:
http://mysubdomain2.test.com:8088/ goes to webApp2
http://mysubdomain3.test.com:8088/ goes to webApp3

Thanks to my good friend, yeesiang.com (sound likes my brother ) =)
Apache, and XAMPP !!