[Javascript] How can search engines see a js include for navi gation?

josh at urbicon.com josh at urbicon.com
Fri Mar 22 10:24:24 CST 2002


Hi Bob,

Right, i can do that but that's what I want to avoid. If do that then I've
lost the advantage of an include because I still have to write out the nav
stuff for every page. And, if I change the nav code in the include (and the
site structure), the nav code in every<noscript> will then break. what to
do??

- josh


on 22-03-02 17.14, Filipiak, Bob (Contractor) at filipiab at atsc.army.mil
wrote:

Duplicate your navigation inside <NOSCRIPT></NOSCRIPT> at the bottom of your
include.js file. Then every page that includes it will also have the
<NOSCRIPT></NOSCRIPT>
 


Bob Filipiak 
(Contractor)  
Microsoft® 
  C E R T I F I E D
     Professional 
-----Original Message-----
From: josh at umwow.com [mailto:josh at umwow.com]
Sent: Friday, March 22, 2002 11:06 AM
To: javascript at latech.edu
Subject: [Javascript] How can search engines see a js include for
navigation?

Hello,

New to the list. My first post. Hi.

I'm building a site where I would like to use an include for my navigation.
I know how to do it but read about a caveat on this page:

http://javascript.about.com/library/weekly/aa102901a.htm

"Caveats

There are a couple of potential downsides to using this technique.  First,
search engines do not process JavaScript, so any content written by your
scripts will not be indexed by a search engine.  This can be a problem if
you are using the include file as your main way of providing site
navigation.  Unless you provide another way for the search engine to see
your links, such as using the <noscript> tag, the search engine will not
follow your JavaScript generated links to subsequent pages."

Using the <noscript> tag seems to defeat the purpose of an include because
you'd have to put it on every page. So, how can I put my navigation in an
include that is still searchable? Another way in Javascript? SSI?

Links to resources for the solution are appreciated.

- Josh Draper 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20020322/e7bee810/attachment.htm>


More information about the Javascript mailing list