Google reading javascript

Discussion in 'Google' started by Rasputin, Nov 12, 2006.

  1. #1
    I have searched for this but threads seem to be very old so I wanted to check the up-to-date position.

    Question is, to what extent google look at javascript.

    Specifically, I have added google maps to a site, that uses a large number of place markers. Hence I have a lot of pages where there are perhaps 500 lines of code identical to many files, within javascript.
    See http://www.francethisway.com/mbv-monpazier.php as example.

    I want to avoid duplicate content penalties.

    Should I worry? Or is there a command I can add at the beginning and end of the script explicitly telling googlebot to ignore the section?
     
    Rasputin, Nov 12, 2006 IP
  2. 2003m2003

    2003m2003 Well-Known Member

    Messages:
    863
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    138
    #2
    2003m2003, Nov 12, 2006 IP
  3. kh7

    kh7 Peon

    Messages:
    2,715
    Likes Received:
    109
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If the only thing that's duplicate is the javascript-code, you don't have to worry. I do hope that you have navigation-links outside your javascript though - otherwise you are effectively saying to google: don't index these pages please!
     
    kh7, Nov 12, 2006 IP
  4. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
    #4
    if you use to create link , it may read . but you must use <a href="javascript ...

    if you use like this format , it's possible
     
    trichnosis, Nov 12, 2006 IP
  5. Rasputin

    Rasputin Peon

    Messages:
    1,511
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks, very useful to have it confirmed.

    No problem with links by the way - all pages are accessed by 'normal' text links as well.

    Cheers
     
    Rasputin, Nov 12, 2006 IP