Forum Moderators: open

Message Too Old, No Replies

Will Google recognize my Javascript link?

...if people include my javascript.js file on their website

         

erwig

10:11 pm on Nov 27, 2003 (gmt 0)

10+ Year Member



I want to provide content to other people's websites by means of a javascript.js file that will be hosted on my server. If I include a link to my homepage in this file, will Google recognize it as a link to my homepage. If yes, will it consider it a link from the site that uses my .js file or as a link from my own site. Is there anything I have to watch out for?

axelm

2:50 pm on Nov 28, 2003 (gmt 0)

10+ Year Member



Since this is a Javascript link, google will not recognize/see it.

If google should see the link you must make a server Side include. Javascript is rendered/included on client/Browser side.

Read the Google FAQ
[webmasterworld.com...]

mbauser2

5:02 am on Nov 29, 2003 (gmt 0)

10+ Year Member



Bad advice. He can't make a server-side include appear on somebodey else's website.

Take whatever's being done in Javascript and do it half in Javascript -- put the "needs to be up to date" stuff in the Javascript, but include a "courtesy of example.com" link in regular text. That way, Google reads it, and readers see it even if they're not running Javascript.

An example of how it do it here [beerdates.com]. Only one line in each paragraph is actually javascripted.

Alternately, include a NOSCRIPT element that contains a link to your sight.