Go Back   Webmaster Forums UK SEO SEM Webmaster Community Forum - UKWW > Website Traffic and Marketing > General Search Engine Discussions
Register FAQ Members List Downloads Calendar Today's Posts Webmaster Resources Webmaster Blogs
 
 

General Search Engine Discussions Help, support, tips with high ranking in Google, Yahoo, MSN Live. Advice tutorial and help with better listing in Google.
Sub Forums: Google Forum:: SE Optimisation :: SEO Contest:: Internet Marketing :: Social Media:: Link Development

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-15-2008, 01:57 PM
Merras's Avatar
Junior Member
35 posts this year. i see smoke!
It looks like they have moved their luggage in.
 
Join Date: Jun 2008
Location: Budapest, Hungary
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default Client detection vs. search engine bots

Hi,

I would appreciate your opinion about my problem. One of my clients' site is indexed by Google, but I suspect, there is a problem with a client detection script on the main page.

At domain.tld there is no content, just a client detection script; this is the source code:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
    <title>Kliens vizsgĂĄlat</title>
    <meta name="keywords" content=""/>
    <meta name="verify-v1" content="iUtO6/DkWRuz93BO33Gk/l1PTyRNXi5hAdsLysKNR9o="/>
</head>
<body>
<div id="main" style="vertical-align:top;"><!--|start|main|--><!--|START BLOCK: detector|--><script type="text/javascript"> var resultContainer = ']'; </script><form id="cdform" name="cdform" method="post" action="/">
<input type="hidden" name="TARANTULA_SESSID" value="ZHH54bwgEJO9gvhRdzte4mmx" />
<input type="hidden" name="tpeci" value="]" />
</form>
<script type="text/javascript">

var flashTested = true;
var flashInstalled = 0;
var flashVersion = 0;
var visualBasicNeeded = "false";

if ((navigator.plugins) && (navigator.plugins.length))
{
    if (objRef = navigator.plugins["Shockwave Flash"])
    {
        flashInstalled = 2;
        if (objRef.description)
        {
            descString = objRef.description;
            flashVersion = descString.charAt(descString.indexOf('.') - 1);
        }
    }
    else
    {
        if (navigator.plugins["Shockwave Flash 2.0"])
        {
            flashInstalled = 2;
            flashVersion = 2;
        }
        else
        {
            flashInstalled = 1;
        }
    }
}
else 
{
    if ((navigator.mimeTypes) && (navigator.mimeTypes.length))
    {
        objRef = navigator.mimeTypes['application/x-shockwave-flash'];

        if ((objRef) && (objRef.enabledPlugin))
        {
            flashInstalled = 2;
        }
        else
        {
            flashInstalled = 1;
        }
    }
    else
    {
        visualBasicNeeded = "true";
    }
}

</script>

<script type="text/VBScript">

On Error Resume Next

If visualBasicNeeded = "true" Then
    For i = 2 To 9
        If Not (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & i))) Then
        Else
            flashInstalled = 2
            flashVersion = i
        End If
    Next
End If

If flashInstalled = 0 Then
    flashInstalled = 1
End If

</script>
<script type="text/javascript"> resultContainer = "[fv:" + flashVersion + resultContainer; </script>
<script type="text/javascript">

var browserTested = true;
var browserType;
var browserVersion;

detectBrowserType();
if ((browserType) && (!browserVersion))
{
    browserVersion = 'N/A';
}

function parseVersion(versionString)
{
    var start;
    var end;

    for (i = 0, versionNumber = ""; i < versionString.length; i++)
    {
        actualChar = versionString.charAt(i);
        if (((actualChar >= 0) && (actualChar <= 9)) || (actualChar == '.'))
        {
            versionNumber += actualChar;
        }
    }

    return versionNumber;
}

function detectBrowserType()
{
    agentString = navigator.userAgent.toLowerCase() + " ";

    browsers = new Array(    'Konqueror',
                'Internet Explorer',
                'Opera',
                'Netscape Navigator',
                'Netscape Navigator',
                'Mozilla'
            );

    objectsToCheck = new Array(    (document.all) && (!navigator.plugins.length),
                    (document.all) && (!navigator.plugins.length),
                    (document.getElementById) && (navigator.plugins.length),
                    (document.layers),
                    (document.getElementById) && (navigator.plugins.length),
                    (document.getElementById) && (navigator.plugins.length)
                );

    stringToSearch = new Array( 'konqueror',
                    'msie',
                    'opera',
                    'mozilla',
                    'netscape',
                    '; rv'
                );

    for(i = 0; i < browsers.length; i++)
    {
        if ((objectsToCheck[i]) && ((startPos = agentString.indexOf(stringToSearch[i])) > -1))
        {
            browserType = browsers[i];

            realStart = startPos + stringToSearch[i].length + 1;
            endPos = agentString.indexOf(" ", realStart);

            if (endPos > -1)
            {
                browserVersion = parseVersion(agentString.substring(realStart, endPos));
            }

            return;
        }
    }
}

