Is javascript spiderable?

Discussion in 'Site & Server Administration' started by Sovereign6, Sep 13, 2005.

  1. #1
    Hi all

    Setting up a site and looking to use js for header and content text rotation.

    The js will cause a new header in htm to open on the page.

    Will google spider read this and how will it effect SEO?

    Cheers
     
    Sovereign6, Sep 13, 2005 IP
  2. INV

    INV Peon

    Messages:
    1,686
    Likes Received:
    101
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I dont think google will be able to proccess the Javascript and therefore wont read it.
     
    INV, Sep 13, 2005 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well, Google is actually one of the few who can, if not the only one. As long as it;s simple enough javascript (no encrypted stuff, eval's etc.) it should be OK but you are making it more complex than probably necessary. Why not use shtml ssi includes or PHP includes instead? With js you are probably giving yourself troubles in the smaller engines who aren;t as advanced as Google is.
     
    T0PS3O, Sep 13, 2005 IP
  4. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Type `keyword` filetype:js in Google and you will see some examples of what google can crawl.
     
    crazyhorse, Sep 13, 2005 IP
  5. angelfire

    angelfire Peon

    Messages:
    1,638
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It is crawled but I think it is not a good idea.
     
    angelfire, Sep 13, 2005 IP
  6. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i've done a test on this before and yes, if the javascript contains a simple url, the url is spidered by google...

    e.g. you put a url in the javascript to a php file that logs all the ip addresses of all visitors to a text file or a mysql database, you'll find google spiders' addresses in there.
     
    daboss, Sep 13, 2005 IP
  7. Janissary

    Janissary Well-Known Member

    Messages:
    375
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    140
    #7
    google crawls my altarnete ad url in adsense ad code

    so the answer can be yes!
     
    Janissary, Sep 13, 2005 IP
  8. king_cobra

    king_cobra Peon

    Messages:
    373
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #8
    yes it sure can. it can even crawl URL texts with out any links. the crawler is not a silly 50 line code. what ever the web can think of google people think it before us. they have the best engineers with them, skilled and acaedemically better than even the microsoft engineers.
     
    king_cobra, Sep 13, 2005 IP
  9. Kim Steinhaug

    Kim Steinhaug Peon

    Messages:
    22
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Well, in my experience google is not indexing .js files even if it may seem so. However, is your webserver are serving the files with wrong content-type it gets indexed. Serving .js files as HTML files will get them indexed as an example.
     
    Kim Steinhaug, Sep 13, 2005 IP
  10. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #10
    digitalpoint, Sep 13, 2005 IP