Friday, April 29, 2011

Nokia 2710 review

I've just got my new Nokia 2710 navigation edition, here's the look of it:

It is a fair nice phone for for a very low price.

And it is got integrated GPS that works quite well.
The GPS maps can be updated for free and the GPS feature is free for life! You just got to sign in for an OVI account and install the sotfware, you can install maps for almost every country in the world.

The screen is very clear and sharp.
It has a 2M camera for photos and videos.
The memory can be extended through a Micro SD card.
I've upgraded to a faster Micro SD card and the GPS maps load quite fast!
In general when you upgrade the Micro SD card if you get a good fast one, everything in the phone will work faster too!
Photo and video quality are acceptable, but not the greatest, and one of the greatest things for me is the standard 3.5mm jack, so you can directly plug in your favourite stereo headsets, and the standard micro USB to connect it to your PC.
The battery stands for days.. this feature alogn with the worldwide GPS makes the Nokia 2710 a fantastic phone for travellers!

I've just found a little problem: the speaker volume is very low. This can be a real drawback, if someone calls you and you're on a loud street you wont hear anything.
I've just solved the low volume problem with the Equalizator program by settings the sound more high pitched, and also by activating the extended stereo feature.
When setting the Equalizer it works very well by setting all the high and low pitched sound values to their maximum the equalizer parameters should look like a V, and so the speaker volume is really increased.

Sunday, April 24, 2011

htaccess SEO

I'm going to show you some good htaccess SEO tricks in this post.
If you really want to get some good Page Rank then all the crawl errors that you see in te Google Webmaster Tools should be corrected.
Most of these errors are 404 (Not found) errors, meaning that there are link to pages in your site that doesn't exist anymore, maybe because the url changed or they were deleted.

With these htaccess SEO tricks you can easily correct some errors and improve SEO on your website

  1. # Eliminate the /folder-name from directory from url
      RedirectMatch 301 /folder-name/ http://www.my-site.com/
     
  2. # Rename the /old-name directory to new-name
      RewriteRule ^old-name/(.*)$ /new-name/$1 [R=301,L]

  3. Feedburner redirect
    RewriteCond %{HTTP_USER_AGENT} !FeedBurner.*
    RewriteRule ^rss.xml$ http://feeds.feedburner.com/MySite [R=temp,L]

  4. Setting preferred domain with starting with www
    RewriteCond %{HTTP_HOST} ^
    mydomain\.com$ [NC]
    RewriteRule ^(.*)$ http://www.
    mydomain.com/$1 [L,R=301]

  5. Redirect to new domain
    RewriteCond
    %{HTTP_HOST} ^([^.:]+\.)*oldwebsite\.com\.?(:[0-9]*)?$ [NC]
    RewriteRule
    ^/(.*)$ http://www.mynewwebsite.com/$1 [R=301,L]
     
  6. Redirect one single page (with no extension):
    RewriteRule ^my-old-page$ http://www.mysite.com/my-new-page [R=301,L]
  7. Url rewriting: Rewriting yoursite.com/article.php?article_id=abc to yoursite.com/abc
    RewriteRule ^([a-zA-Z0-9_-]+)$ article.php?n=$1
    RewriteRule ^([a-zA-Z0-9_-]+)/$ article.php?n=$1


    (Don't forget to make a backup of your old htaccess file fisrt, just in case)

Monday, April 11, 2011

Google Analytics stats for pdf download

Did you ever wondered how to track the number of times a pdf file is downloaded from your web site using Google Analytics?

This javasript code snippet will do it for you.

This javascript code snippet will allow you to follow up the number of downloads for a pdf file.
It is JQuery based, so you must have the JQuery library included to call up this function.
The function is triggered each time some one clicks on your link to donwload the pdf file.

How to do it

1. In your link tag insert the class="pdf" attribute
<a href="http://www.blogger.com/download/file.pdf" class="pdf">


2. Copy/Paste this function in your HTML or javascript source code file

$(function(){
$('a.pdf').click(function(){
// alert("Yu've clicked on a pdf file");
var documentName = $(this).attr("href");
_gaq.push(['_trackEvent','Download','PDF',documentName]);
});


3. It will track on the event 'Download' automatically.


The class="pdf" attribute in the href tag is very important as it makes the function work

That's it!

Monday, April 4, 2011

Add Google Analytics code to Blogger templates

It is a very good idea to have detailed stats from your site visits, you probably know Google Analytics, you can track visitors by country and many more criteria it is a fantastic stats tool.


With Blogger you don't need to do any site verification to insert the Google Analytics code, you just need to be connected with your gmail credentials


With the old blogger template:

1. Grab your analytics code (copy)
2. On Blogger click on the Layout tab and choose HTML
3. Copy the Analitics code before the ending body tag


With the new blogger templates (blogger in draft)

1. Copy the Analytics tracking code
2. On Blogger, go to the Layouts > Page Elements tab and click one of the "Add a Gadget" links
3. Choose "HTML / JavaScript"
4. Paste the Analytics tracking code into the text area
5. Save (window will close)
6. On Layouts > Page Elements, drag the new HTML / JavaScript gadget into your blog's footer. You'll want it to be the last gadget on the page.



That's it