resultContainer = "[bt:" + browserType + "[bv:" + browserVersion + resultContainer;

</script>
<script type="text/javascript">

var screenWidth;
var screenHeight;

screenWidth = (window.screen.width) ? window.screen.width : '-';
screenHeight = (window.screen.height) ? window.screen.height : '-';

resultContainer = "[sw:" + screenWidth + "[sh:" + screenHeight + resultContainer;

</script>
<script type="text/javascript">

var osType = 'N/A';

agentString = navigator.userAgent.toLowerCase() + " ";

osStringToSearch = new Array(    'win',
                                'mac',
                                'linux',
                                'x11'
                        );

osNames = new Array(    'Windows',
                        'MacOS',
                        'Linux',
                        'UNIX'
                );

for(i = 0; i < osStringToSearch.length; i++)
{
    if (agentString.indexOf(osStringToSearch[i]) > -1)
    {
        osType = osNames[i];
        break;
    }
}

resultContainer = "[ot:" + osType + resultContainer;

</script>
<script type="text/javascript"> 
window.onload = function()
{
    formObj = document.getElementById("cdform");
    formObj.tpeci.value = resultContainer;
    formObj.submit();
}
</script>
<!--|END BLOCK: detector|--><!--|end|main|--></div>
</body>
</html>
What do you think, is it causes problems to the rankings?
__________________
Flectere si nequeo superos, acheronta movebo!

Sci-fi news @ SEO news
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 07-15-2008, 02:49 PM
Bagi Zoltán's Avatar
Boss Cart consultant
1115 posts this year. Platinum VIP!
Trusted Member - This user is a Master!
Last months UKWW Tokens: 8
 
Join Date: Feb 2007
Location: Veszprém, Hungary
Posts: 1,600
Thanks: 4
Thanked 49 Times in 13 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

Merras, considering the fact that usually the most of the incoming backlinks are pointing to the main page of a given website, hence this strongest part of the website left unutilized, i think yes, it is not a very good solution. Otherwise don't see any link to inner content, do you make it index by deeplinks?
Merras, what is this script use for? Is the content displayed differently for the clients or what is its aim?
__________________
Time may come when you will need a shopping cart
digitális mérleg keresőoptimalizálás
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 07-15-2008, 03:09 PM
Merras's Avatar
Junior Member
35 posts this year. i see smoke!
It looks like they have moved their luggage in.
 
Join Date: Jun 2008
Location: Budapest, Hungary
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Default

I think, the main purpose of the script is to handle the problem of different browsers.

If you start a domain.tld query in Google, you find the site at the first position, with 6 sitelinks, with correct meta description and title - so, somehow Google could index the main page, and the most of the contents. (site:domain.tld query shows 185000 pages.)

But, you can find this client detection on every content pages, not just the main page, and the contents are not ranking very well.

So, the site is indexed, but I suspect, something is not going well, and maybe this client detection is one of the problems.
__________________
Flectere si nequeo superos, acheronta movebo!

Sci-fi news @ SEO news
Digg this Post!Add Post to del.icio.usStumble this Post!Wong this Post!
Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Webmaster Resources
UK WW SEO Tools
Find UK Hosts
 
The Forum Rules
Forum Rules - MUST READ
 
Site Of the Month
BizzFace
Nominate site of the month
 
Tag Cloud
0bones ad agency backlinks beauty bid directory brand handbag brand new cash christian dior purse clothes content for sale contest directories directory dooney and bourke purse exchange faric handbag fendi purse free free directories gambling giveaway go kart graphic desingning guaranteed listing handbags high replica internet directories jewelry juicy couture purse link link development link leaders link popularity links link sales louis vuitton purse marc jacobs purse mortgage page rank pet picture of the day poker post request seobowl social sunglasses themes today in history versace purse wallets web desinging web hosting web space wordpress wordpress themes writer

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:10 PM.

UK Webmaster World Forums - Internet marketing, web development, domain names, SEO contest and discussuons.
Subscribe to our feeds   Subscribe to our feeds

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0